Provider migration is a project, not a checkbox. Treat it like a release with a rehearsal.
Phase 0 — Decide why you are moving
Write the reason in one sentence: cost, pause behavior, missing extension, region, recovery independence, or product fit. If you cannot name the reason, you will not know when to stop migrating.
Phase 1 — Inventory
For every dependency, capture:
- What it stores (code, rows, files, users, config)
- How you authenticate to it
- Whether secrets are readable or write-only
- The official export path, if any
- Who can approve a destructive cutover
Supabase-shaped stacks deserve an explicit line for Storage files. Database restores do not bring those bytes back by themselves.
Phase 2 — Independent protection before the move
Take copies you control while the source still works. Verify integrity. Restore into a disposable target that is not production. Record gaps.
If you cannot restore today, you are not ready to migrate tomorrow.
Phase 3 — Rebuild what will not travel
Expect to recreate:
- Environment variables the old API will not return
- OAuth app settings and callback URLs
- DNS and TLS
- Scheduled jobs and webhooks
- Auth providers and email templates
Budget calendar time for these even when the database dump is clean.
Phase 4 — Rehearsal cutover
Run the migration against a throwaway environment end to end. Measure downtime. List manual steps. Only then schedule production.
Prefer a dual-run window when the application allows reading from the new system before writing.
Phase 5 — Production cutover and watch
Freeze risky schema changes. Take a final source backup. Cut traffic. Watch error budgets and auth failures. Keep the source online long enough to roll back if the plan says you can.
Where automated tools help — and where they do not
Dump/restore tooling helps with Postgres. It does not invent missing Auth exports. It does not rewrite every proprietary API call in your frontend. Any product that claims complete competitor compatibility without listing gaps is selling certainty it has not earned.
Kryptlox intends to support portability reports and independent protection for Connect and Build paths. Those capabilities are in development. This guide is usable without them.
One-page migration checklist
- Reason written down
- Inventory complete, including storage files and secrets
- Independent backup restored once
- Manual rebuild list estimated in hours
- Rehearsal passed
- Rollback condition defined
- DNS and OAuth callbacks updated in the runbook