Thanks for your response. But now I am giving below error while restore the backup ./pg_restore -i -h localhost -p 5432 -U postgres --role postgres -d fleotan -W -v /backup/fleotanOne11.backup >& /backup/fleotanOne32_restore.log pg_restore: [archiver (db)] connection to database "fleotan" failed: FATAL: Ident authentication failed for user "postgres" pga_hba.conf have : # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only #local all all peer local all all trust # IPv4 local connections: host all all 127.0.0.1/32 md5 host all all 0.0.0.0/0 md5 # IPv6 local connections: host all all ::1/128 ident # Allow replication connections from localhost, by a user with the # replication privilege. #local replication postgres peer #host replication postgres 127.0.0.1/32 ident #host replication postgres ::1/128 ident Plz suggest Regards, Daulat From: Bob Strecansky [mailto:bob@xxxxxxxxxxxxx]
It appears our file permissions are too wide open (which correlated with the error message you shared in your previous email. Changing those to 700 should get you going in the correct direction. -B On Thu, Nov 23, 2017 at 23:23 Daulat Ram <Daulat.Ram@xxxxxxxxxx> wrote:
-- Thanks, |