Automated database backups and authentication - Mailing list pgsql-admin

From Darren McClelland
Subject Automated database backups and authentication
Date
Msg-id 20020806181501.58BFD475835@postgresql.org
Whole thread Raw
Responses Re: Automated database backups and authentication  (Andrew Sullivan <andrew@libertyrms.info>)
Re: Automated database backups and authentication  (Darren McClelland <darren@zonarsystems.com>)
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Jie Liang
Date:
Subject: Re: pg_restore weirdness
Next
From: Andrew Sullivan
Date:
Subject: Re: Automated database backups and authentication