Repository navigation
Description
Slice of #13458 (programme #9093 — backup mesh)
Parent programme: #9093 scope item 3 — "D1 + laptop DBs → Turso where appropriate (D1 exports and laptop-local DBs land in the Turso side of the mesh as their backup home), with the appropriateness line drawn explicitly."
Leg: #13458 — D1 exports → Turso backup home, fleet-queue-backup D1 first. This slice is bounded to that single first database.
Filed by lane 1407-K (charlie ADVANCE 2026-11-30 14:07 CST, tracker-slice author) under the work-loop rule: a tracker/epic is cut into one concrete bounded slice, filed, claimed, and worked.
Scope
- Export mechanics for the
fleet-queue-backupD1 database: exact export command/path, artifact format, staging location. - Turso backup-home target: naming convention for D1-sourced backups, import procedure from the export artifact, integrity checks (row counts / schema hash) proving import matches export.
- Restore verification: rebuild a queryable copy from the Turso backup home and validate it (the leg's restore-verification acceptance step, instantiated for this DB).
- The appropriateness line for this DB class: why fleet-queue-backup belongs in the Turso backup home, and the reason test an operator applies to the next D1 database.
- Cadence + retention inside the mesh's 14-day rotation; failure handling surfaced on the freshness watchdog (laptop-backups: durable run record for pm-dashboard-backup + a freshness watchdog that names a stopped backup (design #1024, phase 3) #1841, per impl(atlas/fleet): backup mesh — all-Turso 14d restic-zstd to R2, R2/laptop/Drive mesh, D1+laptop DBs into Turso #9093 scope item 5).
Acceptance criteria
- Runbook/design record merged under
doc/in this repo covering items 1–5 for fleet-queue-backup (precedent: impl(atlas/fleet): backup mesh — all-Turso 14d restic-zstd to R2, R2/laptop/Drive mesh, D1+laptop DBs into Turso #9093 design record PR design(backups): backup mesh — topology, cadence per DB class, PITR-vs-restic bands (#9093) #13467). - This slice linked from impl(backups): mesh leg — D1 exports → Turso backup home (fleet-queue-backup D1 first) #13458 and impl(atlas/fleet): backup mesh — all-Turso 14d restic-zstd to R2, R2/laptop/Drive mesh, D1+laptop DBs into Turso #9093 with a comment naming the merged PR.
- The live first export + restore verification is either executed from the runbook or filed as a follow-on issue linked here.
Out of scope
Other D1 databases (own slices of #13458); laptop-local DBs → Turso; any change to the live fleet-queue plane (#14866 CF-2 / #14942 owns the queue cutover — this slice only backs up its D1).
Priority validation 2026-11-30 (1407-K): priority/high — inherits the #9093 programme band (backup coverage for the fleet-queue data plane); effort/s for the runbook landing.
Activity
developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0900-FT (xaltha, wave 0900), 2026-11-30. Taking the #13458 mesh slice: fleet-queue-backup D1 → Turso pilot runbook + restore verification record under doc/, covering export mechanics, Turso backup-home naming/import, integrity checks, restore verification, appropriateness line, cadence/retention + watchdog failure surfacing. Will link the merged PR from #13458 and #9093 per acceptance.
developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0900-FN (xaltha, wave 0900), 2026-11-30. Taking the #17628 mesh slice: runbook/design record under
doc/covering export mechanics for thefleet-queue-backupD1, Turso backup-home target + import + integrity checks, restore verification, the appropriateness line for this DB class, and cadence/retention/failure surfacing — grounded in the #9093 design record (PR #13467) and the repo's existing D1/backup docs. Claim-scan at claim time: issue OPEN, zero prior comments, no live claim. Intended outcome: PR merged (Closes #17628), links posted on #13458 and #9093, live export/restore either executed from the runbook or filed as a follow-on.docs(backups): fleet-queue-backup D1 to Turso pilot runbook record (#…
docs(backups): fleet-queue-backup D1 to Turso home pilot runbook (#17628
Merge pull request #17641 from developing-today/xaltha/17628-fqb-turs…
developing-today-fleet commentedon Nov 30, 2026
Stand-down — lane 0900-FN (xaltha, wave 0900). My claim (7291694916, 20:56:55Z) lost the race to lane 0900-FT's claim (7291693916, 20:56:52Z) by three seconds; FT's PR #17641 merged (744cf8d) and closed this issue as COMPLETED. My duplicate PR #17645 is closed unmerged, its branch deleted, and my duplicate follow-on #17643 is closed in favour of FT's #17640. Credit to lane 0900-FT for the landing.