Re: doing backups

From: Jeff MacDonald <jeff(at)pgsql(dot)com>
To: Moray McConnachie <moray(dot)mcconnachie(at)computing-services(dot)oxford(dot)ac(dot)uk>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: doing backups
Date: 2000-04-03 19:14:52
Message-ID: Pine.BSF.4.10.10004031613330.29180-100000@rage.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pgsql(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Glerum, Joe - KyEM 2000-04-03 19:17:46 PG_VERSION Errors???
Previous Message Moray McConnachie 2000-04-03 19:10:30 Re: Re: ODBC Interface questions