Skip to content

Instantly share code, notes, and snippets.

@AV4TAr
Created June 19, 2012 16:16
Show Gist options
  • Select an option

  • Save AV4TAr/2955045 to your computer and use it in GitHub Desktop.

Select an option

Save AV4TAr/2955045 to your computer and use it in GitHub Desktop.
pgsql backup script v1 command line
set PGPASSWORD=diego
set PGUSER=dsapriza
set PGHOST=localhost
set PGPORT=5432
pg_dump.exe my_database > backup.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment