heroku / heroku-pgmigrate Goto Github PK
View Code? Open in Web Editor NEWMigrate from shared databases to new heroku-postgres plans
License: Other
Migrate from shared databases to new heroku-postgres plans
License: Other
We do not check for convergence whereby psmgr confirms the non-existence of processes before continuing the migration process. Thus, quiescence may not be complete. (Note: in the case of two applications sharing a database, it won't be complete anyway)
The final line of output:
Leaving maintenance mode on application APP_NAME... done
I initially read this as "Leaving maintenance mode turned on β¦", and thought it was a warning that I would need to turn it off myself.
Perhaps one of these would be clearer?
Turning off maintenance mode for APP_NAME... done
Exiting maintenance mode on application APP_NAME... done
Leaving maintenance mode for application APP_NAME... done
Cheers,
Paul
I now have 4 dev databases from trying this multiple times.
From @fdr:
the cause of such failures is so mysterious that it doesn't make sense to know whether to retry or not?
heroku pg:migrate -a bestdamnburger-production
Checking for pgbackups addon... done, already present
Installing heroku-postgresql:dev... done, attached as HEROKU_POSTGRESQL_COBALT
Entering maintenance mode on application bestdamnburger-production... done
Scaling process web to 0... done
WARNING: 'heroku run' processes are not cancelled at this time
Transferring...
Pg_dump... 68.4kB -
ERROR: Transfer failed, aborting
Restoring process web scale to 1... done
Leaving maintenance mode on application bestdamnburger-production... done
Trying a second time worked:
heroku pg:migrate -a bestdamnburger-production
Checking for pgbackups addon... done, already present
Installing heroku-postgresql:dev... done, attached as HEROKU_POSTGRESQL_BROWN
Entering maintenance mode on application bestdamnburger-production... done
Scaling process web to 0... done
WARNING: 'heroku run' processes are not cancelled at this time
Transferring...
Pg_dump... 68.4kB -
done
Binding new database configuration to: SHARED_DATABASE_URL, DATABASE_URL... done
Restoring process web scale to 1... done
Leaving maintenance mode on application bestdamnburger-production... done
Got this once:
Transferring...
! must delete a backup before creating a new one
Would be nice if you could avoid this check for transfers?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.