Unable to restore compressed file.

Поиск
Список
Период
Сортировка
От Tan Chen Yee
Тема Unable to restore compressed file.
Дата
Msg-id 20051208032402.EF65B9DCB0A@postgresql.org
обсуждение исходный текст
Ответы Re: Unable to restore compressed file.  (Guido Barosio <gbarosio@gmail.com>)
Список pgsql-admin

I used pg_dump -u -F c -f E:\Temp\Test.tar.gz TestDB to backup. Then, I dropped and recreated TestDB.

However, I failed to restore with this command pg_restore -u -F c -d TestDB E:\Temp\Test.tar.gz.

 

Here is what I got :

 

pg_restore: [archiver (db)] connection to database "TestDB" failed: FATAL:  password authentication failed for user "postgres"

 

I don’t understand why the password is invalid. I am sure I used that password to create backup as well.

 

How should I restore the gz file ?

 

Thanks !

 

Tan

В списке pgsql-admin по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: initdb fails
Следующее
От: Benjamin Arai
Дата:
Сообщение: Backing up views, functions