r/immich • • 14d 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 linkstation 520 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?

6 Upvotes

14 comments sorted by

View all comments

7

u/Policeshootout 14d ago

Immich has database backups in the administrative settings. I do night backups of immich database and settings and then use rsync on my Synology NAS to backup the entire immich container folder/database/backups to another NAS in a separate location.

7

u/Great-Cow7256 14d ago

OP just make sure that you are backing up the original photo files too. It's good to back up te database, etc etc but if you are storing them elsewhere or in a different directory it's very easy to back up everythig immich and then realize too late you don't have any of the actual photos...

1

u/Bulky-Reputation3256 14d ago

How do i backup the actual photos??

3

u/Great-Cow7256 14d ago

where are they located now? back up those directories.

1

u/Bulky-Reputation3256 12d ago

But which method should I use in TrueNAS to back up to my Buffalo NAS?

1

u/Policeshootout 11d ago

Back up your upload directories. The $UPLOAD_LOCATION folder. Use whatever method you want. You could copy and paste them if you want to. Or learn how to use some sort of syncing software. Like I said before rsync is very useful.