Workflows / For Home

Immich with NAS
A Reference Import and Restore Workflow

Follow one controlled path from a small photo collection to a recoverable library. This is a reference design requiring target-environment validation, not a completed Zettlab deployment report.

5 min readFor Home

A photography desk with two monitors, camera equipment and a NAS.
Preview updated Reference planning · No Zettlab application deployment or recovery test is claimed.

Scope: one host, one import route

This reference places Immich and its related services on an external supported Linux computer. The database stays on that computer's local SSD. A dedicated NAS media location is mounted on the Linux host with permissions verified for the selected Immich release. This reference covers one import route: a small upload through Immich's web interface. If the path mapping is unfamiliar, read how persistent volumes and bind mounts connect host storage before preparing the deployment.

The design does not install Immich on ZettOS, enable mobile background uploads, configure an external library, or prove hardware acceleration. Official documentation supports planning; it does not prove that this exact host, NAS share or restore has been tested. Complete the validation checks below before using the arrangement for an irreplaceable archive.

Prepare a small, inspectable source set

Choose ordinary photos and videos plus representative formats you care about. Include an older photo, a video with audio and any relevant metadata or motion-photo case. Avoid sensitive material for an initial experiment. Keep the source set unchanged on the computer.

For a historical cloud collection, first follow the iCloud export or Google Photos export guide. Use a verified sample from that export. This workflow does not repair a damaged or incomplete export.

Record the source filenames, sizes and checksums where practical. Preserve companion files and note which information you expect to appear in the photo application. File count, photo-item count and album count are different measures.

A creator working on a desktop computer with a NAS beside the display.
Start with files you can inspect and count, record the expected results, then test the reference import and restore process before expanding it.

Lay out the reference topology

Lay out the reference topology — comparison and reference data
Part Location in this reference Required check
Immich services External Linux host. Meets the selected release's architecture and resource requirements.
Database Local SSD on the Linux host. Supported storage and version; never substitute a network share for the required local database path.
Application-managed media Dedicated NAS location mounted on the Linux host. Supported mount behavior, correct access, sufficient space and reliable startup ordering.
Source sample Unchanged staging folder on a computer. Readable originals retained independently of the application.
Recovery set Independent destination. Database, required media, deployment files and protected settings preserved consistently.

Consult the official requirements and Docker Compose installation guide. Use their actual path variables and required files for the chosen release. A descriptive path in this article is not a replacement configuration.

Web client connects to an external Linux host; database is on local SSD, media on NAS, and recovery copies are independent.
Swipe to explore the diagram. This diagram shows the documented planning boundary. Check the exact release requirements, mounts, permissions and complete recovery set. View full-size diagram ↗

Validate storage before opening the library

  1. Mount the NAS destination deliberately. Use a dedicated account and the access the application requires. Verify ownership and effective read/write behavior from the Linux host.
  2. Check a missing-share failure. Before importing valuable files, confirm that services do not quietly write into an empty local mountpoint when the NAS is unavailable. Add an appropriate host-level dependency or guard for the validated environment.
  3. Keep database paths local. Verify the actual resolved database location on the SSD, not just the variable name in a deployment file.
  4. Use the release-matched setup. Follow the official deployment instructions, then inspect service status and logs. A running container is not proof that every component can reach its data.
  5. Record the environment. Save host and application versions, NAS model/software, mount method, paths and permissions. Do not publish passwords or secrets in that record.

Import through the web and inspect the result

Follow the selected release's web upload instructions to add the prepared sample. Keep this first task within the local network. Allow the documented jobs to complete and inspect errors instead of treating thumbnails as a complete success signal.

Open known photos, play the video with audio, and compare dates, orientation, resolution and any special metadata relevant to the sample. Check that the original can be retrieved. Create one clearly labeled test album to give the later database restore a recognizable item to verify.

If a format or attribute does not survive as expected, preserve the original and record the limitation. Do not broaden the claim to a complete cloud replacement or all-format support after one successful upload.

Build a consistent recovery set

Use the release's official backup and restore procedure to identify required media and obtain an application-consistent database backup. Coordinate the file and database copies at a known point in time; pause writes when the documented method requires it.

Use the independent-copy and restore planning guide to choose a recovery destination. Keep the required media directories, database backup, deployment definition, exact version record and necessary protected settings on that independent destination. A database dump without originals cannot recover the photographs. Originals alone may not recover accounts, albums or application records. Keep encryption and access credentials recoverable without relying on the unavailable host.

A NAS next to framed photographs and a plant on a sunlit cabinet
The goal is a photo library you can bring back. Keep original media and the application recovery set on independent storage, then test the documented restore procedure.

Restore into an isolated target

  1. Create a separate test environment with matching supported software and distinct data paths. Do not point it at the only live media directory.
  2. Restore the media and database in the order and state required by the official procedure. Prevent writes that would break consistency.
  3. Sign in, find the test album, open the known originals and play the video. Compare restored source files against the saved source checksums where applicable.
  4. Record missing items, metadata changes and any unresolved errors. A failed or partial recovery means the workflow is not yet validated.
  5. Keep a dated result with the exact environment, scope and backup destination. Repeat the relevant checks after a significant storage or application change.

Frequently asked questions

Has this worked on a Zettlab NAS?

No target-device test or completed recovery is claimed here. It is a transparent reference topology with checks that must be executed and recorded for the intended environment.

Can I replace the web upload with phone backup or an external library?

Those are separate workflows. Their background behavior, permissions, paths and deletion rules require their own tests. Keep this first route fixed so the results remain understandable.

Can I delete the source after the upload?

Not merely because upload completed. Retain verified independent recovery copies and prove restoration first. Decide source deletion separately, with any cloud synchronization consequences understood.

Next read

A little more clarity for your next decision.

A NAS on a home-office desk beside stacked document boxes.

Basics

Docker for NAS: Storage, Updates and Recovery

Read the guide