Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[GENERAL] Automatic backup with password

0 views
Skip to first unread message

Zengfa Gao

unread,
Dec 11, 2002, 11:24:10 AM12/11/02
to
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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majo...@postgresql.org

0 new messages