mirror of
https://github.com/kolaente/docker-db-backup.git
synced 2026-03-25 05:53:48 +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