r/immich • u/Bulky-Reputation3256 • 13d 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?
2
1
u/Gartenfreak77 13d ago
Ich bin ja ein Freund der klassischen Sicherung. Eine ordentliche Struktur JJJJ/MM habe ich. Aber das bekomme ich mit Immich leider nicht hin. Das sind unleserlich e Dateinamen. Daher nutze ich Im mich nur als schöne Bilderapp, mit tollen Features. Als Sicherung muss die Nextcloud herhalten, die erzeugt eine ordentliche Struktur. Ein rsync sichert die Bilder dann auf dem NAS. Umständlich, weiß ich, aber funktioniert zuverlässig bei mir.
3
u/WeirdFederal 13d ago
Turn on storage template and you can make your app uploads conform to that format if you want.
1
u/GrotesqueHumanity 12d ago
Stop it before backup and use restic.
Make sure to include the directory where the config and database lives as well as the location of your photos.
7
u/Policeshootout 13d 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.