Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to restore PostgreSQL database from Heroku.
curl -o db/app.dump `heroku pg:backups public-url -a app-name`
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U postgres -d app_development db/app.dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.