I ended up deciding to use this rsync command for backups:
rsync -aAHSxXz --delete --info progress2 -e "waypipe ssh" --rsync-path="env SUDO_ASKPASS=/usr/bin/ksshaskpass sudo -A rsync"
@lil5 Good idea, but only one of the computers uses btrfs and the other one uses ext4, so I don't think btrfs snapshots would work here.
@lil5 Interesting idea. I also thought of something similar: take btrfs snapshots of the destination subvolume. However I only need the most recent backup and don't care about the ones before, so this wouldn't be necessary in my case.
@lil5 well yeah, there's always a balance between storing lots of backups to recover old files and disk space usage. For me, I almost never use my backups to restore old individual files (the main purpose is to protect against disk failure/my house burning down/invasive iguana species from outer space annexes my house and eats all my hard drives/etc). So, I just keep a single backup and I'm fine with it.
@lil5 also, my most important 10 GB of data is backed up without discarding older versions. It's backed to four different places, actually: the original copy, an offsite backup to a computer 1600km away using rsync (the one I set up yesterday), on a cloud service with encryption, and a copy on my phone.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!