From: gstasica@poczta.onet.pl
To: pgsql-admin@postgresql.org
Subject: Can't restore from pg_dump. Authentication failed
Date: 26 May 2004 04:08:33 -0700
Message-ID: <4b5a2964.0405260308.de9639d@posting.google.com> (raw)
Hi,
Frankly I don't know what should I do more. The problem is:
I've made a pg_dump from shell like that:
pg_dump -Upostgres -O -D -Fc --file=baza.sql
Copied the file to new server and from shell executed:
linux:~ # pg_restore -d ppr -U postgres -i baza.sql
The result is
pg_restore: [archiver (db)] connection to database "ppr" failed:
FATAL: IDENT authentication failed for user "postgres"
I don't know what is going on since I can login to ppr database like
that
(in shell)
su - postgres
psql -dppr
Could anybody help me.
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: gstasica@poczta.onet.pl
Subject: Re: Can't restore from pg_dump. Authentication failed
In-Reply-To: <4b5a2964.0405260308.de9639d@posting.google.com>
References: <4b5a2964.0405260308.de9639d@posting.google.com>
* 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