Unable to restore compressed file.

From: "Tan Chen Yee" <tancy(at)gussmanntech(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Unable to restore compressed file.
Date: 2005-12-08 03:17:21
Message-ID: 20051208032402.EF65B9DCB0A@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Benjamin Arai 2005-12-08 06:53:37 Backing up views, functions
Previous Message Simon Riggs 2005-12-07 20:28:48 Re: initdb fails