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