Created
May 18, 2012 15:42
-
-
Save jbailey/2725932 to your computer and use it in GitHub Desktop.
Heroku PG 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
List Backups | |
heroku pgbackups --app {PRODUCTION_APP_NAME} | |
Get URL for a backup | |
heroku pgbackups:url {ID} --app {PRODUCTION_APP_NAME} | |
Restore to test | |
heroku pgbackups:restore DATABASE {BIG_LONG_URL} --app {TEST_APP_NAME} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment