Skip to content
Snippets Groups Projects
Verified Commit 2ae48fad authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix connector mapping for dbbackup to support django-prometheus

parent bd210f05
No related branches found
Tags 2.1.dev0
1 merge request!399Resolve "Fix connector mapping for dbbackup after prometheus installation"
Pipeline #4625 passed
......@@ -416,6 +416,9 @@ DBBACKUP_COMPRESS_MEDIA = _settings.get("backup.media.compress", True)
DBBACKUP_ENCRYPT_MEDIA = _settings.get("backup.media.encrypt", DBBACKUP_GPG_RECIPIENT is not None)
DBBACKUP_CLEANUP_DB = _settings.get("backup.database.clean", True)
DBBACKUP_CLEANUP_MEDIA = _settings.get("backup.media.clean", True)
DBBACKUP_CONNECTOR_MAPPING = {
"django_prometheus.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector",
}
IMPERSONATE = {"USE_HTTP_REFERER": True, "REQUIRE_SUPERUSER": True, "ALLOW_SUPERUSER": True}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment