From: Gerd Terlutter <gerd@MplusB.de>
To: pgsql-php@postgresql.org
Subject: pg_dump + cronjob
Date: Thu, 06 Nov 2003 12:09:26 +0100
Message-ID: <3FAA2BE6.6000500@MplusB.de> (raw)
Hi list,
i've written a script for dumping several databases (mysql + PG), and it
runs fine. But now i have the problem to convert it into a cron script.
how can i run pg_dump with password? i found nothing in the manpages
about pg login and passwords, e.g. on mysql i can use --password=xxx.
any ideas how todo this?
Greetings,
Gerd
--
--------------------------------------------------------
# Gerd Terlutter | Mueller+Blanck Software GmbH #
# Gutenbergring 38 | D-22848 Norderstedt #
# office:+49 40 500 171-1| fax:+49 40 500 171-71 #
--------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: gerd@MplusB.de
Subject: Re: pg_dump + cronjob
In-Reply-To: <3FAA2BE6.6000500@MplusB.de>
References: <3FAA2BE6.6000500@MplusB.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox