A short, practical guide to restoring Immich for Docker Compose deployments. It covers validating backups, restoring the database, and performing a test restore safely.
Read this first: This guide targets Docker Compose setups that follow the official Immich layout. Not for Helm/Kubernetes or heavily customized installers.
Quick start (TL;DR)
- Review Part 2. Immich backup restore - Getting Started and confirm prerequisites.
- Make a backup of the complete <MASTER_DIR> For a correct backup strategy, (see The 3-2-1 Backup Method).
- Ensure you have a recent DB dump and follow the [Part 3. Immich backup restore - Basics] under
upload/backups/. - Follow Part 4. Immich backup restore - Restoring your Database to perform the restore on a clean instance.
- Verify your library; document any errors and fixes.
Danger: Some steps remove volumes and will wipe data. Triple‑check paths and backups before running destructive commands.
Audience
- Self-hosters using Immich with Docker Compose.
- People who want a repeatable restore process and periodic test restores.
Minimum requirements
- SSH access to the host and basic CLI skills.
- The Immich master folder (e.g.,
/volume1/docker/immich). - A recent database dump (
*.sql.gz). - Optional: space to stage a second instance for testing.
Contents
- Part 1. Immich backup restore - Intro — Scope and assumptions
- Part 2. Immich backup restore - Getting Started — Paths and preflight checks
- Part 3. Immich backup restore - Basics — What to back up and where
- Part 4. Immich backup restore - Restoring your Database — Step-by-step restore
- The 3-2-1 Backup Method — Backup strategy and drills
Preflight checklist
- I have a full backup of
MASTER_DIR(includingupload/). - A recent DB dump is available and verified.
- I can stop/start containers and understand which volumes will be affected.
- I will perform restores on a clean or test instance first.
Support
For help: include your Immich version, timezone, sanitized docker-compose.yml and an indication of CLI experience. Contact: jpar99redditsupportb.steersman452@passmail.com
Start here → Part 1. Immich backup restore - Intro