pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Schuller <peter.schuller@infidyne.com>
Cc: John W Cunningham <john@pickaprof.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Backing up postgresql databases
Date: Mon, 19 Mar 2001 11:03:56 -0500
Message-ID: <19641.985017836@sss.pgh.pa.us> (raw)
In-Reply-To: <20010319045610.D439@prometheus>
References: <20010317223923.X441@prometheus>
	<BEEOLIJOIOBCOCILGHKIOEHDDBAA.john@pickaprof.com>
	<20010319045610.D439@prometheus>

"Peter Schuller" <peter.schuller@infidyne.com> writes:
> I do have a question though. Contrary to Grant, I can't use a trust policy,
> even on the local machine. As a result, I need to use password
> authentication. However, pg_dumpall seems to generally screw up.

pg_dumpall is very unfriendly to password auth method :-(.  Even if it
worked better, would you really want to keep a password stored in a cron
script?

Consider using IDENT authentication on local TCP connections and having
the dumper connect to 127.0.0.1 instead of via Unix socket.  IDENT is
not real secure for remote connections but I don't see why you shouldn't
trust it for local.

Kerberos auth might be another answer, but I don't know enough about it
to comment intelligently.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <19641.985017836@sss.pgh.pa.us>
Permalink:  ../19641.985017836@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19641.985017836@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, peter.schuller@infidyne.com, john@pickaprof.com
  Subject: Re: Backing up postgresql databases
  In-Reply-To: <19641.985017836@sss.pgh.pa.us>
  References: <20010317223923.X441@prometheus> <BEEOLIJOIOBCOCILGHKIOEHDDBAA.john@pickaprof.com> <20010319045610.D439@prometheus> <19641.985017836@sss.pgh.pa.us>

* 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