Skip to content

impl(backups): mesh class-A restic backup runner — fleet-queue/fleet-platform/atlas → R2 restic-turso-mesh (#13455 slice 2) #14247

Backlog

Description

@dezren39

Parent: #13455 (mesh leg — Turso platform DBs → R2 restic deltas) · Grandparent: #9093 (backup mesh) · Program: #8983 · Design: doc/2026-11-23T16-34-18Z_design_backup_mesh/note.md
House rules: any schedule this creates lands its doc/fleet-schedule-registry.md row in the same PR; secrets by name only (Bitwarden at runtime, repo-archive pattern); builds/tests run via remote dispatch, never on the laptop or sandbox.

Scope

Slice 2 of #13455: the restic execution leg, as code only (no live run in this slice). A runner that, per the class-A stagger planner merged in PR #13476 (pkgs/cold-store-reaper/scripts/turso-mesh-class-a.py):

  • exports each class-A DB (fleet-queue, fleet-platform, atlas) via the proven path pkgs/cold-store-reaper/scripts/export-turso.sh (with its libsql /dump repair filter),
  • streams the compressed dump (stream-zstd) into restic backup against the dedicated repository restic-turso-mesh in the R2 supabase-backups bucket, tagged per DB,
  • builds the export manifest with the slice-1 manifest builder and stores it alongside the snapshot,
  • applies retention keep-daily 7 / keep-weekly 8 / keep-monthly 12 (design §5) via restic forget --prune policy flags.

Plus the systemd service/timer units implementing the planner's staggered weekly assignment, and the doc/fleet-schedule-registry.md row in the same PR.

Terms

  • Testable without live Turso, R2, or credentials: tests run the runner against a local restic repository fixture and a fixture dump; the live backend is selected by configuration (repo URL + password key by name only).
  • Failure of one DB's backup does not block the others; each DB's run reports its own exit status.

Acceptance

Filed by triage of #13455 (task 22703, lane felix, 2026-11-24). If a queue packet for this slice already exists from the 2026-11-24 triage routing, point it at this issue rather than duplicating.

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Refs #13455 — remaining work for the mesh leg (slice 2 of 4, per triage 7127688724 on #13455). Routed by triage task 22703 on lane oc-code-08, 2026-11-24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions