From: Bruno Wolff III <bruno@wolff.to>
To: Victor Sudakov <vas@mpeks.no-spam-here.tomsk.su>
Cc: pgsql-admin@postgresql.org
Subject: Re: automatic pg_dumpall
Date: Fri, 26 Mar 2004 14:47:17 -0600
Message-ID: <20040326204717.GE20194@wolff.to> (raw)
In-Reply-To: <c3tmns$2715$1@mpeks.tomsk.su>
References: <c3tmns$2715$1@mpeks.tomsk.su>
On Thu, Mar 25, 2004 at 04:21:16 +0000,
Victor Sudakov <vas@mpeks.no-spam-here.tomsk.su> wrote:
> Colleagues,
>
> If I have to organize an automatic nightly pg_dumpall, how do I handle
> authentication ? I do not want to create a passwordless superuser (or
> trust method in pg_hba.conf), and there is noone to enter the password
> manually. Is there another recipe?
Who do you trust? If you trust the system account that pg_dump is running
under (and if you don't you have problems) and pg_dump is being run on
the same machine as the postgres server, use a domain socket connection
and ident authentication. This doesn't work on all OS's, but in works on
a number of common ones.
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: bruno@wolff.to, vas@mpeks.no-spam-here.tomsk.su
Subject: Re: automatic pg_dumpall
In-Reply-To: <20040326204717.GE20194@wolff.to>
References: <c3tmns$2715$1@mpeks.tomsk.su> <20040326204717.GE20194@wolff.to>
* 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