Created
February 17, 2016 04:33
-
-
Save fahim/7c06752e00607378b110 to your computer and use it in GitHub Desktop.
how to copy from production to staging on heroku
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 plugins:install https://github.com/ddollar/heroku-pg-transfer | |
heroku pg:transfer -f `heroku config:get DATABASE_URL --app production` -t `heroku config:get DATABASE_URL --app staging` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment