The backups line on Resilience (#8867)

/resilience and the terminal's Resilience dialog (palette: Resilience, admins) both open with one line on backups. Both read it from src/snapshot/backups_line.ts, so the web page and the terminal use the same words.

Giving a forge a bucket

The first of these that is set wins (src/snapshot/destination.ts):

  1. Sealed in the forge. On the web, /settings/backups takes an endpoint, bucket, region and two keys. In the terminal, the Resilience dialog's d asks for the same five fields. The keys are sealed and are never shown again. t tests the destination.
  2. A directory: FORGE_SNAPSHOT_DIR=/path in the forge's environment.
  3. The host's bucket: S3_ENDPOINT, S3_BUCKET, S3_ACCESS_KEY, S3_SECRET_KEY and optionally S3_REGION, which a host-provisioned forge is given.

The line describes the store that the running process holds. After you save a destination, the next use resolves it again and the line names it.

When a restore was last proven (#13052)

A backup is only as good as the last restore that worked. The forge's restore drill restores the newest snapshot into a scratch directory and checks it; this line says when that last passed, so an owner sees it without running one.

Where to read it

What it says

Prove one now

Open /settings/backups and run a drill, or call the MCP tool restore_drill. Reload /system: the line reads Restore proven just now.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs