There was an error while loading. Please reload this page.
1 parent eac6526 commit e416d32Copy full SHA for e416d32
.vscode/settings.json
@@ -0,0 +1,3 @@
1
+{
2
+ "python.defaultInterpreterPath": ".\/.venv\/Scripts\/python.exe"
3
+}
main.py
@@ -27,6 +27,7 @@
27
while True:
28
containers = docker_client.containers.list(
29
filters = {
30
+ "status": "running",
31
"label": settings.LABEL_PREFIX + "enable=true"
32
}
33
)
@@ -54,7 +55,7 @@
54
55
logging.debug("Compressing backup")
56
57
if database.type == DatabaseType.unknown:
- logging.info("Cannot read database type. Please specify via label.")
58
+ logging.error("FAILED: Cannot read database type. Please specify via label.")
59
60
network.connect(container, aliases = ["database-backup-target"])
61
outFile = "/dump/{}.sql".format(container.name)
0 commit comments