Skip to content

Instantly share code, notes, and snippets.

@danieljohnmorris
Created December 2, 2013 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieljohnmorris/7747972 to your computer and use it in GitHub Desktop.
Save danieljohnmorris/7747972 to your computer and use it in GitHub Desktop.
migrate db heroku postgres
heroku pgbackups:capture -a gsa-live --expire
heroku pgbackups:restore HEROKU_POSTGRESQL_GREEN -a gsa-staging `heroku pgbackups:url -a gsa-live`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment