-
-
Save raarellano/3dbfdfee405cbbe1dc60 to your computer and use it in GitHub Desktop.
Migrate between Heroku Databases
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 addons:add pgbackups --app production-app | |
heroku addons:add pgbackups --app staging-app | |
heroku pgbackups:capture --app production-app | |
heroku pgbackups --app production-app | |
heroku pgbackups:restore HEROKU_POSTGRESQL_EXAMPLE_URL `heroku pgbackups:url --app production-app` --app staging-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment