Skip to content

v0.9.43 — The Barrow

Choose a tag to compare

@RyanDMcAfee RyanDMcAfee released this 11 Jul 12:28
· 7 commits to main since this release

The Barrow — layered backup & restore manager

Every world's backup history, in one place. Open it from the command palette (World backups) or the The Barrow button in the world saves view.

What it shows

  • Per-world drill-down — each world on disk (shared save folder and every isolated server copy) groups its full layer stack under it.
  • Layer kinds: automatic snapshots (_backup_auto-), the game's last-known-good .old pair, and pre-restore safety copies BakaLoader lays down itself.
  • Rich info per layer: size, in-game world day (read straight from the .db header), and delta-plus-time stamps like "3d ago at 1945".
  • Owner profile, running state, and save-folder location for every world.

Safe, reversible restores

  • Restoring a layer first snapshots the current live files as a _backup_restore-<timestamp> layer — every restore is reversible from the Barrow itself.
  • Refuses to restore while a server is running that world (the live game would clobber the files).
  • Warns when a layer has no paired .db (metadata-only restore).
  • Delete unwanted layers with confirmation.

Under the hood

  • Three new bridge RPCs (backups.overview / backups.restore / backups.delete) with multi-layer path validation — backups can only be targeted inside known save folders, and the live world pair can never be selected as a "backup".
  • World day decoded from the save's netTime (day ≈ netTime / 1800).
  • Full plain-terminology coverage (Barrow/layers/unearth → Backups/backups/restore).

Gates: build 0 errors · 76/76 tests · UI probe suite all-pass.