How to get a RAW SQL file using postgresql ? #572
-
Hi, I am doing a postgresql backup on linux and I get a binary file. To restore it we need to use pg_restore. In the documentation it is written :
In the documentation it is written :
My database configuration is May be the documentation should be updated to say that
Which is probably the right thing: Or ....? Should I add
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to set this configuration in DBBACKUP_CONNECTOR_MAPPING = {
"django.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector",
} |
Beta Was this translation helpful? Give feedback.
You need to set this configuration in
settings.py
to override the default config of dbbackup :