Created
September 25, 2014 19:09
-
-
Save camsaul/b2c2d55f42d7b5bb44bf to your computer and use it in GitHub Desktop.
Make a Postgres DB Dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pg_dump --clean --create --file db.out --format p --verbose --host $DBHOST --port $DBPORT -U $DBUSER $DBNAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment