Re: backup: pg_dumpall and full backups in general - Mailing list pgsql-general

From Tom Lane
Subject Re: backup: pg_dumpall and full backups in general
Date
Msg-id 27561.1006394896@sss.pgh.pa.us
Whole thread Raw
In response to backup: pg_dumpall and full backups in general  (Dado Feigenblatt <dado@wildbrain.com>)
List pgsql-general
Dado Feigenblatt <dado@wildbrain.com> writes:
> [ problems with pg_dumpall and password protection ]

Password protection just doesn't play very nicely with dump scripts.
Especially not scripts you'd like to invoke from cron jobs.
I'd strongly recommend setting up a different authorization method.

One way that's reasonably secure is to run an ident server (non-broken
one of course) and enable ident authorization over local loopback only.
Then a simple "export PGHOST=127.0.0.1" frees you from entering any
more passwords.

            regards, tom lane

pgsql-general by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Determining which index to create
Next
From: Tom Lane
Date:
Subject: Re: Determining which index to create