Last active
February 10, 2016 05:07
-
-
Save codesoda/3935932 to your computer and use it in GitHub Desktop.
Restore Heroku Backups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku pg:backups capture -r REMOTE | |
$ heroku pg:backups public-url b001 -r REMOTE | |
$ pg_restore --verbose --clean --no-acl --no-owner -d DATABASE DUMP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment