Last active
August 30, 2018 09:02
-
-
Save SeyZ/1dd52b250ba2b05a075ff2da8c71d743 to your computer and use it in GitHub Desktop.
doc-lumber-deploy-to-heroku-dump-database
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
# Export my data from my local database | |
pg_dump -h localhost -p 5446 -U forest forest_live_demo_rails --no-owner --no-acl -f database.sql | |
# Import my data to the Heroku database | |
heroku pg:psql DATABASE_URL --app lumber-deploy-to-production < database.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment