Re: Restore and Backup PG8.4 tp 9.4
От | Ville Rantamaula |
---|---|
Тема | Re: Restore and Backup PG8.4 tp 9.4 |
Дата | |
Msg-id | CAGf-6h_5rToTULjMrgL9xjPy7VAb-+yhazTiy+ntBQpJqND=1w@mail.gmail.com обсуждение исходный текст |
Ответ на | Restore and Backup PG8.4 tp 9.4 (Mohamed MANSOUR <med.mnsour@gmail.com>) |
Список | pgsql-admin |
Hi,
I'd guess you would have to first allow the user 'postgres' localhost access to your database 'myDb'.
Check the configuration file pg_hba.conf for access control, and you probably need to add a line there. In Ubuntu the file is probably located under the directorry /var/lib/postgresql/9.3/main/.
Yours,
Ville
2015-08-17 11:42 GMT+03:00 Mohamed MANSOUR <med.mnsour@gmail.com>:
hi ,i have been restoring my old server pg8.4 with this command in Ubuntu 15.04pg_dump -i -h localhost -p 5432 -U postgres -F c -b -v -f "10.70.0.61.backup" myDbi try to import this backup in my new server pg 9.4 with this commandpg_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 restorepg_restore: [archiver (db)] connection to database "myDb" failed: FATAL: Ident authentication failed for user "postgres"pg_restore: *** aborted because of errorwhat is the problem please ?--
В списке pgsql-admin по дате отправления: