From: Nathalie Boulos <nathalieboulos@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Backup passwd protected DB
Date: Mon, 26 May 2003 12:29:27 +0300
Message-ID: <BAY8-F45J8VrRQvXlao00008054@hotmail.com> (raw)
Hello,
I need to backup a postgresql-7.3.2 DB with a user having a password using
cron.
every time i call pg_dump I get prompted for a password. It's OK if i'm
running it from command line. But when i use cron, the backup couldn't be
executed because no password is given.
I don't want to put the password in clear text in any file for security
reasons, and i don't want to grant read access to a "backup" user with no
password.
is there any solution to dump that database?
Thanks for your help
Regards
Nathalie
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
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: nathalieboulos@hotmail.com
Subject: Re: Backup passwd protected DB
In-Reply-To: <BAY8-F45J8VrRQvXlao00008054@hotmail.com>
References: <BAY8-F45J8VrRQvXlao00008054@hotmail.com>
* 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