diff --git a/fixbackup/backup/postgresql.py b/fixbackup/backup/postgresql.py index 6d9e30d..323ff51 100644 --- a/fixbackup/backup/postgresql.py +++ b/fixbackup/backup/postgresql.py @@ -66,6 +66,7 @@ def backup(args: Namespace, backup_file_path: Path, timeout: int = 900, compress command = [ "pg_dump", "-w", + "-c", "--if-exists", "--inserts", "-h",