dbTalk Databases Forums  

[BUGS] BUG #1503: pg_restore cannot restore a backup

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1503: pg_restore cannot restore a backup in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yavuz
 
Posts: n/a

Default [BUGS] BUG #1503: pg_restore cannot restore a backup - 02-22-2005 , 11:49 PM







The following bug has been logged online:

Bug reference: 1503
Logged by: Yavuz
Email address: stern_ix (AT) yahoo (DOT) com
PostgreSQL version: 8.0.1
Operating system: windows 2000 sp4
Description: pg_restore cannot restore a backup
Details:

firstly i try a backup on Fedore Linux core2 with 8.0.1
pg_dump -f backup.tar -Ft -U postgres mydb
and and restore it with
createdb mydb2 -U postgres
pg_restore -d mydb2 backup.tar -U postgres

it works very fine
and i try this commands on win2000 service pack4 with postgresql 8.0.1
pg_dump -f backup.tar -Ft -U postgres mydb
works well and i can see the listing with
pg_restore -l backup.tar
and a create a database to restore with
createdb mydb2 -U postgres
its ok
but when i try
pg_restore -d mydb2 backup.tar -U postgres

i have an error like
"pg_restore:[archiver(db)] connection to database "mydb2" failed:
FATAL : password authentication failed for user "postgres""

i check my password on psql , pg_dump and other programs there is no problem

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.