root: keep last 30 backups
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		@ -383,6 +383,7 @@ DBBACKUP_CONNECTOR_MAPPING = {
 | 
			
		||||
    "django_prometheus.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector",
 | 
			
		||||
}
 | 
			
		||||
DBBACKUP_TMP_DIR = gettempdir() if DEBUG else "/tmp"  # nosec
 | 
			
		||||
DBBACKUP_CLEANUP_KEEP = 30
 | 
			
		||||
if CONFIG.y("postgresql.s3_backup.bucket", "") != "":
 | 
			
		||||
    DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
 | 
			
		||||
    DBBACKUP_STORAGE_OPTIONS = {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user