Skip to content

Instantly share code, notes, and snippets.

@buncis
Created August 3, 2017 14:08
Show Gist options
  • Save buncis/4d69d593ae92f3963e01204c1e3b04c9 to your computer and use it in GitHub Desktop.
Save buncis/4d69d593ae92f3963e01204c1e3b04c9 to your computer and use it in GitHub Desktop.
heroku restore
heroku pg:backups:capture
heroku pg:backups:download
pg_restore --verbose --clean --no-acl --no-owner -h localhost -d rails_development latest.dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment