From be642bc874b428f502bcdbbc1df4d1d985734759 Mon Sep 17 00:00:00 2001 From: "Langhammer, Jens" Date: Tue, 19 Nov 2019 18:08:25 +0100 Subject: [PATCH] root(major): fix dbbackup not working with prometheus --- passbook/root/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/passbook/root/settings.py b/passbook/root/settings.py index 25b302dcc..07dda222a 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -248,7 +248,11 @@ CELERY_RESULT_BACKEND = (f"redis://:{CONFIG.y('redis.password')}@{CONFIG.y('redi if CONFIG.y('postgresql.backup'): INSTALLED_APPS += ['dbbackup'] DBBACKUP_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage' - + DBBACKUP_CONNECTORS = { + 'default': { + 'CONNECTOR': 'dbbackup.db.postgresql.PgDumpConnector' + } + } AWS_ACCESS_KEY_ID = CONFIG.y('postgresql.backup.access_key') AWS_SECRET_ACCESS_KEY = CONFIG.y('postgresql.backup.secret_key') AWS_STORAGE_BUCKET_NAME = CONFIG.y('postgresql.backup.bucket')