diff --git a/MIGRATION.md b/MIGRATION.md index ba74e9e..9e48536 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -264,10 +264,15 @@ log shipping to Loki and the runner's link to Forgejo pause. 2. **Storage repo:** disable its deploy workflow (Phase 0 step 4). 3. **Secrets:** compare every ops secret in sops with the vault, `/opt/storage/.env` and the live values, as was done for services. -4. **Final rehearsal on `claude-test-nixos-a`** with that night's ops - backup: `migration/ops-data.sh /restore`, the apps pulled and healthy - through the Docker CLI, monitoring history moved. Proves the data - script end to end on fresh data. +4. **Final rehearsal on `claude-test-nixos-a`** — **done 2026-11-17** with + that night's ops backup (7.8 GiB): fresh Debian → cloud-init conversion + (4 min) → build and switch on the host (7 min on this cx23, the same + size as ops) → restore → `ops-data.sh` (10 s) → apps pulled and started + (31 s) and healthy with the compose healthchecks → reboot, everything + back by itself (1.5 min). It found four bugs, all fixed: the apps did + not come back after a reboot (podman-restart was not enabled), no + `/opt` on a fresh system, the repositories moved one level too deep, + and a Forgejo command that no longer exists. 5. **Break-glass in the flake:** root SSH from 46.62.228.216 for ops only (`asxpio.sshFrom` override in `hosts/asxpio-ops`), merged before the window, removed after it. @@ -277,7 +282,7 @@ log shipping to Loki and the runner's link to Forgejo pause. 7. **Snapshot** of ops in the Hetzner console (the prod token is read-only), `pre-nixos-`. -### The window (about 25–35 minutes of downtime) +### The window (about 20–25 minutes of downtime, by the rehearsal) From a workstation on WireGuard, in the repo. Every step is a separate go-ahead.