fix(backup): exclude the code-search index from the archive #775
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
priority
high
priority
low
priority
medium
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!775
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/exclude-zoekt-from-backups"
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?
The hot backup already skips
/forgejo/indexers. The age archive exports the whole Forgejo volume, so drop the index from that tar stream too. The index is derived data and Forgejo rebuilds it.The filter is a small stdlib script, covered in
scripts/test_backup_guards.py. It accepts member names with or without a./prefix. GNUtar --deletewas not used because it fails when no index exists.Not tested against a real
podman volume exportstream.Closes #189
Closing without merging. The hot backup already excludes
/forgejo/indexers, and code search is off, so the archive holds no index today. This adds a stream filter to the backup path for no current gain. Revisit when code search is re-enabled.Ändringsförfrågan stängd