The same way as all other services: all relevant data (compose.yml and all volume mounts) are in a btrfs subvolume. Every night a snapshot gets made and mirrored to a remote server by btrbk.
Comment on Immich 2.1 Released with Better Slideshow Shuffle, New Notifications
mctoasterson@reddthat.com 22 hours ago
Those who run immich, how have you been backing up your library?
My deployment isn’t anything fancy, it is currently a Raspberry Pi 4 with a 2TB external drive for the photo library. Been running for more than 6 months with minimal issues. Now that we are at a stable release I need to get some kinda backup going for the photos themselves.
skilltheamps@feddit.org 22 hours ago
ngdev@lemmy.zip 21 hours ago
how much do you pay for the remote server? was thinking about doing something like this for nextcloud (and i might end up using immich in the future)
skilltheamps@feddit.org 18 hours ago
That server is also a homeserver I manage for family (in another city). The two homeservers then mutually back up each other.
Fmstrat@lemmy.world 8 hours ago
ZFS sending to a remotelab.
Bakkoda@sh.itjust.works 22 hours ago
I run Immich in a VM on Proxmox which gets backed up every 12 hours and all my photos are on the NAS which gets snapshotted every 12 hours and pushed to an external drive and a Hetzner box.
riquisimo@lemmy.dbzer0.com 7 hours ago
Translation: “I run immich in a virtual machine, which I can manage from a web browser. The photos themselves are stored on a different device which gets backed up to a remote location twice a day.”
So why run immich in a virtual machine instead of in, say, a docker? Wouldn’t that be way less overhead? (Or is immich the only thing you’re hosting?)
Lem453@lemmy.ca 12 hours ago
Borg backup runs every hour on all my docker folders
Cyber@feddit.uk 18 hours ago
I run it baremetal, the photos / videos are all on a separate location (so are “Externsl Libraries” in Immich) and are backed up…
As far as the Immich application itself, I’m not currently backing up anything as I’ve been trialing it… but, I’ll aim to backup any configurations, but I’m thinking to maybe ignore any database - it can just relearn everything if I need to do a restore… depends how big that DB is…
nfreak@lemmy.ml 13 hours ago
Nothing fancy. I use Backrest for all my backups, and a few of my plans just include the Immich directory. My NAS is an entirely separate machine so my local backups go there, while everything is simultaneously pushed to a backblaze bucket
ripcord@lemmy.world 20 hours ago
I clone the dirs nightly to a separate server + storage. Monthly to an offsite.
DevoidWisdom@sh.itjust.works 17 hours ago
I have Immich on a proxmox container and use proxmox backup. It has already save me once.
Appoxo@lemmy.dbzer0.com 3 hours ago
I backup the underlying storage (which is a VM) that immich writes to.
In theory it should be a perfect copy that just crashed.