Re: Automatic backup with password

From: "Han Holl" <han(dot)holl(at)prismant(dot)nl>
To: zfgao(at)yahoo(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Automatic backup with password
Date: 2002-12-11 19:29:03
Message-ID: 20021211202903.A9163@bever.palga.uucp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Oa Wed, Dec 11, 2002 at 05:21:29PM +0100, zfgao(at)yahoo(dot)com wrote:
>
> Hi,
>
> I am trying to write some code to do automatic backup
> for PgSQL with pg_dump tool. For safty reason, I still
> want the password protection.
>
> 1. I tried to use script:
> echo "password" | pg_dump -U ....
> 2. I tried to use Java process, OutputStream.
>
> But pg_dump force password prompt. I don't find a way
> to give pg_dump with code. Does anyone have an idea?
>
This is what Don Libes invented expect for.

Cheers,

Han Holl

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-12-11 19:35:40 Re: Automatic backup with password
Previous Message Lincoln Yeoh 2002-12-11 19:18:16 Re: Postgresql and Ruby - any opensource software