ops: pre-upgrade dump, keep and restore path on sealed .dump.gpg (before the 12-01 release)
tsk-4tykype62j8a In progress Mr. Robot
Since 2026-11-30 18:52Z the CronJob maity-pg-dump writes only sealed dumps (maity-<ts>.dump.gpg + .sig, tsk-a2ah6ewgkpe8). The deploy path in maity-ops still expects a plaintext dump:
- `ovh/upgrade.sh pre` / `protect_pre`: it parses
dump ok: … .dump <bytes>. Today it would stop safely with "no parsable 'dump ok' line", so a release could not go out. - `ovh/keep-pre.sh` / `ovh/keep-pod.json`: they copy the pre dump into
/backups/keep. They must keep the.dump.gpgand.sigtogether, with the same sha256 rule. - Restore (
restore.sh,restore-check.sh, the procedure): the input becomes/work/pre.dump, which Oliver decrypts on his side and streams in (RUNBOOK).PRE_SHAchecks the ciphertext, and gpgv checks the signature before decryption.
Scope: maity-ops ovh/ only, tested locally with mocks. Review through 3zuk → u5az before the 12-01 release cut. Nothing applied; prod stays read-only for agents.