Skip to content

Measure the rehearsal and freeze

Draft — not yet verified end to end.

Set a downtime budget from repeated evidence rather than an estimate.

Two disposable rehearsal destinations, immutable authorised source fixtures, a full backup/restore route and a timing recorder. Keep external payments and fulfilment in sandbox mode.

Check the current inventory before writing

Section titled “Check the current inventory before writing”

Read the source counts again immediately before the rehearsal. A site can gain articles, menu items and staff roles after its migration plan was approved. Keep the original counts alongside the new inventory and resolve every new role’s permissions before accepting the new baseline. A successful preview is evidence of discovery; it does not prove an import or authorise a changed access policy.

Keep the local rehearsal database on an isolated server if the privilege inspector requires server-wide metadata access. Give that server only the approved fixture and synthetic identities. An inspector account with global SELECT on a shared server can read unrelated databases; a database name alone does not restrict that grant. Bootstrap schema changes separately from the restricted import writer. Do not give the writer schema-wide or global write privileges to make a privilege check pass.

Quoted media filenames can contain spaces and parentheses. Resolve their full paths before copying files or accepting a missing-media report. Preserve the original URL in public content while mapping the decoded local path to Media. Keep the source disk read-only during conversion.

Run the entire operation twice from fresh starting states. Within each rehearsal repeat the import unchanged to prove no-op behaviour. Time freeze, final copy, migrations, import, cache rebuild, reconciliation and smoke checks separately. Test session logout and token preservation.

The executable command transcript for this phase is not yet verified. Do not copy a command from another release or infer flags from this draft. Add the exact command, working directory and exit only after running it on disposable data.

Capell: reconciliation and role smoke results before reopening. Alt text should identify the completed checkpoint.

Screenshots are not yet captured or accepted. Do not substitute screenshots from a live site or an unrelated workflow.

Record elapsed time and actual exit for every stage, verify restore time and set the freeze budget from the slower successful rehearsal plus agreed contingency. Not yet verified.

The verification command and expected output are not yet verified.

Do not publish a downtime promise from a partial run. A failed phase invalidates the rehearsal timing until the cause is fixed and the full sequence completes.

Restore database and files and switch back the release in the rehearsal. Verify the legacy site works after restoration before accepting the rollback procedure.

Return to the migration chapter list.