Re: [GENERAL] Automated Database Backups

2010-10-17 Thread Radosław Smogura
On Fri, 15 Oct 2010 17:12:50 -0400, John Iliffe 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 ca

Re: [GENERAL] Automated Database Backups

2010-10-17 Thread John Iliffe
Thanks to those who replied to my post. I tried that and works a treat! Regards. John == On Sat, 2010-16-10 at 17:18 +0100, Raymond O'Donnell wrote: > On 15/10/2010 22:12, John Iliffe wrote: > > Does anyone have a way to run pg_dump from cron

Re: [GENERAL] Automated Database Backups

2010-10-16 Thread Gary Chambers
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 d

Re: [GENERAL] Automated Database Backups

2010-10-16 Thread Raymond O'Donnell
On 15/10/2010 22:12, John Iliffe 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 need to use a .pgpasss fi

[GENERAL] Automated Database Backups

2010-10-16 Thread John Iliffe
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. The database that fails is part of the PostgreSQL kernel, not my appli