docs(backup): correct why the sidecar database is not backed up #20
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/teams-phase1-guild-roster"
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?
Teams Phase 1, smallest piece. Docs only — no logic change. Targets
edge.Spec:
docs/link/v4.md§3.2backup.rsjustifies skipping the sidecar database on two claims. Protocol 4 falsifies one and reveals the other was already wrong."
store.rscreates every tableIF NOT EXISTS." That held only while every schema change added a whole table — which, up to and including Protocol 3.0, every one did. Protocol 4 adds a column to a table that already exists, whichIF NOT EXISTScannot do, solinknow carries a real migration (link #31). A run can change the database's structure, not only its contents."Every table holds shard state the sweeps repopulate."
eventsdoes not. It is never pruned, andmodule-uo/server/utils/uoLinkSocket.jsbackfills what the site missed fromGET /historyon every reconnect. So a lost database costs the gap-recovery window for whatever happened while the site was down — and this claim was untrue before this workstream existed.The behaviour does not change. The database is still not copied, because the argument against backing up unbounded bulk survives both corrections:
eventsgrows without limit, the migration is transactional and additive, and the website holds its own durable copy of everything it has already ingested. Only the reasoning was wrong — and a wrong reason left in place is what lets the next person extend it to a case it never covered.Whether that unbounded table should be pruned or protected belongs to
link, on its own merits, rather than being settled inside a backup policy. Flagging it rather than acting on it.cargo fmt --checkclean;cargo test149 passed.AI-assisted: written with Claude Code. Commits carry
Co-Authored-By: Claude <noreply@anthropic.com>.