Skip to content

Instantly share code, notes, and snippets.

View vitorlimadev's full-sized avatar

Vitor Hugo Lima vitorlimadev

View GitHub Profile
heroku pg:backups capture --app APPNAME
curl -o latest.dump `heroku pg:backups public-url --app APPNAME`
pg_restore --verbose --clean --no-acl --no-owner -h localhost -d DATABASE latest.dump