Re: Automated Database Backups - Mailing list pgsql-general

From Radosław Smogura
Subject Re: Automated Database Backups
Date
Msg-id b2f4c490a5376c035c6829524085337a@smogura-softworks.eu
Whole thread Raw
In response to Automated Database Backups  (John Iliffe <john.iliffe@iliffe.ca>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: installing from source in Windows
Next
From: "Marc Mamin"
Date:
Subject: Question on STABLE functions limitations