CCR-2026-0004 / railiance-backup-offsite-lane is resolvable; mark T01 done and move T02–T04 into progress for Option A schedule implementation.
4.3 KiB
| id | type | title | domain | repo | status | owner | topic_slug | created | updated | state_hub_workstream_id |
|---|---|---|---|---|---|---|---|---|---|---|
| RAILIANCE-WP-0015 | workplan | CNPG backup ScheduledBackup coverage — drive cnpg-backup-status to healthy | financials | railiance-apps | active | codex | railiance | 2026-07-14 | 2026-07-22 | 1437c98c-e37b-4578-b033-dc3da8ba7870 |
CNPG backup ScheduledBackup coverage
Parent / origin: descoped out of RAIL-HO-WP-0005 (Forgejo Production
Migration, finished 2026-07-14) T04/T09. The migration is complete; this is the
residual DB-backup operational hardening, not a migration blocker.
Goal
Drive make cnpg-backup-status (railiance-apps) from degraded → healthy:
scheduled, unattended, encrypted, off-cluster backups with a passing restore
drill for all four production CNPG clusters — apps-pg, gitea-db,
net-kingdom-pg, state-hub-db (CoulombCore databases namespace).
Current state (2026-07-22)
- T01 (CCR-2026-0004 offsite credentials) is done: catalog
railiance-backup-offsite-laneisresolvable: true/readiness: ready; OpenBao path holdsNC_WEBDAV_TOKEN,NC_WEBDAV_URL,AGE_PRIVATE_KEY; OIDC rolerailiance-backup-workload-kv-readgrantsreadon the data path (verified 2026-07-22, capabilities-safe / key inventory only). cnpg-backup-statusstill reports degraded under the old barmanScheduledBackupdefinition; Option A logical-dump schedules are the target.- Phase 1 evidence for
apps-pg/vergabe_dbexists (RAILIANCE-WP-0013); this workplan generalizes to all four clusters with unattended coverage.
Task: Provision CCR-2026-0004 offsite credentials (operator)
id: RAILIANCE-WP-0015-T01
status: done
priority: high
needs_human: false
state_hub_task_id: "3df45d8d-39e0-45db-9611-941f066c610a"
Operator provisions NC_WEBDAV_TOKEN, NC_WEBDAV_URL, AGE_PRIVATE_KEY per
CCR-2026-0004 so the lane becomes resolvable. Done when:
warden access railiance-backup-offsite-lane --fetch NC_WEBDAV_TOKEN succeeds and
the CCR flips to resolvable: true.
Closed 2026-07-22: CCR resolvable: true, readiness: ready; OIDC login +
data-path read capability + field presence verified without printing values.
Note: OIDC token cannot auth/token/create (403 expected); verify with
bao token capabilities on the current token and/or key inventory, not child
token minting.
Task: Create offsite backup Secret in databases namespace
id: RAILIANCE-WP-0015-T02
status: progress
priority: high
state_hub_task_id: "7d9b2022-c533-4d49-9a91-fc34ae99aa9a"
Once T01 resolves, materialize the databases namespace Secret from the lane
(no plaintext in Git — sourced via OpenBao/operator path). Done when: the
Secret exists and pg_dump/WebDAV upload authenticates.
Task: Wire scheduled backup for all four CNPG clusters
id: RAILIANCE-WP-0015-T03
status: progress
priority: high
state_hub_task_id: "2b97e3ee-6284-4e5f-b56e-df57194cc7b8"
Implement the decided Option A lane as an unattended schedule for apps-pg,
gitea-db, net-kingdom-pg, state-hub-db: age-encrypted logical dump →
Nextcloud WebDAV, 14 daily + 4 weekly retention. Uncomment/parameterize
manifests/cnpg-backup-readiness.yaml (or CronJob equivalent). Done when:
each cluster has a running scheduled backup producing encrypted off-cluster
artifacts without manual intervention.
Task: Reconcile cnpg-backup-status health definition with Option A
id: RAILIANCE-WP-0015-T04
status: progress
priority: medium
state_hub_task_id: "151656cb-73ca-4d52-842e-22f14690f71c"
cnpg-backup-status.sh currently reports degraded whenever a CNPG-native
ScheduledBackup resource is absent, but the decided approach is logical-dump
CronJobs, not barman ScheduledBackup. Update the health check so a passing
Option-A schedule reports healthy (or adopt barman ObjectStore if chosen
instead). Done when: make cnpg-backup-status reflects the real, decided
posture.
Task: Restore drill + RPO/RTO evidence, mark healthy
id: RAILIANCE-WP-0015-T05
status: wait
priority: high
state_hub_task_id: "59f41267-94a9-45f0-a9d7-3c0cb16689ff"
Run an isolated-namespace restore drill from a scheduled artifact for at least
one cluster; record RPO 24h / RTO 4h evidence. Done when: make cnpg-backup-status → healthy and restore evidence is recorded.