Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Backup Postgres
- :inicio
- color bc
- echo 1: BACKUP POSTGRES
- cd\
- rem SET PGUSER=postgres
- SET PGPASSWORD=postgres
- cd C:\Program Files\PostgreSQL\9.4\bin
- pg_dump.exe --host localhost --port 5432 --username postgres --format tar --file c:\ManagereDOCback_0310.backup ManagerEDoc
- echo BackupRealizado
- rem pause > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement