From 52cf4890cfce53e2069cc5fa5db8e3a257a4f17b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 12 May 2021 17:53:23 +0200 Subject: [PATCH] root: remove servername from backup files Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 63314ab06..064516571 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -320,6 +320,7 @@ CELERY_RESULT_BACKEND = ( # Database backup DBBACKUP_STORAGE = "django.core.files.storage.FileSystemStorage" DBBACKUP_STORAGE_OPTIONS = {"location": "./backups" if DEBUG else "/backups"} +DBBACKUP_FILENAME_TEMPLATE = 'authentik-backup-{datetime}.sql' if CONFIG.y("postgresql.s3_backup"): DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage" DBBACKUP_STORAGE_OPTIONS = {