docs(runbook): repair the hot restic repo when prune cannot find blobs #883

Sammanfogat
supernaut sammanfogade 2 incheckningar från docs/hot-repo-missing-blobs in i main 2026-11-10 16:26:40 +00:00
Ägare

Runbook entry for BackupHotFailed when the daily hot-repo prune stops with Fatal: failed finding blobs: id … not found in repository.

What happened

From 2026-11-06 the 04:17 UTC prune of restic/hot failed every day. The alert fired at about 04:25 and resolved after the next hourly run. Snapshots referenced blobs in packs that an earlier prune had deleted. The repo was repaired on 2026-11-09 with the procedure in this entry. The final check found no errors.

Change

  • New entry under "Hourly hot backup": symptoms, log signatures, and the repair sequence (unlock, check, repair index, repair snapshots --forget, check, forget --prune, check).
  • It notes that restic must run as bitborg from a directory that user can enter. Otherwise podman fails with cannot chdir.

Not covered

The cause is still open. On 2026-11-10 the prune again logged will forget missing pack file for 8 packs that earlier prunes had deleted. No snapshot needed them, so the run passed. Every delete marker in the bucket falls inside a prune window, and listings are consistent. Investigation continues separately.

Runbook entry for `BackupHotFailed` when the daily hot-repo prune stops with `Fatal: failed finding blobs: id … not found in repository`. ## What happened From 2026-11-06 the 04:17 UTC prune of `restic/hot` failed every day. The alert fired at about 04:25 and resolved after the next hourly run. Snapshots referenced blobs in packs that an earlier prune had deleted. The repo was repaired on 2026-11-09 with the procedure in this entry. The final `check` found no errors. ## Change - New entry under "Hourly hot backup": symptoms, log signatures, and the repair sequence (`unlock`, `check`, `repair index`, `repair snapshots --forget`, `check`, `forget --prune`, `check`). - It notes that restic must run as `bitborg` from a directory that user can enter. Otherwise podman fails with `cannot chdir`. ## Not covered The cause is still open. On 2026-11-10 the prune again logged `will forget missing pack file` for 8 packs that earlier prunes had deleted. No snapshot needed them, so the run passed. Every delete marker in the bucket falls inside a prune window, and listings are consistent. Investigation continues separately.
supernaut lade till 2 incheckningar 2026-11-10 16:25:53 +00:00
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-11-10 16:26:22 +00:00
supernaut sammanfogade incheckning 17d97d3a8c till main 2026-11-10 16:26:40 +00:00
supernaut tog bort grenen docs/hot-repo-missing-blobs 2026-11-10 16:26:41 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!883
Ingen beskrivning angiven.