Skip to content

Instantly share code, notes, and snippets.

@nathankot
Forked from nhocki/gist:1095522
Created May 20, 2013 09:53
Show Gist options
  • Save nathankot/5611361 to your computer and use it in GitHub Desktop.
Save nathankot/5611361 to your computer and use it in GitHub Desktop.
heroku addons:add pgbackups --remote staging
heroku addons:add pgbackups --remote production
heroku pgbackups:capture --remote production
heroku pgbackups:restore DATABASE `heroku pgbackups:url --remote production` --remote staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment