Skip to content

Instantly share code, notes, and snippets.

@ismyrnow
Created May 18, 2016 15:34
Show Gist options
  • Save ismyrnow/d368c2dc5d0d84dca111cbb965f06090 to your computer and use it in GitHub Desktop.
Save ismyrnow/d368c2dc5d0d84dca111cbb965f06090 to your computer and use it in GitHub Desktop.
Command for backing up a postgres database to a file
"C:\Program Files (x86)\pgAdmin III\1.18\pg_dump.exe" --host DBHOST --port 5432 --username "DBUSER" --format custom --blobs --verbose --file "OUTFILE.backup" "DBNAME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment