🚚 Runbook: account migration
Before
- Dry run 1 on a copy of production (2 h 40 m, 3 differences)
- Dry run 2 (Thursday)
- Rollback rehearsal
A wave
migrate plan --wave 3 > wave-3.csv
migrate run --wave 3 --dry-run
migrate run --wave 3
migrate check --wave 3 # must print: 0 differences
Going back
migrate pause- Set the flag
sync-v2to 0 for the wave migrate check --reverse
Both services are written to for 14 days, so nothing is lost.
The two big accounts
By hand, Sunday 23:00, after Sam has called them.