change backup service
This commit is contained in:
@@ -79,6 +79,8 @@ def create_backup() -> tuple[str, bytes]:
|
||||
config.DB_NAME,
|
||||
"--no-owner",
|
||||
"--no-acl",
|
||||
"--clean", # Add DROP commands before CREATE
|
||||
"--if-exists", # Use IF EXISTS with DROP commands
|
||||
"-F",
|
||||
"p", # plain SQL format
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user