Exactly this, I have hourly Borg backups and also since my install is entirely on a zfs array I have zfs autosnapshot every 5 mins with retention policy. Takes almost zero cpu or memory overhead extra and means and can do just about anything via command line and revert it back with ease.
Comment on can we now "safely" auto upgrade immich?
Darkassassin07@lemmy.ca 1 day ago
I’ve had Immich auto updating alongside around 36 other docker containers for at least a year now. I’ve very rarely have issues, and just attach specific version tags to the things that have caused problems. Redis and postgres for example in both Immich and Paperless-NGX have fixed version tags because they take manual work to upgrade the old databases.
The reason I don’t really worry about it: Solid backups.
BorgBackup runs in the early AM, shortly before Watchtower updates almost all of my containers, making a backup of the entire system (not including bulk storage) first.
If I was to get up in the morning and find a service isn’t responding (Uptime-kuma notifies me via email if it can’t reach any container or service), I’ll mess with it and try to get the update working (I’ve only actually had to do this once so far, the rest has updated smoothly). Failing that, I can just extract the yesterday’s data from the most recent backup and restore a previous version.
Because of Borgs compression and de-duplication, concurrent backups of the same system can be stored in an absurdly small amount of space. I currently have 22 backups of ~532gb each, going back a full year. They are stored in 474gb of disc space. Raw, that’d be 11.8TB
Lem453@lemmy.ca 21 hours ago
needanke@feddit.org 10 hours ago
Every 5mins seems insane. Why do you need to schedule it that frequently?
Lem453@lemmy.ca 1 hour ago
I definitely don’t need to but it also costs nothing and retention policy only keeps 5 minute backups for an hour. Then I really back up for a day. Daily backups for a week, etc. Up to 2 years
Darkassassin07@lemmy.ca 10 hours ago
To be perfectly honest, auto updates aren’t really necessary; I’m just lazy and like automation. One less thing I’ve gotta remember to do regularly.
I find it kind of fun to discover and explore new features on my own as they appear. If I need documentation, it’s (usually…) there, but I’d rather just explore. There are a few projects where I’m avidly following the forums/git pages so I’m at least aware of certain upcoming features, others update whenever they feel like it and I’ll see what’s new next time I happen to be messing with them.
Watchtower notifies me whenever it updates something so I’ve at least got a history log.
Voroxpete@sh.itjust.works 1 day ago
Alright, you just sold me on borg backup. Well done.