From: Jeanna Geier <jgeier@apt-cafm.com>
To: pgsql-admin@postgresql.org
Subject: Issue With Restoring a Dump
Date: Fri, 25 Aug 2006 13:20:42 -0500
Message-ID: <007c01c6c873$2d793430$6700a8c0@geier> (raw)
Hi, I'm having a problem with restoring a dump that I executed and would
appreciate any assistance anyone could give me. I'm a newbie here, so
please bear with me.
I'm using Postgre 8.0 Version 1.2.1; I executed the dump using the following
command:
pg_dump -h localhost -U postgres -o dbName >
C:\Database_Backups\apt_dump_082506.dmp
I got prompted for the password and entered it and it created a file named
apt_dump_082506.dmp in my C:\Database_Backups directory.
I then created a new database to load the dump into from the template0:
createdb -U postgres -T template0 apt_dump_test
I got prompted for the password and entered it and it created the database
in Postgres.
Finally, when I try to restore the dump into this new database, I am not
getting prompted for the Password, it is simply throwing an error:
psql -U postgres apt_dump_test < C:\Database_Backups\apt_dump_082506.dmp
Password:
psql: FATAL: password authentication failed for user "postgres"
It is not giving me an opportunity to enter the password at all....
Thanks in advance for any help you can provide!
Jeanna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jgeier@apt-cafm.com
Subject: Re: Issue With Restoring a Dump
In-Reply-To: <007c01c6c873$2d793430$6700a8c0@geier>
References: <007c01c6c873$2d793430$6700a8c0@geier>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox