CoyoteFacts

joined 3 days ago
[–] CoyoteFacts@lemmy.ca 5 points 1 day ago

Snapshots basically put a pin in all the data at that moment and say "these blocks are not going to be physically deleted as long as I exist", so the "additional" data use of the snapshots is equal to the data contained within the snapshot that doesn't exist at the current moment. I.e., if I have two 50GB files, take a snapshot, and delete one, I will still have 100GB physical disk usage. I can also take 400 more snapshots and disk usage will remain at 100GB, as the snapshots are just virtual. Then I can either bring that deleted file back from the snapshot, or I can delete the snapshot itself and my disk usage will adjust to the "true" 50GB as the snapshot releases its hold on the blocks.

What sanoid and other snapshot managers do is they repeatedly take snapshots at specified intervals and delete old snapshots past a certain date, which in practice results in a "rolling" system where you can access snapshots from e.g. every hour in the past month. Then once a snapshot becomes older than a month, sanoid will auto-delete it and free up the disk space that it's holding onto. The exact settings are all configurable to what you're comfortable with in terms of trading additional physical disk usage of potential "dead" data for the convenience of being able to resurrect that data for a certain amount of time.

I really like the "data comet" visual from this Ars Technica article.

[–] CoyoteFacts@lemmy.ca 7 points 1 day ago (6 children)

Check compatibility for all your programs before you move. Most Linux programs work on Windows but not vice versa. If you're not in a rush, try switching to programs that have a Linux equivalent before you move so that you'll have less of a culture shock. If you need any killer apps that don't have a Linux equivalent you're going to have to make your peace with that ahead of time, otherwise you're just going to end up switching back.

KDE is a good choice, and Kubuntu should serve you fine; if you end up going with Kubuntu, I would recommend sticking with it for at least half a year or so before considering switching to something else, as that will give you time to really understand what you like and don't like about how Kubuntu and KDE work.

[–] CoyoteFacts@lemmy.ca 7 points 1 day ago* (last edited 1 day ago) (2 children)

I use a 48TB ZFS RAIDZ2 pool to maintain data integrity locally and keep rolling ZFS snapshots with sanoid so that data recovery to any point within the last month is possible. Then I use borgmatic (borg) to sync the important data (~1TB) to a Servarica VPS (Polar Bear plan, which works out to be cheaper than Backblaze B2 costs for my purposes). The Servarica server really sucks in terms of CPU, and it's quite sluggish, but it's enough for daily backups. I also self-host healthchecks.io on a free Fly.io VPS thing (not sure if they offer this anymore) to make sure the backups are actually happening successfully, and hosting that on a third-party VPS means that it's not going to fail at the same time my server does. Then I use Uptime Kuma to make sure everything is consistently alive (especially the healthchecks.io server, which in turn verifies that Uptime Kuma stays alive). I also run the same borg configuration to back up to a plain non-redundant disk locally.

The downside of this setup is that I'm only truly backing up a fraction of my pool, but most of my pool is stuff that I can redownload and set up again in the event of e.g. a house fire. I also run a daily script to dump a lot of metadata about my systems and pool, like directory listings of my media folders and installed programs/etc, which means that even if the data might be lost, I have a map of what I need to grab again.

[–] CoyoteFacts@lemmy.ca 4 points 2 days ago (1 children)

I've never had any issues with Radicale, which is dead simple and lightweight. If you end up with Android again, DAVx5 has also never given me any trouble, and it also allows calendars to be cached offline. I'm not sure how you're having compatibility issues as I would think CalDAV is a standard protocol?

If you're concerned about dependencies and security, why not use Docker or Podman? It makes most of self-hosting in general much simpler, and it's much easier to secure since it's containerized. With containers, even if a hacker somehow hacks your CalDAV server, they can only access the minimal resources that you've given the container. I use this repo for Radicale on Docker.