filer.backup mirror merges all three collections into one namespace #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
filer.backupmirrors paths relative to-filerPath, so the bucket component of the path is dropped. All three collections therefore write into the same destination namespace:Currently:
Why it matters
data/or an immich subdirectory name from colliding with another bucket's path. The first writer wins, silently — no error, no log.-retentionDays=30runs per process against a shared directory, so one collection's retention decisions are not isolated from another's.Note on the layout
The date component is the source file's mtime, not the backup date. Content therefore spreads across
<mirror>/2026-09-23/,2026-09-24/, … as the watermark advances. Any verification must walk the whole tree; a singlelsof one dated directory badly under-reports.Options
findSink(util.GetViper())infiler_backup.go), not a flag, and the directory is a single global value inreplication.toml([sink.local] directory). But the config search path includes the CWD, so eachrun ...line couldcdinto its own directory holding a collection-specificreplication.tomlwith its owndirectory. Needs the extra configs mounted alongside the existing one.Verify