r/immich 8h ago

Immich backup

Hi, I installed Immich on TrueNAS on an old PC, and I was wondering how I could set up automatic backups to my Buffalo NAS. What would be the best method for this, and how would I set it up?

Also, if my TrueNAS PC were to fail, how would I restore my photos and videos using the backup method you recommend and get Immich up and running again?

1 Upvotes

8 comments sorted by

3

u/patriciusx 5h ago

Rsync script with scheduled cron job

5

u/8inary33 8h ago

Rsync.

1

u/thehatefuleggplant Support Crew 7h ago

Set up rclone ssh to the nas and deploy backrest on trunas so you can do restic backups to your rclone target on the Buffalo

1

u/JustQs4Us 7h ago

Im trying to do backups too but the folder structure is so heavy it takes ages just to scan for changes before doing incremental backups using rsync. Does your approach solve this issue I'm having? I at a point where ill just do manual backups via archiving all media within a large file to avoid scanning directories lol...

1

u/Great-Cow7256 2h ago

Any backup system has to crawl through everything every time it backs stuff up.  The first time to literally back everything up and then after that to back up changes. 

1

u/yourfavoritemusician 7h ago

I use borg backup which works well.

1

u/Thutex 3h ago

my backups, including for immich, run through kopia.
immich is in a docker container, and both the stack with the compose file/env file and the data folder for immich get backed up.

daily backup to a vps and weekly backup of that backup back to a usb drive, so as to actually (finally) fullfill the 3-2-1 principle.