Last active
December 31, 2015 04:09
-
-
Save germs12/7932496 to your computer and use it in GitHub Desktop.
Testing Production DB for postgres
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
| # Import | |
| # -d == database name | |
| psql -d prod_back_up -f <file> | |
| # Create DB | |
| createdb prod_back_up | |
| createdb --locale=en_US.utf8 -E UTF8 kpi_prod | |
| # Destroy DB | |
| dropdb prod_back_up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment