Skip site navigation (1) Skip section navigation (2)

pg_dump + cronjob

From: Gerd Terlutter <gerd(at)MplusB(dot)de>
To: pgsql-php(at)postgresql(dot)org
Subject: pg_dump + cronjob
Date: 2003-11-06 11:09:26
Message-ID: 3FAA2BE6.6000500@MplusB.de (view raw or flat)
Thread:
Lists: pgsql-php
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        #
--------------------------------------------------------



Responses

pgsql-php by date

Next:From: Bruno Wolff IIIDate: 2003-11-06 15:00:51
Subject: Re: pg_dump + cronjob
Previous:From: Peter BayleyDate: 2003-11-06 01:46:32
Subject: Re: Reducing duplicated business rules

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group