Skip to main content
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
[![Backup & Snapshot Service Internals (WAL PITR, Air-Gap & Automated Restore Test) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-backup-service/opengraph-image)](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_5

COMPONENT STACK (6)

  • Primary DatabasesSTATELESS
    Postgres / EBS / S3
  • Backup CoordinatorSTATEFUL
    Schedules full + WAL archive
  • Continuous WAL ShipSTATELESS
    Streams 16MB WAL -> 1-min RPO
  • Cross-Acct WORM VaultSTATEFUL
    Immutable KMS-encrypted copies
  • Nightly Restore BotSTATELESS
    Restores to ephemeral DB + SQL check
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Primary Databases → Backup Coordinator (Trigger)[Cron]
  2. Backup Coordinator → Continuous WAL Ship (Archive)[S3 API]
  3. Backup Coordinator → Cross-Acct WORM Vault (Lock WORM)[Vault]
  4. Continuous WAL Ship → Nightly Restore Bot (Verify RPO)[SQL]
  5. Cross-Acct WORM Vault → Nightly Restore Bot (Sync)[Control]
  6. Nightly Restore Bot → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →