feat(contracts): add infrastructure-maintenance contract #24
@@ -148,8 +148,9 @@ If ANY service in Phase 4 fails to come back up (or regresses vs baseline):
|
||||
```bash
|
||||
# Restore from recorded image-baseline digest
|
||||
docker compose down
|
||||
docker compose pull <previous_digest> # or set image: <digest> in compose and up -d
|
||||
docker compose up -d
|
||||
# Pin the service image to the recorded digest in compose, then recreate
|
||||
# image: <name>@sha256:<previous_digest>
|
||||
docker compose pull && docker compose up -d
|
||||
```
|
||||
2. **APT rollback** — restore the primary host from the Proxmox snapshot taken/confirmed in Phase 0. If no snapshot, `apt install <pkg>=<old_version>` per package using apt history (`/var/log/apt/history.log`).
|
||||
3. **Config rollback** — restore configs from `/tmp/infra-maintenance-backup-<date>/`.
|
||||
|
||||
Reference in New Issue
Block a user