From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> |
Cc: | "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>, "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>, <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: trouble with pg_dumpall |
Date: | 2008-02-28 02:34:18 |
Message-ID: | 20080227183418.143bbb03@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 27 Feb 2008 18:26:54 -0800
"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> wrote:
> But in the meantime, maybe I will take a
> bit different approach. Namely:
>
> Is there anyway I can pass the password to
> pg_dumpall via crontab?
You can use a pgpass file as the user calling the cron.
http://www.postgresql.org/docs/current/interactive/libpq-pgpass.html
Or you can use PGPASSWORD="foo"
But that can be dangerous.
Joshua D. Drake
- --
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL SPI Liaison | SPI Director | PostgreSQL political pundit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHxh2tATb/zqfZUUQRAoTWAKCD7dgA5pSlDcu3xTWvei4K/KFqxACfQbVq
dJvLDR1LKM6yt2RyewQfNQI=
=y55x
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Tena Sakai | 2008-02-28 02:49:38 | Re: trouble with pg_dumpall |
Previous Message | Phillip Smith | 2008-02-28 02:32:58 | Re: trouble with pg_dumpall |