From: | Mohamed MANSOUR <med(dot)mnsour(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Restore and Backup PG8.4 tp 9.4 |
Date: | 2015-08-17 08:42:52 |
Message-ID: | CAHOOdKWwdGyaQt6yf2f7n=RZN8TX+hUnDjkm0UuUN+n2pNrnoA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
hi ,
i have been restoring my old server pg8.4 with this command in Ubuntu 15.04
*pg_dump -i -h localhost -p 5432 -U postgres -F c -b -v -f
"10.70.0.61.backup" **myDb*
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*
what is the problem please ?
--
*Mohamed MANSOUR*
Eléve Ingenieur / Développeur .Net
( + 216 ) 52 958 794
From | Date | Subject | |
---|---|---|---|
Next Message | Ville Rantamaula | 2015-08-17 11:04:01 | Re: Restore and Backup PG8.4 tp 9.4 |
Previous Message | Nima Azizzadeh | 2015-08-16 12:06:29 | Two factor authentication role with password and USB Device for PostgreSQL server |