Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Self-hosting

Leaving Google Photos: self-hosted libraries compared

Compare Immich, PhotoPrism, Ente and Nextcloud Memories as a Google Photos replacement: phone backup, search, encryption, sizing and a clean Takeout import.

CloudSat teamNovember 18, 20266 min read
Abstract illustration of photo tiles streaming from a phone into a glowing storage server
On this pageWhat you are replacing

Replacing Google Photos is really three projects. The first is automatic backup from every phone in the house. The second is a library you enjoy using, with search by faces and places, albums and sharing. The third is a safe copy of the originals that survives the server dying. Self-hosted photo apps handle the first two well. The third one is yours, and it decides whether the move was a good idea.

What you are replacing

  • Background upload from iOS and Android, without opening an app.
  • Search by person, place and content ("beach", "receipt", "dog").
  • Albums and sharing: shared albums, public links, a partner who sees everything.
  • Storage that grows without you thinking about it.
  • Redundancy you never see: Google keeps several copies. On your own server, you make them.

Four ways to host your photos

Tool License Phone backup Smart search Who can see the photos Documented minimum
Immich AGPL-3.0 Official iOS and Android apps Faces and content search on the server The server 2 cores, 6 GB RAM (4 GB without ML)
PhotoPrism Open source, plus a paid PhotoPrism+ membership Installable web app, uploads through sync apps Faces and labels on the server The server 2 cores, 3 GB RAM, 4 GB swap
Ente AGPL-3.0 Official apps pointed at your server On the device Only your devices (end-to-end encrypted) 1 core, 1 GB RAM, plus object storage
Nextcloud Memories AGPL-3.0 Nextcloud app auto-upload Faces through the Recognize app The server Whatever Nextcloud needs

Immich: the closest feel to Google Photos

Immich copies the experience most people want to keep: background backup from the phone apps, a timeline, a map, face grouping, content search, shared albums, partner sharing and external libraries for folders you already have. Machine learning runs in its own container on the server.

It also moves fast. The current line is v3 (3.4.1 shipped on November 11), and since v3 the machine learning container needs a newer x86-64 CPU level, with v2.7.5 as the last release for older processors. Read the release notes before every upgrade.

The requirements are specific: at least 6 GB of RAM (8 GB recommended) and 2 cores (4 recommended), or 4 GB with machine learning switched off. The PostgreSQL database belongs on local SSD storage, never on a network share. Budget an extra 10 to 20% of the library's size for thumbnails and transcoded video. Immich needs Docker with the Compose plugin, invoked as docker compose.

PhotoPrism: a mature web library

PhotoPrism indexes the folders you point it at, which suits people with a decade of organized directories who want to browse them rather than move them. It recognizes faces, adds labels and keeps strong metadata tools. It runs on SQLite or MariaDB 10.5.12 and later, and asks for 2 cores, 3 GB of RAM and at least 4 GB of swap. It is web-first: phones install it as a progressive web app and upload through sync apps over WebDAV, so automatic backup takes more setup than with Immich or Ente. A paid PhotoPrism+ membership funds development and adds features.

Ente: encryption first

Ente encrypts every file on your devices before upload, so the server stores data it cannot read. The self-hosted server is the same code Ente runs in production, self-hosting needs no subscription, and the apps can point at your own server. Because the server cannot see the photos, face recognition and search run on the devices. The minimum is 1 core and 1 GB of RAM with Docker Compose, plus an S3-compatible bucket for the files. The official quickstart script creates a my-ente directory; read it before you run it:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente/ente/main/server/quickstart.sh)"

The web apps then listen on port 3000 (Photos), 3002 (Albums) and 3003 (Auth), and the Ente CLI raises storage quotas for accounts. The trade-off is final: lose both your password and your recovery key, and nobody can decrypt the library.

Nextcloud Memories: if Nextcloud is already there

For households and teams already on Nextcloud, the Memories app adds a timeline, albums and maps over the files Nextcloud already stores, and the Recognize app adds face grouping. Phones upload through the Nextcloud app's auto-upload. Nothing new to run, but performance depends on how well the Nextcloud server is tuned.

Size the server for the library

Start from the library, not the software. Add up today's library, a year of growth and, for Immich, 10 to 20% for thumbnails and transcodes. Keep the database on fast local disk. Then pick memory by tool: 6 to 8 GB for Immich with machine learning, 3 GB plus swap for PhotoPrism, 1 GB for Ente with the files in object storage.

On CloudSat, Immich is a one-click app, and storage VPS plans from $2.78/mo give large libraries room on local NVMe.

Move your library out of Google

  1. Request a Google Takeout of Google Photos only, with the largest archive size, so you download a few big files instead of hundreds.
  2. Copy the archives to the server with rsync or scp from the machine that downloaded them.
  3. Use an importer that reads the metadata. Takeout keeps some information, such as descriptions, locations and album membership, in JSON files beside the photos. For Immich, the community tool immich-go matches each photo with its JSON file, recreates albums and skips files already on the server:
immich-go upload from-google-photos --server=https://photos.example.com --api-key=YOUR_API_KEY /srv/takeout/takeout-*.zip
  1. Spot-check a sample: old photos, edited photos, videos, and albums shared with you. Check dates and locations before deleting anything from Google.
  2. Keep the Takeout archives as a cold copy until you trust the new setup.

During the pilot, let phones back up to both services. Takeout is a snapshot, not a sync, so anything taken after the export only reaches the new library through the phone app.

Keep a copy that is not the server

A single server is one copy. Keep a second one somewhere else: object storage at another provider, or a disk at home that pulls a nightly copy. Back up the database dump and the upload directory together, because a library without its database loses albums, faces and edits. Then restore it once on a scratch server. Photos are the one dataset nobody forgives you for losing.

FAQ

Which option backs up phones most reliably?

Immich and Ente ship official mobile apps with background upload, and Nextcloud's app has auto-upload. PhotoPrism relies on third-party sync apps, which work but take more setup.

Can I run Immich on a 4 GB server?

Yes, with machine learning disabled, which removes face grouping and content search. With those features on, Immich documents 6 GB as the minimum and recommends 8 GB.

Is end-to-end encryption worth the trade-offs?

If the server or its storage could be seen by people you do not trust, yes: Ente's server only ever holds encrypted files. The cost is that search and face recognition run on your devices, and losing your password and recovery key means losing access for good.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.