3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-09 12:40:07 +01:00
This commit is contained in:
kolaente
2021-08-18 22:06:10 +02:00
parent a1d8b4e334
commit 1bc3fc85ab

View File

@@ -43,7 +43,7 @@ func (d *PostgresDumper) Dump() error {
connStr := fmt.Sprintf("postgresql://%s:%s@%s:%s/%s", user, pw, host, port, db)
// TODO: Check postgres image version and use the correct pg_dump
// TODO: Check postgres image version and use the correct pg_dump --> Test!
return runAndSaveCommand(getDumpFilename(d.Container.Name), "pg_dump", "--dbname", connStr)
}