Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Free Open Source Photo Backup Tool: What I Use

· 4 min read · Home Tech

In this article
  1. Why I Stopped Manual Backups
  2. What Is Immich?
  3. How Immich Works
  4. Setting Up Immich
  5. Common Problems and Solutions
  6. Comparing Immich to Other Tools
  7. Costs and Safety Considerations
  8. Frequently Asked Questions

I stopped manually backing up photos when I deployed Immich, a free, open-source self-hosted photo management suite. It automatically backs up photos and videos from your phone to your own server, giving you Google Photos-like features without the subscription or data sharing.

Why I Stopped Manual Backups

Manual backups are tedious and error-prone. You have to remember to plug in your phone, copy files, and organize them. Miss a few weeks and you risk losing precious memories if your phone dies or is lost. Immich automates the entire process: once installed, it runs in the background, detects new photos, and uploads them to your server. It also handles deduplication, so you don't end up with multiple copies of the same image.

What Is Immich?

Immich is a self-hosted photo and video backup solution that runs on your own hardware (a NAS, a dedicated server, or even a Raspberry Pi). It provides a web interface and mobile apps for iOS and Android. Key features include automatic upload, facial recognition, album creation, and a timeline view. Because it's open source, you can inspect the code, contribute to it, and trust that your data isn't being mined for advertising.

How Immich Works

Immich consists of a server component and client apps. The server stores your media files and a database of metadata (dates, locations, faces). The mobile app runs in the background and uploads new photos when you're on Wi-Fi (or cellular, if you choose). It uses a “job” system to process uploads, generate thumbnails, and run machine learning tasks like object and face recognition. You can access your library via a web browser or the mobile app, and you can share albums with others via a secure link.

Setting Up Immich

Installation is straightforward if you're comfortable with Docker. Here’s a typical setup:

  • Install Docker and Docker Compose on your server.
  • Create a directory for Immich (e.g., /opt/immich).
  • Download the docker-compose.yml and .env files from the official Immich repository.
  • Edit the .env file to set your database password and the location where you want to store your photos.
  • Run docker compose up -d to start the services.
  • Access the web interface at http://your-server-ip:2283 and create an admin account.

After that, install the mobile app, sign in, and enable background backup. The initial upload of a large library can take time, but it's a one-time cost.

Common Problems and Solutions

Users often encounter a few issues:

  • Upload fails on iOS: Ensure the app has permission to access Photos and that Background App Refresh is enabled.
  • Server runs out of disk space: Plan storage needs based on your library size. Immich doesn't compress images, so a 64GB phone can fill up a 1TB drive quickly.
  • High CPU usage during face recognition: This is normal during the initial indexing. It will settle down after processing.
  • Can't access from outside home: You'll need to set up a reverse proxy (like Nginx) and a dynamic DNS service, or use a VPN.

Comparing Immich to Other Tools

Immich isn't the only option. Here's how it stacks up against common alternatives:

  • Nextcloud: A full cloud suite with photo backup, but it lacks advanced photo features like facial recognition and smart albums.
  • PhotoPrism: A self-hosted photo organizer that focuses on search and organization, but it doesn't have a dedicated mobile backup app (you'd need a separate tool like Syncthing).
  • Google Photos: Convenient and feature-rich, but not free (unlimited storage ended in 2021) and your data is used for training AI models.

Immich stands out because it combines automatic backup with Google Photos-like features, all in one package.

Costs and Safety Considerations

The software is free, but you'll need hardware. A Raspberry Pi 4 can handle a small library, but for a large collection, a dedicated NAS or PC is better. You also need to consider storage costs (hard drives) and electricity. For safety, follow the 3-2-1 backup rule: keep at least three copies of your data, on two different media, with one offsite. Immich can be configured to store files in a standard folder structure, making it easy to back up to an external drive or cloud storage. However, don't rely solely on Immich’s database—back up the photos directory and the Postgres database regularly.

Frequently Asked Questions

Is Immich really free?

Yes, Immich is completely free and open source (MIT license). There are no hidden fees or premium tiers. You only pay for the hardware and storage you use.

Can I use Immich without Docker?

Docker is the recommended method, but you can also run the server directly from source code or use pre-built binaries for Linux. However, Docker simplifies updates and dependency management, so it's the easiest path.

Does Immich compress my photos?

No, Immich stores original files exactly as they are. It creates smaller thumbnails for previews, but the full-resolution originals are preserved.

How do I migrate from Google Photos?

You can export your library from Google Photos using Google Takeout, then upload the files to Immich via the web interface. The app will read EXIF data to sort them by date.

What happens if my phone is lost?

Since your photos are already backed up to your server, you can restore them to a new phone by installing the Immich app and signing in. Your library will be accessible immediately.