fix(backup-drill): free restore intermediates + bump drill VM to 80G #144
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!144
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/backup-drill-vm-disk-cleanup"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
The re-enabled restore drill (2026-07-19) failed: the drill VM ENOSPC'd importing the Forgejo data volume —
Host side worked as designed (#143): the pre-flight guard held, teardown cleaned up,
/srv/gitborg-backupreturned to 54% — no leak, the disk incident cannot recur. The failure is purely the drill VM boot volume.Root cause
restore-on-scratch.shkept three copies of the dataset alive at once:bundle.tar(kept the whole run) + the extractedforgejo-data.tar.gz+ the decompressed data volume in container storage. Peak ≈ 2× the compressed dataset + the uncompressed volume. The registry mirror (#137) grew the package registry with barely-compressible container blobs (gitea/data/packages/…) and pushed a 60 GB VM over.Fix
bundle.tarafter extract,db.dumpafterpg_restore,forgejo-data.tar.gzafter volume import — so peak disk is proportional to the dataset (same principle as the host-sideos.remove(archive)in #143).Verification plan (post-merge/apply)
Apply
--tags backup-drill, trigger one run, confirmforgejo doctorpasses +BackupDrillFailedclears + backup vol stays flat → then close #131.Refs #131.