Re: Automated Database Backups

Поиск
Список
Период
Сортировка
От Radosław Smogura
Тема Re: Automated Database Backups
Дата
Msg-id b2f4c490a5376c035c6829524085337a@smogura-softworks.eu
обсуждение исходный текст
Ответ на Automated Database Backups  (John Iliffe <john.iliffe@iliffe.ca>)
Список pgsql-general
On Fri, 15 Oct 2010 17:12:50 -0400, John Iliffe <john.iliffe@iliffe.ca>
wrote:
> 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 configure PSQL to use ident authentication, it should be
configured as default, so user "postgres" have full access to all
databases. Then assign home directory for this user, and create user
specified cron file. Then you will don't need to store password.

--
----------
Radosław Smogura
http://www.softperience.eu

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: installing from source in Windows
Следующее
От: "Marc Mamin"
Дата:
Сообщение: Question on STABLE functions limitations