mirror of
https://kolaente.dev/konrad/docker-db-backup.git
synced 2026-01-10 02:50:08 +01:00
feat: add backup compression
This commit is contained in:
@@ -26,5 +26,5 @@ func (d *PostgresDumper) Dump(c *client.Client) error {
|
||||
user = u
|
||||
}
|
||||
|
||||
return runAndSaveCommandInContainer(getDumpFilename(d.Container.Name), c, d.Container, "pg_dumpall", "-U", user)
|
||||
return runAndSaveCommandInContainer(c, d.Container, "pg_dumpall", "-U", user)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user