explainer / Nov 24, 2026
Immich Storage Templates Organize Files, Not a Portable Photo Catalogue
Readable photo folders can help a home archive, but Immich still needs its database. Separate a filename policy from albums, external libraries and recovery.

An Immich storage template makes uploaded photo and video paths more understandable. It does not turn those folders into a complete, independently recoverable photo catalogue. For a self-hosted archive, choose the physical layout for a concrete file-management need and preserve the database separately. A tidy directory tree and a working recovery plan answer different questions.
Decide whether the requirement concerns files or browsing
A household may want dates in directory names because it also inspects storage through a filesystem browser. Another household may mostly use Immich's timeline and albums. Those are different reasons to organize a collection, and only the first necessarily calls for a different on-disk layout.
The official storage-template documentation describes an administrator-controlled naming pattern for directories and filenames. The setting lives at Administration > Settings > Storage Template. Changing it is a server administration decision, not merely a personal display preference. This explainer covers that decision rather than prescribing a migration on an existing library.
Before considering a change, the administrator needs to know which assets were uploaded to Immich, which belong to external libraries, and which filesystem locations the backup actually includes. If those distinctions are unclear, a more attractive filename pattern is not the missing information.
An album can describe more than one place
A photo can belong to several albums, but a generated filesystem path has to select one location. Immich documents a specific rule for the {{album}} variable: when several albums contain the asset, it uses the most recently created album. That is not necessarily the album a person considers the primary home for that picture.
Consider a landscape photograph included in both a holiday collection and a later exhibition shortlist. An album-based path cannot, by itself, express the whole relationship between that file and both collections. It is a storage naming choice, not an export of every album membership.
A date-oriented layout avoids that particular ambiguity, but has another interpretation detail: date and time variables use the server's local timezone. A photograph taken around midnight may therefore need closer inspection before its directory name is treated as a statement about the photographer's local calendar day.
A naming rule and a completed move are separate states
The template setting describes the desired pattern. Immich provides a Storage Template Migration job to apply a new pattern to existing assets. Merely deciding on a new template is therefore not evidence that the complete collection has reached the new layout.
The documented collision behavior also matters. If a pattern would give multiple files the same name, Immich adds a sequence number rather than overwriting one of them. A readable template should not be understood as a promise that every resulting name is unique without an additional suffix.
The useful expected result is narrower: uploaded assets can have paths shaped by the selected naming policy. It is not a deduplication result, a second copy of the photos, or proof that an independent application can reconstruct the catalogue.
Existing external folders have a different owner
An external library is not just another upload folder with a friendlier name. Immich indexes files already located outside its managed upload storage. Its external-library documentation explains import paths and rescanning as the mechanisms for observing that collection.
Do not interpret the storage-template feature as permission to reorganize an external archive underneath a working index. The current external-library documentation warns that moving a file can make it appear as a new asset after rescanning, losing the previous Immich-only metadata association. Filesystem ownership and catalogue identity need to be considered together.
For a library shared with another photo application, the practical question is which application controls the files. An Immich naming policy is not a general agreement between every tool that can access a NAS directory.
The database remains part of the photograph collection
Immich's backup guidance says the database stores paths and user metadata; the application does not rebuild its managed library simply by scanning that folder. A filesystem layout that a person can read is valuable, but it does not eliminate that database dependency.
Database dumps do not contain the original photographs or videos either. Recovery needs both records and assets, with attention to their consistency. The documentation recommends backing up the complete upload location, and calls out adjustments when particular storage folders have been moved elsewhere. External-library files also need protection in their actual locations.
A folder policy should therefore be evaluated against the backup scope, not used as a substitute for it. An archive can be beautifully arranged and still lack the files or database state needed for restoration.
Choose the smallest policy that solves the real need
Use these questions to decide whether a template change is worth planning:
- Does another legitimate workflow actually need human-readable paths, or is the goal only easier browsing inside Immich?
- Would an album-based path misleadingly suggest that each photo belongs to only one collection?
- Are existing uploaded assets and external-library files clearly distinguished?
- Does the recovery copy include the database and every relevant asset location?
- Is there an independently recoverable checkpoint before any broad file-layout change?
If the need is simply to find pictures, a storage migration may be a larger intervention than the problem requires. If readable paths are genuinely useful, treat them as one layer of the homelab archive: understandable file placement, backed by a separately preserved catalogue and original media.
Verification ledger