The 5-step method
Split a migration project into chunks, not one big-bang cutover
A migration project may take a little more than a weekend, so treat it like a real project. This method — Continuous Migration — is how to run it without betting everything on a single cutover night. Follow it and it's all going to be fine, I promise:
- 01
Target architecture
Stand up your target PostgreSQL architecture — HA included — before migrating a single row.
- 02
Fork CI onto it
Fork a Continuous Integration environment that runs your full test suite against PostgreSQL.
- 03
Migrate nightly
Re-run the full data migration from production every night, for the length of the project.
- 04
Go green
Schedule D-Day only once CI has run clean on PostgreSQL for long enough to trust it.
- 05
Cut over
Migrate on D-Day — by now it’s a formality, not a leap of faith.
