Re: dump vs dumpall

From: Partyka Robert <bobson(at)saturn(dot)alpha(dot)pl>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Darrin Ladd <dladd(at)newfoundcomm(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: dump vs dumpall
Date: 2000-10-16 18:55:38
Message-ID: Pine.LNX.4.21.0010162053390.3875-100000@saturn.alpha.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 16 Oct 2000, Peter Eisentraut wrote:

> Darrin Ladd writes:
>
> > I am in the process of moving my postgres dbs from an Alpha to a Pentium box
> > and I can't seem to get pg_dumpall to work. I have password authentication
> > enabled and am using the -u option on pg_dumpall, but it never actually asks
> > me for a userid or password, it just writes out that the password
> > authentication on postgres failed.
>
> pg_dumpall doesn't work very well at all with password authentication.
> You might be better off temporarily using some other mechanism. (E.g.,
> use the Unix socket with "trust", but change the permissions on the socket
> itself.)

Try to do it this way:
$ export PGUSER=username
$ export PGPASSWORD=password
$ pg_dumpall > filename

Regards
Robert "BoBsoN" Partyka

BTW... Hello to all on the list ;)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ned Lilly 2000-10-16 18:58:13 Oracle9i—Is it more fluff than stuff?
Previous Message Peter Eisentraut 2000-10-16 18:45:24 Re: dump vs dumpall