Re: pg_dumpall and password access

Поиск
Список
Период
Сортировка
От David Lizano
Тема Re: pg_dumpall and password access
Дата
Msg-id 4.3.2.7.0.20010404112720.00bf0c20@192.168.1.1
обсуждение исходный текст
Ответ на Re: pg_dumpall and password access  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
At 19.29 3/4/01 -0400, you wrote:
>Christophe Labouisse <labouiss@cybercable.fr> writes:
> > I'm trying to run pg_dumpall to backup all my users' bases but since I
> > have configure pg_hba.conf to "passwd" pg_dumpall always fails:
>
>pg_dumpall doesn't work very well with password authentication (and
>even if it did, storing the password in a cron script doesn't seem
>like a good idea to me).
From the cron script you can execute somethin like this.
        su -l postgres -c pg_dumpall <parameters>

and then, "pg_dumpall" will be executed by the postgres user.



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

Предыдущее
От: David Lizano
Дата:
Сообщение: Inserting binary data (BLOBs) in v7.1
Следующее
От: "Peter Galbavy"
Дата:
Сообщение: performance of functions - or rather lack of it