Created
January 17, 2012 08:41
-
-
Save mchung/1625690 to your computer and use it in GitHub Desktop.
Migrating data from Postgres 8.3 to Postgres 9.1 on Heroku
This file contains hidden or 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
project $ heroku db:pull | |
Loaded Taps v0.3.23 | |
Auto-detected local database: postgres://[email protected]/pg91-dev?encoding=utf8 | |
Warning: Data in the database 'postgres://[email protected]/pg91-dev?encoding=utf8' will be overwritten and will not be recoverable. | |
[snip] | |
project $ heroku pg:promote HEROKU_SHARED_POSTGRESQL_PURPLE | |
project $ heroku db:push | |
Loaded Taps v0.3.23 | |
Auto-detected local database: postgres://[email protected]/pg91-dev?encoding=utf8 | |
Warning: Data in the app 'heroku-pg91' will be overwritten and will not be recoverable. | |
[snip] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment