Nextcloud vs Immich: File Sync or Photo Backup?
Comparing Nextcloud vs Immich is a bit like comparing Google Drive with Google Photos. Both can store your pictures, and both have mobile apps that upload them automatically, but they’re built around different jobs. Nextcloud is a general file sync, sharing and collaboration platform. Immich is a dedicated photo and video library.
This comparison was checked in December 2026 against Nextcloud server 35.0.3 (released November 12, 2026) and Immich v3.4.2 (released November 18, 2026), using each project’s own documentation. If you’re still deciding on hardware, see home server vs NAS first.
For movies, shows and music from your own collection, a media server is a better fit; see Jellyfin vs Plex.
The short answer
- Pick Immich if your goal is getting every phone in the family backed up to your own server, with face recognition, search and a timeline that feels like a commercial photo app.
- Pick Nextcloud if you want to sync documents between computers, share folders and links with others, keep file versions, and optionally add calendars, contacts or office editing.
- Run both if you want both. They don’t conflict, and many self-hosters use Immich for photos and Nextcloud for everything else.
Feature comparison
| Feature | Nextcloud | Immich |
|---|---|---|
| Main purpose | File sync, sharing and collaboration | Photo and video backup and browsing |
| Current version (Dec 2026) | 35.0.3 | v3.4.2 |
| License | Open source (AGPL) | Open source (GNU AGPL v3) |
| Desktop sync client | Yes (Windows, macOS, Linux) | No |
| Mobile auto-upload | Yes | Yes, including background backup |
| Face recognition | With the Recognize app (Memories app shows faces) | Built in, with clustering |
| Smart / semantic search | Tags from Recognize | Built in: metadata, objects, faces and CLIP search |
| Map and “memories” views | With the Memories app | Built in |
| RAW and Live/Motion photos | Previews depend on apps and server setup | Built in support listed |
| Sharing | Links with passwords, expiry dates, one-time passwords | Shared albums, public links, partner sharing |
| File versioning | Yes | Not a file-versioning tool |
| End-to-end encryption | Available | Not offered |
| External storage | SMB/CIFS, NFS, S3, SFTP and more | External libraries from existing folders |
| Office, calendar, contacts | Yes, via apps | No |
| Recommended deployment | Nextcloud All-in-One (Docker) or packages | Docker Compose (required) |
Feature details come from the Nextcloud Files page, the Recognize README, and Immich’s feature table on GitHub.
Photos in Nextcloud: what you get and what you add
Out of the box, Nextcloud’s mobile apps can upload photos and videos automatically, and the Photos app shows them in a grid. The gap is intelligence. For face grouping and object tags you install Recognize, which, according to its README, recognizes faces, animals, landscapes, food, vehicles, buildings, landmarks and even music genres, and tags files through Nextcloud’s collaborative tags. It runs the models locally with TensorFlow.js, so no images leave your server. Its object-recognition model alone is about 1 GB, and it can’t analyze end-to-end encrypted files because the server can’t read them. The faces it finds are browsed through the Memories app.
That modular approach is Nextcloud’s strength and its cost: you can add exactly what you want, but each app is another component to update and keep compatible with your server version.
Immich: a dedicated photo platform
Immich’s feature list reads like a commercial photo service: automatic and background backup from the mobile app, duplicate prevention, albums and shared albums, partner sharing, a global map, “memories” from past years, facial recognition and clustering, search by metadata, objects, faces and CLIP, RAW support, Live/Motion photo playback, OAuth sign-in and a folder view. Machine-learning features run on your own hardware in a separate container.
Immich is now a mature release line (the default .env tracks v3), but it still moves quickly, so read release notes before upgrading, and pin a version if you prefer to upgrade on your own schedule.
Hardware and installation
Immich
Immich publishes clear requirements: 6 GB RAM minimum, 8 GB recommended; 2 CPU cores minimum, 4 recommended, a 64-bit Linux host, and Docker with the docker compose plugin (the old docker-compose v1 is no longer supported). Its Postgres database should sit on local SSD storage and “never a network share of any kind,” on a filesystem that supports Unix ownership and permissions. Thumbnails and transcoded video add roughly 10–20% to your library size.
The official install steps:
mkdir ./immich-app && cd ./immich-app
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
nano .env
docker compose up -d
In .env, set UPLOAD_LOCATION to a folder with plenty of space, keep DB_DATA_LOCATION on local storage, replace the default DB_PASSWORD (Immich suggests letters and numbers only), and set TZ to your time zone. If Docker reports that docker compose isn’t a command, see docker compose command not found.
Nextcloud
Nextcloud’s admin manual is less prescriptive about whole-system hardware; it states each PHP process needs at least 128 MB of RAM and recommends 512 MB, and strongly recommends a 64-bit CPU, OS and PHP. For home use, the simplest route is Nextcloud All-in-One (AIO), a master container that deploys and updates Nextcloud with PostgreSQL, Redis and optional extras such as Nextcloud Office (Collabora), a Talk backend, Imaginary for HEIC and other previews, ClamAV, full-text search and BorgBackup-based backups.
The AIO README’s command for a Linux host without an existing reverse proxy:
sudo docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
ghcr.io/nextcloud-releases/all-in-one:latest
Port 8080 serves the AIO setup interface with a self-signed certificate; ports 80 and 8443 are used to obtain and serve a valid certificate for your domain. Note that this container is given access to the Docker socket, which effectively grants it control of the host’s Docker, so run it on a machine dedicated to self-hosting.
Backups: do this before you delete anything from your phone
The worst outcome with either app is trusting it as your only copy. Immich’s backup documentation recommends a 3-2-1 strategy and is specific about what matters:
- Back up
UPLOAD_LOCATION/library,uploadandprofile. Thumbnails and encoded video can be regenerated. - Immich writes automatic database dumps to
UPLOAD_LOCATION/backups, by default daily at 2:00 AM, keeping the last 14. Include that folder in your backups. - Restores can be done from the admin maintenance page, from the welcome screen of a fresh install, or with
pg_dump/psql.
For Nextcloud, back up the data directory, the database and the configuration together; AIO’s built-in BorgBackup option handles all three and can write to an external drive. In both cases keep one copy off-site, and test a restore before relying on it.
Running both on one server
If you plan to host both apps, size the machine for Immich first, because its published requirements are the higher of the two. A practical plan:
- Memory: start from Immich's 8 GB recommendation, then add room for Nextcloud's PHP workers (Nextcloud recommends 512 MB per process) and its database and cache containers. 16 GB gives comfortable headroom for both plus a few small services.
- Fast local storage for databases: put both apps' databases on an internal SSD. Immich is explicit that its database must not live on a network share, and Postgres benefits from low latency in general.
- Bulk storage for originals: photos, videos and synced files can live on larger, redundant drives. Budget an extra 10–20% for Immich's thumbnails and transcoded video.
- Separate stacks: keep each app in its own Compose project or AIO instance so you can update, back up and restore them independently.
Security considerations
Both apps hold some of the most personal data you own. Keep them behind a VPN, or publish them only through a reverse proxy with TLS and strong authentication. Don’t expose the AIO interface on port 8080 to the internet. Enable two-factor authentication or OAuth sign-in where available, and keep both updated. For private remote access from phones, a mesh VPN is the lowest-risk option; see Tailscale vs WireGuard.
Decision checklist
- "I want my family's phone photos backed up automatically and easy to browse." Immich.
- "I want Dropbox-style sync for documents across PCs." Nextcloud.
- "I want to share folders with people outside my home, with expiring links." Nextcloud.
- "I want face search and a map without installing extra apps." Immich.
- "My server has 4 GB of RAM." Nextcloud fits more easily; Immich needs machine learning disabled at that size, per its requirements page.
- "I need end-to-end encryption." Nextcloud offers it; Immich doesn't.
- "I want both." Run Immich for photos and Nextcloud for files, and leave Nextcloud's camera auto-upload switched off on phones that already back up to Immich, so photos aren't uploaded twice.
Whichever you pick, put the data on redundant storage and back it up separately. More guides are in the storage section.
Frequently asked questions
Can Nextcloud replace Google Photos?
Partly. Nextcloud's mobile apps can upload photos automatically, and apps such as Recognize and Memories add face grouping and a timeline. Immich offers those features out of the box with a phone-first interface, so it's usually the closer replacement.
Can Immich replace Dropbox or Google Drive?
No. Immich is built for photos and videos. It has no desktop file sync client for documents, no office editing and no general file sharing.
Can Immich and Nextcloud use the same photos?
Immich can index an existing photo archive as an External Library, which some people point at photos stored by other tools. Make sure only one app is responsible for writing to those folders, and back up the originals either way.
Does Immich run on a Raspberry Pi?
It can on a model with enough memory. Immich lists a 6 GB RAM minimum (8 GB recommended) and 4 recommended cores, so an 8 GB or 16 GB Raspberry Pi 5 meets the stated requirements; smaller models do not.
Sources
- Immich (README and feature list): Immich (GitHub)
- Requirements: Immich
- Docker Compose (Immich install): Immich
- Backup and Restore: Immich
- Nextcloud Files: Nextcloud
- System requirements: Nextcloud
- Nextcloud All-in-One: Nextcloud (GitHub)
- Recognize: Smart media tagging for Nextcloud: Nextcloud (GitHub)
- Nextcloud server releases: Nextcloud (GitHub)
We research every guide from manufacturer documentation, government and standards bodies, and other primary sources, which are cited at the end of each article. We do not accept payment for coverage. Read our editorial policy to see how articles are researched, fact-checked and updated, or tell us if something is out of date.