truenas / charts

TrueNAS SCALE Apps Catalogs & Charts
BSD 3-Clause "New" or "Revised" License
301 stars 290 forks source link

Immich - postres backup capability #2166

Open sync-by-unito[bot] opened 7 months ago

sync-by-unito[bot] commented 7 months ago

As described in https://immich.app/docs/administration/backup-and-restore, they recommend a slightly modified version of https://github.com/prodrigestivill/docker-postgres-backup-local to backup the db so that the app can be restored to its last state in case of data loss. Right now I’m not sure this can be done with the Charts app and I don’t know how involved it would be to integrate it, but I think it would be really valuable.

Dievale commented 6 months ago

I second this request . I've lost my data 3 times because of the lack of backup/restore in between updates

eemersonrosa commented 4 months ago

I second this request. I've almost lost all my data due to a HDD failure, luckily I had a backup of the raw photos in my external SSD. I am now doing a cloud sync to a S3 bucket of all folders, including the DB that is in use (pgBackup, pgDara, profile, thumbs, uploads, and video) - I don't know if this will work in a restore process, as I still have to test it out in a different system. I have worked out a script to stop immich, backup, and start immich back so I wouldn't run into issues backing up a live DB.

pawelrohde commented 3 weeks ago

I am old linux user, I don't know kubernates :( Afer upgrade immich to 1.106.4 immich not working. I have state: root@truenas[~]# k3s kubectl get pods -n ix-immich NAME READY STATUS RESTARTS AGE immich-machinelearning-cddf46d46-5qfgw 0/1 Init:0/1 0 25m immich-6fd55f65f4-9gx7l 0/1 Init:0/2 0 25m immich-redis-945948d79-kltm4 1/1 Running 0 25m immich-postgres-68556b8b45-27dvq 0/1 CrashLoopBackOff 9 (3m50s ago) 25m

please help, I have 35GB images...