3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-10 02:50:08 +01:00

feat: move running the actual dump command to the db container

This commit is contained in:
kolaente
2021-12-05 12:39:23 +01:00
parent c5f0b46e77
commit 2e58388a0b
7 changed files with 52 additions and 67 deletions

View File

@@ -19,7 +19,7 @@ func main() {
storeContainers(c, containers)
err = dumpAllDatabases()
err = dumpAllDatabases(c)
if err != nil {
// TODO: Only log errors while dumping dbs
log.Fatalf("Could not dump databases: %s", err)