Unable to restore compressed file. - Mailing list pgsql-admin

From Tan Chen Yee
Subject Unable to restore compressed file.
Date
Msg-id 20051208032402.EF65B9DCB0A@postgresql.org
Whole thread Raw
Responses Re: Unable to restore compressed file.  (Guido Barosio <gbarosio@gmail.com>)
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: initdb fails
Next
From: Benjamin Arai
Date:
Subject: Backing up views, functions