unattended backups

From: "Andrew C(dot) Uselton" <acuselton(at)lbl(dot)gov>
To: pgsql-novice(at)postgresql(dot)org
Subject: unattended backups
Date: 2007-08-27 20:18:46
Message-ID: 1188245926.3864.6.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Greetings pgsql gurus,
I have a pgsql database that uses md5 passwords. When I want to back
it up the "pg_dumpall >dump_file" command prompts for the administrative
password, evidently via stderr. I'd like to stick a "pg_dumpall" in a
cron job, and supply it with the password. I don't mind having the
administrative password somewhere readable by root, but I am stumped how
to carry this out. Has anyone been down this road ahead of me and found
an answer? (other than "abandon hope ...")
cheers,
Andrew

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Alan Hodgson 2007-08-27 20:32:15 Re: unattended backups
Previous Message A. Kretschmer 2007-08-27 05:24:23 Re: WHERE clause with timestamp data type