schon/evibes/settings/dbbackup.py
Egor fureunoir Gorbunov bf6b9f4424 Features: 1) Add backup_task to manage database and media backups; 2) Introduce periodic scheduling for backup_task via Celery Beat;
Fixes: 1) Apply `--omit` filter for test coverage reports to exclude unnecessary files; 2) Replace `services_data` volume mounts with named Docker volumes for consistency and cleanup (e.g., `postgres-data`, `redis-data`);

Extra: 1) Remove `services_data` from `.gitignore`, Docker-related cleanup in uninstall scripts; 2) Simplified related files removal scripts for Unix and Windows; 3) Minor adjustments in documentation comments.
2025-11-13 17:14:00 +03:00

10 lines
225 B
Python

DBBACKUP_CONNECTORS = {
"default": {
"SINGLE_TRANSACTION": False,
"IF_EXISTS": True,
"RESTORE_SUFFIX": "--set ON_ERROR_STOP=off",
}
}
DBBACKUP_CLEANUP_KEEP = 2
DBBACKUP_CLEANUP_KEEP_MEDIA = 2