Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. @echo off
  2. title Backup Postgres
  3. :inicio
  4. color bc
  5. echo 1: BACKUP POSTGRES
  6. cd\
  7. rem SET PGUSER=postgres
  8. SET PGPASSWORD=postgres
  9. cd C:\Program Files\PostgreSQL\9.4\bin
  10. pg_dump.exe --host localhost --port 5432 --username postgres --format tar --file c:\ManagereDOCback_0310.backup ManagerEDoc
  11. echo BackupRealizado
  12. rem pause > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement