fix(backup): exclude lost+found from the Forgejo [storage] tar #199
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!199
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/backup-storage-lost-found"
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?
Bug
The #188 Forgejo
[storage]volume export fails the entire nightly backup:podman unshare tar -C /srv/gitborg-lfs .reads the tree as the mapped git subuid, but a dedicated ext4 volume's mount root carries a root-owneddrwx------ lost+foundit can't open → tar exits 1 →pipefailfails the whole backup (no archive written). Samelost+foundgotcha that bit the #188 chown.Caught by a manual
systemctl --user start bitborg-backup.serviceafter the 2026-07-21 cutover — it would have failed every scheduled run from now on.Fix
--exclude=./lost+foundon the storage tar. It's a filesystem artifact, never Forgejo data, and a restored filesystem creates its own, so dropping it is safe.Verified: applied to prod + re-ran the backup; the storage export now completes and the archive contains
forgejo-storage.tar.gz(confirming in the same run).