Automatic backup with password

From: Zengfa Gao <zfgao(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Automatic backup with password
Date: 2002-12-11 16:21:29
Message-ID: 20021211162129.96829.qmail@web41011.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Thanks!

Zengfa

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2002-12-11 16:25:25 Re: Urgent need of (paid) PostgreSQL support in New
Previous Message Greg Sabino Mullane 2002-12-11 15:43:37 Interactive docs down