Re: doing backups - Mailing list pgsql-general

From Jeff MacDonald
Subject Re: doing backups
Date
Msg-id Pine.BSF.4.10.10004031613330.29180-100000@rage.hub.org
Whole thread Raw
In response to Re: doing backups  ("Moray McConnachie" <moray.mcconnachie@computing-services.oxford.ac.uk>)
Responses Re: doing backups  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
that's true but that still assumes you know the pasword.

also someone mentioned that you can just su to any account,
well that's true but it still doesn't negate teh fact that the
user has a passwd on thier database. as i said, i think
the postgres user should have acess to all databases no matter
what.

jeff

On Mon, 3 Apr 2000, Moray McConnachie wrote:

>
> >> Now if you make pgsql user and postgresql analgous to
> >> root and unix, the postgres user shouldn't need a passwd.
>
> >My root users always have passwords. *shrug* But you're right, automated
> >backup on password protected databases is next to impossible right now,
> >especially when using pg_dump. If those users want to enable you to do
> >backups for them perhaps they should give you (and only you) some sort of
> >ident controlled access.
>
> I missed the first half of this, but, if I have understood correctly, I
> don't think this is the case: you can do automated backups by doing
>
> echo -e 'username\npassword\n' | pg_dump -u databasename
>
>
>
> Yours,
> Moray
>
>
>
>

Jeff MacDonald
jeff@pgsql.com


pgsql-general by date:

Previous
From: "Moray McConnachie"
Date:
Subject: Re: Re: ODBC Interface questions
Next
From: "Glerum, Joe - KyEM"
Date:
Subject: PG_VERSION Errors???