Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D619B475820 for ; Tue, 6 Aug 2002 14:15:02 -0400 (EDT) Received: from bison.seattleserver.com (bison.seattleserver.com [216.57.201.10]) by postgresql.org (Postfix) with SMTP id 58BFD475835 for ; Tue, 6 Aug 2002 14:15:01 -0400 (EDT) Received: (qmail 10248 invoked from network); 6 Aug 2002 18:14:47 -0000 Received: from unknown (HELO there) (12.230.91.75) by bison.seattleserver.com with SMTP; 6 Aug 2002 18:14:47 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Darren McClelland Reply-To: darren@zonarsystems.com Organization: Zonar Systems Inc. To: Subject: Automated database backups and authentication Date: Tue, 6 Aug 2002 11:14:47 -0700 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020806181501.58BFD475835@postgresql.org> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/42 X-Sequence-Number: 5157 Hello, I would like to backup a set of databases from a cron job. It looks like pg_dumpall will do the trick. The only problem is that there doesn't seem to be any way to pass the database password to pg_dumpall in a non interactive manner. I'd like to use some kind of access control on the databases, but it would need to be able to function non interactively. Ideally whatever I do would be able to function across a network, so that one database server could backup to a second - kind of a poor man's replication. I haven't found any real answers in any of the archives, or docs. Has anyone here done something like this or have any thoughts? Thanks, Darren McClelland