Open Source

Replace Google Photos With Immich: A Self-Hosting Guide

NetworkChuck starts with a spare laptop and an external drive, then shows the setup his family actually uses: a repurposed gaming PC with an RTX 3090 and a NAS holding roughly 19 TB of photos and videos going back to 2006. The laptop is enough to see whether Immich gives you what you use in Google Photos: phone uploads, memories, face grouping, a map and search by description.

Keep your Google Photos library until you’ve verified the import and tested an Immich restore. Hosting your own library gives you control over where originals live; it also makes you responsible for storage, updates and recovery.

Watch NetworkChuck’s Immich Walkthrough

Video by NetworkChuck, November 25, 2026. Watch on YouTube, jump to a chapter or open NetworkChuck’s command-by-command guide. Twingate sponsored the original video.

1. Set Up Storage Before You Start Docker

The demo runs Ubuntu Server on a spare laptop. Before installing, check Immich’s hardware and storage requirements and leave room beyond the size of your originals for thumbnails, transcoded videos and incoming uploads. Use a disk you can safely install onto, and copy anything important off it first.

Give the USB drive or NAS share a persistent mount, then reboot and confirm the expected device or share is mounted before starting Immich. A folder can exist even when the disk isn’t mounted. In the official Docker Compose setup, point UPLOAD_LOCATION at the mounted media storage and keep DB_DATA_LOCATION on a local drive, ideally an SSD. Immich does not support PostgreSQL data on a network share. Set a unique database password and keep the .env file private.

2. Choose How to Bring Over Your Photos

Where your photos are nowHow to bring them into Immich
Google PhotosRequest a Photos export with Google Takeout, keep all the archive parts, and use Immich-Go. Its Google Photos importer matches files with JSON sidecars to recover metadata and album organization where possible.
Existing folders on a drive or NASUse an Immich external library if you want the files to stay where they are. Start with a read-only mount if Immich shouldn’t be able to change or delete the originals.

Test with a small batch first. Check older dates, several albums, a geotagged photo and a long video. Review the importer’s warnings rather than relying on a total count. If you created an API key for the import, revoke it when the job is done. Downloading a Takeout export doesn’t delete your data from Google.

3. Turn On Phone Backup and Verify a New Upload

Sign in from the Immich mobile app on your home Wi-Fi, select the device albums you want, and enable backup. Take a new photo and confirm it opens from the web app on a different device. On iOS, enable Background App Refresh and expect the system to decide when uploads run. Keep the app open for the initial batch and check the upload status before assuming it’s done.

Chuck uses one shared account for a common family library. That’s his workflow, not a requirement. Start with individual accounts and share selected albums so each person can decide which photos others see. Keep your administrator sign-in separate from day-to-day uploads.

4. Get Remote Access Without Opening a Router Port

Chuck uses Twingate to reach the home server away from Wi-Fi. Its Connector initiates outbound connections, so this setup doesn’t need a router port forward. Give approved users access to the Immich host and port rather than the whole home network. Then turn off Wi-Fi on your phone and open a full-size photo or stream a video you haven’t already loaded; cached thumbnails don’t prove you can reach the server.

Twingate is still a third-party service even though Immich serves the files from home. Its Starter plan lists up to five users at the time of writing. Twingate via NetworkChuck’s sponsor link.

Immich’s Smart Search can find scenes and objects by description rather than filename. That processing runs on your own machine when you host the machine-learning service yourself. Start with the default model and test it on a few searches you actually need. NetworkChuck also tried Immich’s SigLIP2 model; after switching, rerun Smart Search for all assets to rebuild the index.

Machine-learning acceleration for search and faces and hardware video transcoding are separate settings. The RTX 3090 belongs to Chuck’s larger setup; you don’t need one to start. Consider acceleration after you see whether indexing or transcoding is holding up work on your hardware.

6. Back Up the Media and Database, Then Test a Restore

A phone upload gets a file onto your server. It won’t get it back after the server fails. Immich’s recovery guide requires both the database dump, which holds metadata and file references, and the media files it points to. Back up UPLOAD_LOCATION and any external libraries separately if they’re stored elsewhere. Keep a protected copy of the Compose configuration and secrets, plus the locations of your data and backup credentials. Coordinate the dump and file copy so they represent the same library; if uploads can’t be paused, Immich recommends capturing the database first.

A 3-2-1 setup: Keep three copies including the live library, on two kinds of storage, with one copy off-site. Chuck keeps the live copy on his NAS, another at his studio, and an off-site copy encrypted by restic and stored in Backblaze B2. A rotated encrypted drive kept at another address is an option if you’d rather avoid cloud storage. Store the recovery password separately from the server.

Before you switch: Restore the database and matching files into a separate test instance, following the docs for that Immich version. Check that you can sign in, open an album that matters and play a restored video. Only then decide whether to stop your old uploads or retire the Google copy.

Video Chapters

TimeTopic
00:00Introduction to Immich
01:32Hardware planning
03:29Ubuntu and storage setup
05:21Mounting the drive and preparing Docker
07:52Installing Immich
10:41Initial configuration
13:48Mobile app and automatic backup
15:01Remote access with Twingate
16:30Testing local AI search
17:42Enabling GPU acceleration
19:36Managing a family library
21:48The 3-2-1 backup strategy
22:51API integration and conclusion

Documentation and plan details checked November 25, 2026.

Share
X LinkedIn Reddit
Learn It Yourself

Want to use this
on your own work?

I teach one-to-one, on a real workflow from your business, and you leave each session with something working. You don't need to be a developer. Or start free: The Builder Digest sends the tools worth trying, about once a week.