pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Darren McClelland <darren@zonarsystems.com>
To: pgsql-admin@postgresql.org
Subject: Automated database backups and authentication
Date: Tue, 6 Aug 2002 11:14:47 -0700
Message-ID: <20020806181501.58BFD475835@postgresql.org> (raw)

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




view thread (12+ messages)  latest in thread

Message-ID: <20020806181501.58BFD475835@postgresql.org>
Permalink:  ../20020806181501.58BFD475835@postgresql.org/
Also on:    postgresql.org/message-id/20020806181501.58BFD475835@postgresql.org

 · 

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: darren@zonarsystems.com
  Subject: Re: Automated database backups and authentication
  In-Reply-To: <20020806181501.58BFD475835@postgresql.org>
  References: <20020806181501.58BFD475835@postgresql.org>

* 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