Re: Restore and Backup PG8.4 tp 9.4 - Mailing list pgsql-admin

From Jan-Peter Seifert
Subject Re: Restore and Backup PG8.4 tp 9.4
Date
Msg-id 55D1F3B0.4030003@gmx.de
Whole thread Raw
In response to Restore and Backup PG8.4 tp 9.4  (Mohamed MANSOUR <med.mnsour@gmail.com>)
Responses Re: Restore and Backup PG8.4 tp 9.4
List pgsql-admin
Hello,

Am 17.08.2015 um 10:42 schrieb Mohamed MANSOUR:

> i try to import this backup in my new server pg 9.4 with this command
>
> |*pg_restore -i -h localhost -p 5432-U postgres -d **myDb**-v
> "10.70.0.61.backup"*|
>
> the backup worked fine but in restoring i get this error !
>
> *pg_restore: connecting to database for restore*
> *pg_restore: [archiver (db)] connection to database "**myDb**" failed:
> FATAL:  Ident authentication failed for user "postgres"*
> *pg_restore: *** aborted because of error*

I guess you have to use sudo:
http://wiki.ubuntuusers.de/postgresql

Regards,

Peter


pgsql-admin by date:

Previous
From: Ville Rantamaula
Date:
Subject: Re: Restore and Backup PG8.4 tp 9.4
Next
From: Mohamed MANSOUR
Date:
Subject: Re: Restore and Backup PG8.4 tp 9.4