ops: ship a built-in backup mechanism (split from #153) #157
Labels
No labels
kind
bug
kind
enhancement
wayfinder
grilling
wayfinder
map
wayfinder
prototype
wayfinder
research
wayfinder
task
workflow
needs-info
workflow
needs-triage
workflow
ready-for-agent
workflow
ready-for-human
workflow
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rosa/vernier#157
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split from #153. #153 corrects the documentation to a safe manual snapshot (
VACUUM INTO/.backup); this issue tracks whether Vernier should ship a built-in backup mechanism so operators don't have to reach forsqlite3by hand.Problem
Even with corrected docs, backup remains a manual, operator-driven
sqlite3incantation against a live WAL database (see #153). For the "runs on a small box, little upkeep" goal (ARCHITECTURE.md Goal #1), a self-hoster reasonably expects backup to be a first-class, hard-to-get-wrong operation rather than tribal SQLite knowledge. Media live in the same database (ADR-0017), so this file is the entire instance — the cost of a missed or botched backup is total.Options to weigh
VACUUM INTOto a target path. In-process, no new dependency, no sidecar; still operator-triggered (they wire the cron). Cheapest fit for Goal #1.Decision needed
This is a design judgment call (durability vs. upkeep vs. added surface), so it's for a human, not an AFK agent. Deciding the scope — do nothing beyond #153, ship a snapshot command, or adopt Litestream — is the first step; an ADR should record whichever way it lands.
Depends on: #153 (docs) landing first.