Skip to content
Back to blog

Magichosting

Self-hosting Immich: the Google Photos alternative on your server

E
Elias Bieber
Estimated reading time: 2 min

Back up photos and videos automatically from your phone to your own server: requirements, one-click installation, HTTPS for the app and backups.

ImmichPhotosGoogle Photos alternativeSelf-hostingDocker

Immich: your own photo cloud

Immich automatically backs up photos and videos from your phone to your own server – with apps for iOS and Android, albums, sharing, face recognition and search by image content. For many it's the most popular self-hosted alternative to Google Photos and iCloud Photos.

What you need

  • Memory: At least 8 GB RAM – image recognition (machine learning) needs room. The Autoinstaller requires it.
  • Storage: Plan storage around your library: photos and videos land on the server 1:1, plus thumbnails. You can upgrade storage in the dashboard at any time.
  • Processor: Several cores speed up the initial import of large libraries; AMD EPYC offers many cores at a fair price.

One-click installation

  1. Open the Autoinstaller tab in the dashboard and choose Immich.
  2. The installer downloads the official compose file, generates a database password and stores the library and database under /opt/immich.
  3. Open http://YOUR-IP:2283 and register the first admin.
  4. Enter the server address in the mobile app and enable automatic backup.

Backups – especially important for photos

Immich is your archive – a copy on the same server is not a backup. Back up the database and library regularly to a second location:

bash
cd /opt/immich
# Back up the database (container name from the official compose file)
docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > /root/immich-db-$(date +%F).sql.gz
# Photos and videos live in ./library – copy them to a second location with rsync or similar

The basics are explained in server backups with the 3-2-1 rule.

Frequently asked questions

Why 8 GB RAM?

Face recognition and search by image content run in a separate machine-learning service. With less memory, importing large libraries gets slow or fails.

Can I share Immich with my family?

Yes. Every person gets their own account; albums can be shared selectively.

How do I update Immich?

Read the release notes before every update – Immich evolves quickly. Then update in /opt/immich with docker compose pull && docker compose up -d, ideally after a backup.

Was this post helpful?

MagicHosting – Hosting with real value

Hosting pays off with MagicHosting: fair pricing, current deals and operation in SkyLink RZ. Servers, domains and personal support – no hidden costs.

  • Current limited offers from our server exchange
  • Affordable domains with transparent pricing and great offers
  • Powerful DDoS protection for maximum availability
  • Personal support when you have questions or issues