Skip to content

Which is USERNAME and PASSWORD should I put no DBBACKUP_CONNECTORS? #282

@rightx2

Description

@rightx2

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions