Re: PostgreSQL Backup Script

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: PostgreSQL Backup Script
Дата
Msg-id 424CD58F.3040108@familyhealth.com.au
обсуждение исходный текст
Ответ на PostgreSQL Backup Script  ("Vishal Kashyap @ [SaiHertz]" <vishalonlist@gmail.com>)
Ответы Re: PostgreSQL Backup Script  ("Vishal Kashyap @ [SaiHertz]" <vishalonlist@gmail.com>)
Список pgsql-php
> One obvious solution was to use .pgpass but it does not appeal me
> because it is again a security threat.
> any pointers or help may lead to unlocked secret.

.pgpass is the only way to do it that is NOT a security threat.

You can set PGUSER and PGPASSWORD environmental variables, but they are
easily readable from other processes.

I suggest allowing the 'postgres' user to connect with 'ident sameuser'
in pg_hba.conf from the localhost only, then always just run pg_dump as
'postgres'.

Chris

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

Предыдущее
От: "Vishal Kashyap @ [SaiHertz]"
Дата:
Сообщение: PostgreSQL Backup Script
Следующее
От: "Vishal Kashyap @ [SaiHertz]"
Дата:
Сообщение: Re: PostgreSQL Backup Script