Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154] (may be forged)) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2JG6h344207 for ; Mon, 19 Mar 2001 11:06:43 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f2JG3ut19644; Mon, 19 Mar 2001 11:03:56 -0500 (EST) To: "Peter Schuller" cc: John W Cunningham , pgsql-admin@postgresql.org Subject: Re: Backing up postgresql databases In-reply-to: <20010319045610.D439@prometheus> References: <20010317223923.X441@prometheus> <20010319045610.D439@prometheus> Comments: In-reply-to "Peter Schuller" message dated "Mon, 19 Mar 2001 04:56:10 -0500" Date: Mon, 19 Mar 2001 11:03:56 -0500 Message-ID: <19641.985017836@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200103/144 X-Sequence-Number: 992 "Peter Schuller" 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