Re: Backing up postgresql databases

Поиск
Список
Период
Сортировка
От Thierry Besancon
Тема Re: Backing up postgresql databases
Дата
Msg-id 7q1yrszvnz.fsf@vangogh.prism.uvsq.fr
обсуждение исходный текст
Ответ на Re: Backing up postgresql databases  ("Peter Schuller" <peter.schuller@infidyne.com>)
Ответы Re: Backing up postgresql databases  (Tim Frank <tfrank@registrar.uoguelph.ca>)
Список pgsql-admin
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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Moving databases
Следующее
От: Michael Ansley
Дата:
Сообщение: RE: Backing up postgresql databases