Backup and download your DB on Heroku
Yet another well thought-out tool from the folks at Heroku!
Add the pgbackups addon to your account if you don't have it:
$ heroku addons:add pgbackups
You can check if you have it by running:
$ heroku addons
Backup your database:
$ heroku pgbackups:capture
$ heroku pgbackups:capture --expire # to delete oldest backup
Get URL for the backup you just created:
$ heroku pgbackups:url
Full documentation: https://devcenter.heroku.com/articles/pgbackups
Written by Johnny Rodgers
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#