ARCHOS 525 BLUEPRINT · /d/dgm_int-backup-service
Backup & Snapshot Service Internals (WAL PITR, Air-Gap & Automated Restore Test)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-backup-service) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-backup-service)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-backup-service" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Backup & Snapshot Service Internals (WAL PITR, Air-Gap & Automated Restore Test) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Primary Databases"]
n1_1[("Backup Coordinator")]
n2a_2["Continuous WAL Ship"]
n2b_3[("Cross-Acct WORM Vault")]
n3_4["Nightly Restore Bot"]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Trigger · Cron"| n1_1
n1_1 -->|"2a. Archive · S3 API"| n2a_2
n1_1 -.->|"2b. Lock WORM · Vault"| n2b_3
n2a_2 -->|"3a. Verify RPO · SQL"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Primary DatabasesSTATELESSPostgres / EBS / S3
- Backup CoordinatorSTATEFULSchedules full + WAL archive
- Continuous WAL ShipSTATELESSStreams 16MB WAL -> 1-min RPO
- Cross-Acct WORM VaultSTATEFULImmutable KMS-encrypted copies
- Nightly Restore BotSTATELESSRestores to ephemeral DB + SQL check
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Primary Databases → Backup Coordinator (Trigger)[Cron]
- Backup Coordinator → Continuous WAL Ship (Archive)[S3 API]
- Backup Coordinator → Cross-Acct WORM Vault (Lock WORM)[Vault]
- Continuous WAL Ship → Nightly Restore Bot (Verify RPO)[SQL]
- Cross-Acct WORM Vault → Nightly Restore Bot (Sync)[Control]
- Nightly Restore Bot → Downstream & OTel (Emit /)[OTLP/API]