Re: Automated Database Backups

Поиск
Список
Период
Сортировка
От Gary Chambers
Тема Re: Automated Database Backups
Дата
Msg-id AANLkTimmNwT_8uXEhfXwrLrHRxMxL0PbTnHsShmZ1MyX@mail.gmail.com
обсуждение исходный текст
Ответ на Automated Database Backups  (John Iliffe <john.iliffe@iliffe.ca>)
Список pgsql-general
John,

> Does anyone have a way to run pg_dump from cron in a way that doesn't
> require someone to enter the password on every run?  I get the following
> error even when the backup user has read permissions on all application
> databases.

You can use the .pgpass file in the backup owner's home directory:

*:5432:*:postgres:MyPassword
*:5432:*:xxxx:XsPassword

-- Gary Chambers

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

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Automated Database Backups
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: installing from source in Windows