R-49 (D21 = B): a template may exclude a named volume from every backup (backup.volumes, class excluded) — Immich's model cache; guarded, red-proved; unreleased
gates / gates (push) Successful in 1m50s
gates / gates (push) Successful in 1m50s
This commit is contained in:
1 parent
cbc944c3c0
commit
6a17c95815
10 files changed
+246
-1
No files matched your search
@@ -1,3 +1,22 @@
|
||||
## Unreleased — a template may exclude a named volume from every backup (R-49, operator ruling D21 = B, 2026-10-22)
|
||||
|
||||
**MinAgent: 0.158.1** (unchanged). Committed, not released (night brief 2026-10-22: no controller release tonight).
|
||||
|
||||
- **`.felhom.yml` `backup.volumes`** (`appbackup.VolumeSpec`): the compose file's top-level named volumes with a class;
|
||||
only `excluded` means anything. An excluded volume is never dumped (`Manager.dumpableVolumes`, wired through the stack
|
||||
adapter's `GetExcludedDockerVolumes`), so it is in no recovery unit — not on the drive's copy, the second drive or
|
||||
off-site; its last tar leaves the unit through `DumpAppVolumes`' stale-tar clean-up. For a pure cache the app
|
||||
rebuilds itself — Immich's machine-learning model cache, 62 % of its off-site copy (R-49). A restore finds no tar for
|
||||
it and leaves the volume as the app makes it (Immich downloads its models again).
|
||||
- **Guards:** the list is NOT read by `ValidateBackupSpec` (that rejection is whole-block — a wrong volume entry must
|
||||
never cost the app its bind classifications); `appbackup.ExcludedDockerVolumes` ignores, with a logged reason, an
|
||||
entry that is not `excluded`, a name the compose does not declare, and — all at once — exclusions that would cover
|
||||
EVERY named volume (a unit with no volume dump is the R-403 hollow shape). An older controller ignores the key
|
||||
(non-strict YAML everywhere). `deepCopyStack` copies the new list (R-591's alias guard caught it).
|
||||
- Tests `TestR49_ExcludedDockerVolumes`, `TestR49_AVolumeEntryNeverInvalidatesTheBlock` (appbackup),
|
||||
`TestR49_AnExcludedVolumeLeavesTheUnit` (the whole dump run through the F7 tar seam — no Docker; red-proved: with the
|
||||
old volume list the cache is dumped again), `TestR49_NoExclusionProviderDumpsEverything`.
|
||||
|
||||
## v0.339.0 (2026-10-22) — a rebuilt box never overwrites the household's mail list (R-1199 reopened); the host-swap sentence only when swap is really short (R-1216, D28 = A)
|
||||
|
||||
**MinAgent: 0.158.1** (unchanged). Needs hub ≥ 0.165.0 for the read (an older hub: the box pushes nothing at start) —
|
||||
|
||||
Reference in new issue
Block a user