Last active
August 29, 2015 14:17
-
-
Save aymanosman/4afd72ae83da42267a9d to your computer and use it in GitHub Desktop.
pg_restore command
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
createdb dbname | |
pg_restore -d dbname -Ocxv db.dump | |
# -c Clean, -O no owner, -v verbose, -x no privileges no acl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment