The backup should be close to the 3-2-1 Backup Concept, 3 copies on 2 different devices with 1 copy offsite. As I have two devices for my home server setup, I can try to implement a backup copy vis versa.
Immich
- Immich Database
- internal library directory tree
- uploaded images directory tree
- docker-compose.yml file
- .env file
- immich-update.sh script
How does the complete process work?
The images are uploaded from my iPhone under a different user account. All uploaded photos since March 2026 are copied over to a specific static library folder (historical reasons). The copy process is a script in the hourly cron folder.
The immich database backup is done by immich itself into a backup folder at 1 am each night. The immich backup folder is copied to a mounted share from my backup machine. This is done by a script in the cron nightly folder.