Created
January 15, 2014 06:03
-
-
Save shu0115/8431573 to your computer and use it in GitHub Desktop.
Heroku Postgres Upgrade ref: http://qiita.com/shu_0115/items/3242b30954251c5803c4
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:info |
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 addons:add heroku-postgresql:standard-yanari |
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:info | |
---------- | |
=== HEROKU_POSTGRESQL_COPPER_URL (DATABASE_URL) | |
Plan: Standard Yanari | |
Status: Available | |
Data Size: 6.4 MB | |
Tables: 0 | |
PG Version: 9.3.2 | |
Connections: 3 | |
Fork/Follow: Temporarily Unavailable | |
Rollback: Temporarily Unavailable | |
Created: 2014-01-15 05:40 UTC | |
Maintenance: not required | |
=== HEROKU_POSTGRESQL_CRIMSON_URL | |
Plan: Hobby-dev | |
Status: available | |
Connections: 2 | |
PG Version: 9.3.2 | |
Created: 2014-01-08 05:26 UTC | |
Data Size: 6.7 MB | |
Tables: 5 | |
Rows: 0/10000 (In compliance) | |
Fork/Follow: Unsupported | |
Rollback: Unsupported | |
---------- |
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 addons:remove HEROKU_POSTGRESQL_CRIMSON_URL |
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:wait | |
---------- | |
Waiting for database HEROKU_POSTGRESQL_COPPER_URL... available | |
---------- |
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 maintenance:on |
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 ps:scale worker=0 |
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 pgbackups:capture --expire |
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 pgbackups:restore HEROKU_POSTGRESQL_COPPER_URL |
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:promote HEROKU_POSTGRESQL_COPPER_URL |
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 maintenance:off |
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 ps:scale worker=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment