-
-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Milestone
Description
I use PostgreSQL 9.5 and use md5 authentication
I set my system User ID and password on DBBACKUP_CONNECTORS settings.
DBBACKUP_CONNECTORS = {
'default': {
'USER': 'rightx2',
'PASSWORD': 'MY_SYSTEM_PASSWD',
}
}
Whenever I execute command, python manage.py dbbackup, it occurred errors:
dbbackup.db.exceptions.CommandConnectorError: Error running: pg_dump super_trading --host=localhost --port=5432 --username=rightx2 --no-password --clean
b'pg_dump: [archiver (db)] connection to database "super_trading" failed: FATAL: password authentication failed for user "rightx2"\nFATAL: password authentication failed for user "rightx2"\n'
I wonder what I should put on USER and PASSWORD in DBBACKUP_CONNECTORS