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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Tue, 24 Aug 2004 22:03:42 +0100
  • Message-id: <412BAD2E(dot)7020605(at)penhey(dot)net>

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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group