Created
May 28, 2010 21:32
-
-
Save mrrooijen/417784 to your computer and use it in GitHub Desktop.
Simple script that creates and downloads a Heroku backup (App Repository, DBDump) and then destroys the remote backup.
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
bundle=backup | |
app=myapp | |
heroku bundles:capture $bundle --app $app | |
sleep 15 | |
heroku bundles:download $bundle --app $app | |
heroku bundles:destroy $bundle --app $app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment