At 19.29 3/4/01 -0400, you wrote:
>Christophe Labouisse <labouiss(at)cybercable(dot)fr> writes:
> > I'm trying to run pg_dumpall to backup all my users' bases but since I
> > have configure pg_hba.conf to "passwd" pg_dumpall always fails:
>
>pg_dumpall doesn't work very well with password authentication (and
>even if it did, storing the password in a cron script doesn't seem
>like a good idea to me).
From the cron script you can execute somethin like this.
su -l postgres -c pg_dumpall <parameters>
and then, "pg_dumpall" will be executed by the postgres user.