Skip to content

Instantly share code, notes, and snippets.

@germs12
Last active December 31, 2015 04:09
Show Gist options
  • Select an option

  • Save germs12/7932496 to your computer and use it in GitHub Desktop.

Select an option

Save germs12/7932496 to your computer and use it in GitHub Desktop.
Testing Production DB for postgres
# 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