Open roflmaostc opened 1 year ago
To complement. I confirm the problem. I have backup files from a system running the following: Django 3.2.9 django-dbbackup 3.3 backend database: postgres
The dump file generated by dbbackup are compressed text files *.psql.gz
The upgraded system running the following: Django==4.2.7 django-dbbackup==4.0.2
Without changes in the configuration, the dump files generated by dbbackup are now binary compressed files *.psql.bin.gz I can import the bin.gz files, but I'm unable to import the text dumps generated with the previous version.
The solution is given in #456, to set this configuration in settings.py to override the default config of dbbackup.
DBBACKUP_CONNECTOR_MAPPING = {
"django.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector",
}
Hi,
Since recently, the command
python manage.py dbrestore -I file.psql
does not work for me anymore.You got any idea or help how to fix this?
I'm using Linux and
psql (PostgreSQL) 15.2
andCC: @maxtechcode