pg_dump and pg_restore in batch scripts

From: Tim Penhey <tim(at)penhey(dot)net>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: pg_dump and pg_restore in batch scripts
Date: 2004-08-24 21:03:42
Message-ID: 412BAD2E.7020605@penhey.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

I read somewhere an example of how to do pg_dump and pg_restore on *nix
so as to not have it ask for a password, but is there any way in the
Win32 environment to do this?

What I am actually trying to do is to get a java servlet to execute the
dump command and return through http the dumped file. Once that works
it will be to upload the file to the servlet and execute the restore
command. The java servlet will have the username and password to the
database for the jdbc connection.

Thanks,
Tim

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Dave Page 2004-08-25 07:51:25 Re: postmaster.pid
Previous Message Magnus Hagander 2004-08-24 19:14:12 Re: Installation on a 2000 DC