root: upgrade django-dbbackup

This commit is contained in:
Jens Langhammer 2020-05-16 14:54:18 +02:00
parent b23afcfc3b
commit 2ce31dfaa5
2 changed files with 4 additions and 4 deletions

4
Pipfile.lock generated
View File

@ -185,10 +185,10 @@
}, },
"django-dbbackup": { "django-dbbackup": {
"hashes": [ "hashes": [
"sha256:9470e5d8bdaee4feb878b1b66c59eb9b27a131cccd648bf7cbfe70930acd4fc0" "sha256:bb109735cae98b64ad084e5b461b7aca2d7b39992f10c9ed9435e3ebb6fb76c8"
], ],
"index": "pypi", "index": "pypi",
"version": "==3.2.0" "version": "==3.3.0"
}, },
"django-filter": { "django-filter": {
"hashes": [ "hashes": [

View File

@ -248,8 +248,8 @@ CELERY_RESULT_BACKEND = (
if CONFIG.y("postgresql.backup"): if CONFIG.y("postgresql.backup"):
INSTALLED_APPS += ["dbbackup"] INSTALLED_APPS += ["dbbackup"]
DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage" DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
DBBACKUP_CONNECTORS = { DBBACKUP_CONNECTOR_MAPPING = {
"default": {"CONNECTOR": "dbbackup.db.postgresql.PgDumpConnector"} "django_prometheus.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector"
} }
AWS_ACCESS_KEY_ID = CONFIG.y("postgresql.backup.access_key") AWS_ACCESS_KEY_ID = CONFIG.y("postgresql.backup.access_key")
AWS_SECRET_ACCESS_KEY = CONFIG.y("postgresql.backup.secret_key") AWS_SECRET_ACCESS_KEY = CONFIG.y("postgresql.backup.secret_key")