From: Thierry Besancon <Thierry.Besancon@prism.uvsq.fr>
To: Tim Frank <tfrank@registrar.uoguelph.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: Backing up postgresql databases
Date: 20 Mar 2001 09:33:52 +0100
Message-ID: <7q1yrszvnz.fsf@vangogh.prism.uvsq.fr> (raw)
References: <20010319045610.D439@prometheus>
<20010320.141132@cr625228-a.ktchnr1.on.wave.home.com>
Dixit Tim Frank <tfrank@registrar.uoguelph.ca> (le Tue, 20 Mar 2001 00:14:11 GMT) :
» Have your shell script do
»
» export PGUSER=username
» export PGPASSWORD=password
»
» before you run pg_dumpall in the same script. The user/pass would most
» likely have to be a superuser to have access to all databases (this is
» also not guaranteed depending on your pg_hba.conf). Make the script
» read/execute by root but not by anyone else and it will help a tiny bit
» with security.
Using something like "ps -e" shows the environment variables so it is
as unsecure as giving the password on the commande line.
Thierry
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: Thierry.Besancon@prism.uvsq.fr, tfrank@registrar.uoguelph.ca
Subject: Re: Backing up postgresql databases
In-Reply-To: <7q1yrszvnz.fsf@vangogh.prism.uvsq.fr>
References: <20010319045610.D439@prometheus> <20010320.141132@cr625228-a.ktchnr1.on.wave.home.com> <7q1yrszvnz.fsf@vangogh.prism.uvsq.fr>
* 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