From: Laura Conrad <lconrad@laymusic.org>
To: pgsql-admin@postgresql.org
Subject: How to restore from pg_dumpall output
Date: 13 Feb 2003 09:02:30 -0500
Message-ID: <874r78uvm1.fsf@debian.laymusic.org> (raw)
I have a database that was built under a Mandrake 7.2 postgres
installation. I am now running Debian (woody) on that machine, with
postgresql 7.2.1.
I still have the data directory from the old installation, so I
started a postmaster on a non-standard port, with a -D pointing to
that directory, and as the postgres user did:
pg_dumpall -p 8050 >/tmp/db.sql
I then tried to restore (again as the postgres user), as documented in
the pg_dumpall man page:
psql -f /tmp/db.sql template1
It does a few things, and then says:
psql:/tmp/db.sql:16: \connect: FATAL 1: IDENT authentication
failed for user "bostonre"
I would have thought the postgres user would be able to restore stuff
for any user. What am I doing wrong?
--
Laura (mailto:lconrad@laymusic.org , http://www.laymusic.org/ )
(617) 661-8097 fax: (801) 365-6574
233 Broadway, Cambridge, MA 02139
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: lconrad@laymusic.org
Subject: Re: How to restore from pg_dumpall output
In-Reply-To: <874r78uvm1.fsf@debian.laymusic.org>
References: <874r78uvm1.fsf@debian.laymusic.org>
* 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