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

automated pg_dump

From: Raphael Bauduin <raphael(at)be(dot)easynet(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: automated pg_dump
Date: 2002-01-22 11:46:01
Message-ID: 3C4D50F9.3010507@be.easynet.net (view raw or flat)
Thread:
Lists: pgsql-novice
Hi,

is there a way to make an automated dump with pg_dump when the database 
access is password protected?
I'd like to run it from a cron. However, I haven't found a way to 
mention the password on the command line (Which is
not the most secure solution, but needed to run it non interactively 
from a script).

Thanks for your help!

Raph


Responses

pgsql-novice by date

Next:From: Lukas ErtlDate: 2002-01-22 12:11:20
Subject: Re: automated pg_dump
Previous:From: Mark BleekerDate: 2002-01-22 11:02:43
Subject: automatically updated an attribute with the current time

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