Last active
December 17, 2015 20:49
-
-
Save pwiesner/5670800 to your computer and use it in GitHub Desktop.
download the most recent database backup from 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
#replace APP-NAME with your applications name | |
curl -o tmp/APP-NAME-$(date "+%Y%m%d").dump `heroku pgbackups:url --app APP-NAME` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment