Re: automatic pg_dumpall - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: automatic pg_dumpall
Date
Msg-id 20040326204717.GE20194@wolff.to
Whole thread Raw
In response to automatic pg_dumpall  (Victor Sudakov <vas@mpeks.no-spam-here.tomsk.su>)
List pgsql-admin
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.

pgsql-admin by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Raw devices
Next
From: Hemapriya
Date:
Subject: postgres copy command very slow.