Re: trying to back up a database - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: trying to back up a database
Date
Msg-id Pine.LNX.4.30.0102021625310.923-100000@peter.localdomain
Whole thread Raw
In response to Re: trying to back up a database  (Adam Haberlach <adam@newsnipple.com>)
Responses Re: trying to back up a database  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-general
Adam Haberlach writes:

>     Sorry--I mean that when I type "pg_dumpall -h, it connects", but I guess
> that is because it is a simple script.

Nobody ever said that '-h' prints a help screen.

> > pg_dumpall must be run by postgres, it may well have problems if you
> > are running it as an unprivileged user.

Nope

> [adam@pinko docs]$ pg_dumpall valhalla -u -s > dbschema.sql
> Password: psql: Password authentication failed for user 'adam'
> Password: psql: Password authentication failed for user 'adam'
> Password: psql: Password authentication failed for user 'adam'
> Password: Password: psql: Password authentication failed for user 'adam'
> Connection to database 'valhalla' failed.
> fe_sendauth: no password supplied

Password authentication doesn't work with pg_dumpall.  Use something else.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: "Eric Nicolas"
Date:
Subject: CygIPC 1.08 Source Code : Where ?
Next
From: "Oliver Elphick"
Date:
Subject: Re: trying to back up a database