RE: pg_dump Error in Windows

From: <soumik(dot)bhattacharjee(at)kpn(dot)com>
To: <shreeyansh2014(at)gmail(dot)com>
Cc: <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: RE: pg_dump Error in Windows
Date: 2019-03-21 11:53:28
Message-ID: 2A91BEF8171A5349931391E0C721CC5326FAF260@CPEMS-KPN301.KPNCNL.LOCAL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Shreeyansh,

In local and it’s a windows server, yes “testusr” is the local admin user and infact postgres is also installed using this “testusr”.

Thanks
Soumik

From: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
Sent: Thursday, March 21, 2019 12:45 PM
To: Bhattacharjee, Soumik <soumik(dot)bhattacharjee(at)kpn(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_dump Error in Windows

Hi Soumik,

Does your "testuser" have super user privilege..? User must have super user privileges to perform pg_dumpall.

Are you trying to perform backup from remote server or local...?

Thanks & Regards,
Shreeyansh DBA Team
www.shreeyansh.com<http://www.shreeyansh.com>

On Thu, Mar 21, 2019 at 3:46 PM <soumik(dot)bhattacharjee(at)kpn(dot)com<mailto:soumik(dot)bhattacharjee(at)kpn(dot)com>> wrote:
Hello All,

When I am trying to take backup using pg_dump.exe , it’s asking for password, when I provide the default password of “postgres” it never accepts and throws below error-

pg_dump: [archiver (db)] connection to database "test_database" failed: FATAL: Ident authentication failed for user "testusr"

Is there any changes I need to do in pg_hba.conf file?

Please suggest a solution.

Thanks
Soumik

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Holger Jakobs 2019-03-21 11:59:07 Re: pg_dump Error in Windows
Previous Message Shreeyansh Dba 2019-03-21 11:44:40 Re: pg_dump Error in Windows