problems restoring database from plain text backup from psql

From: Oleg <evdakov(at)iwk(dot)uka(dot)de>
To: pgsql-novice(at)postgresql(dot)org
Subject: problems restoring database from plain text backup from psql
Date: 2005-12-20 14:22:35
Message-ID: 43A813AB.3010805@iwk.uka.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

One more thing to mention is that this database is PostGIS enabled. So I
had to remove all CREATE FUNCTION commands in the backup file.
In the mean time I tried to restore with psql:
psql mydb < mybackup.sql -U postgres
Unfortunately I have no possibility to enter my password
Somehow password is entered automatically and prompt jumps over the
place where password should be entered. I am getting:
"psql: FATAL: password authentication failed for user "postgres""
Best regards
Oleg

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2005-12-20 14:38:16 Re: problems restoring database from plain text backup from psql
Previous Message John DeSoi 2005-12-20 13:37:00 Re: Login problem