Hi Team,
I'm trying to taking dump of all users but I'm facing below error.
I'm using below command for roles backup
command:
pg_dumpall -h <hostname> -p 5432 -U postgres\ --roles-only -f D:\RDS_roles\role.sql
Error:
pg_dumpall: error: could not connect to database "template1": FATAL: password authentication failed for user "postgres\"
FATAL: password authentication failed for user "postgres\"
FATAL: password authentication failed for user "postgres\"
Regards,
vihari