Skip to content

Instantly share code, notes, and snippets.

@bryanmtl
Created June 6, 2012 20:00
Show Gist options
  • Save bryanmtl/2884362 to your computer and use it in GitHub Desktop.
Save bryanmtl/2884362 to your computer and use it in GitHub Desktop.
One liner to grab the latest production DB from Heroku
curl $(heroku pgbackups:url --remote production) | pg_restore --verbose --clean --no-acl --no-owner -h localhost -U root -d screening_room_development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment