Automated backup - Mailing list pgsql-general

From Robert Fitzpatrick
Subject Automated backup
Date
Msg-id 003901c2ddb3$e32173a0$bbc2fea9@COLUMBUS
Whole thread Raw
Responses Re: Automated backup
Re: Automated backup
List pgsql-general
I have a script that tars up dirs for me each night and I've added a
pg_dumpall function to the script, but having problem with
authentication. I created a .pgpass file in the root user folder with
the appropriate permissions (600). However, even though the script is
owned by root, it does not run. I guess the .pgpass file is not loading
unless root actually logs in. Can anyone shed light on the best way to
get pg_dump to work unattended or point me in the right direction.

--
Robert



pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: OID or lo
Next
From: Patrik Kudo
Date:
Subject: Re: index usage (and foreign keys/triggers)