backupDB.bat 250 B

1234567
  1. set PGHOME=C:\Program Files\PostgreSQL\8.3
  2. set PGDATA=%PGHOME%\data
  3. set PGLIB=%PGHOME%\lib
  4. set PGHOST=localhost
  5. set PATH=%PGHOME%\bin;%PATH%
  6. set PGPASSWORD=stoneu_4k
  7. pg_dump -F c -h localhost -U postgres stoneu >D:\DBMonitor\Datebase\2013-3-17.backup