Skip to content

Instantly share code, notes, and snippets.

@yukpiz yukpiz/pg_dump.sh
Created Apr 6, 2015

Embed
What would you like to do?
PostgreSQL database dump command.
#!/bin/sh
pg_dump -h {host} -d {database} -U {user} -p {port} -w -Fc -b > {file}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.