Last active
August 17, 2017 18:46
-
-
Save MyklClason/b3f6d403b619664234efa9d6375c237c to your computer and use it in GitHub Desktop.
Cloud9: Pull database from Heroku via backup, download and restore.
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
heroku pg:backups:capture | |
heroku pg:backups:download | |
pg_restore --verbose --clean --no-acl --no-owner -U ubuntu -d app_development latest.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment