Forked from pachun/gist:171314491201e34589980b67ad081caa
Created
March 22, 2018 15:54
-
-
Save coffenbacher/90e482d3c0fcdb7a62e90718a0f3a6e3 to your computer and use it in GitHub Desktop.
Copy a Heroku Postgresql DB into a local DB
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
| $ heroku pg:backups:capture | |
| $ heroku pg:backups:download | |
| Then: | |
| $ pg_restore -c -d torq_api_development latest.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment