Created
October 4, 2011 10:55
-
-
Save dangerousbeans/1261350 to your computer and use it in GitHub Desktop.
Database recreate from remote script
This file contains 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
dropdb -h localhost metadata_staging -U postgres && createdb -h localhost -U postgres metadata_staging && pg_dump -h test.dpluse.net metadata_staging && psql metadata_staging postgres < metadata_staging.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment