docs(runbook): state the nightly backup skew and the restore consistency pass #535

Sammanfogat
supernaut sammanfogade 1 incheckning från docs/159-backup-skew in i main 2026-10-04 12:46:19 +00:00
Ägare

What

The runbook now states the nightly archive's skew and gives a consistency pass for a restore.

  • "Backups": a "Consistency" bullet. The DB dumps run first, then the volume export, while Forgejo serves. Effects in the window: a push leaves unreferenced objects (harmless), a new repo shows as unadopted, a deleted repo keeps a DB row with no directory.
  • "Restore" step 6: after forgejo doctor check, adopt or delete unadopted repositories and delete any whose directory is missing.

Why not quiesce or forgejo dump

  • forgejo dump also reads a live system, so it is not app-consistent either.
  • Pausing Forgejo for the export means downtime on every run. The hourly hot backup has the same skew and is already documented ("Hourly hot backup", "Consistency"), and pausing hourly is not viable.
  • The dump-then-export order already gives the safe direction: repos are never older than the DB.

Tested

Docs only. prettier --check and pnpm mdlint clean.

Closes #159.

## What The runbook now states the nightly archive's skew and gives a consistency pass for a restore. - "Backups": a "Consistency" bullet. The DB dumps run first, then the volume export, while Forgejo serves. Effects in the window: a push leaves unreferenced objects (harmless), a new repo shows as unadopted, a deleted repo keeps a DB row with no directory. - "Restore" step 6: after `forgejo doctor check`, adopt or delete unadopted repositories and delete any whose directory is missing. ## Why not quiesce or `forgejo dump` - `forgejo dump` also reads a live system, so it is not app-consistent either. - Pausing Forgejo for the export means downtime on every run. The hourly hot backup has the same skew and is already documented ("Hourly hot backup", "Consistency"), and pausing hourly is not viable. - The dump-then-export order already gives the safe direction: repos are never older than the DB. ## Tested Docs only. `prettier --check` and `pnpm mdlint` clean. Closes #159.
supernaut lade till 1 incheckning 2026-10-04 12:44:28 +00:00
docs(runbook): state the nightly backup skew and the restore consistency pass
Alla kontroller lyckades
ci / ci (pull_request) Successful in 18s
b3e342707e
Closes #159.
supernaut sammanfogade incheckning 68e71777ed till main 2026-10-04 12:46:19 +00:00
supernaut tog bort grenen docs/159-backup-skew 2026-10-04 12:46:20 +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!535
Ingen beskrivning angiven.