Anyone have recommendations for a backup tool to back up the disk of one computer (specifically the https://exozy.me server) to another remote computer?
I don't need the destination to be encrypted, but I'd like a tool with good compression, delta transfer, and fast deletion of old backups so backups are small and quick.
Right now I'm considering using rsync -aHAXS --delete --progress to a btrfs compressed folder, which does completely discard the old backup, but I'm fine with that.
@ta180m rsync.net with borg
@ta180m I have been happily using duplicity (https://duplicity.gitlab.io/), well specifically duply (https://duply.net/Duply_(simple_duplicity). Whenever this topic comes up in places, restic (https://restic.net/) often comes highly recommended.
@ta180m
Maybe a bit late but there a cli program called #btrbk that can do what your looking for with automatic #snapshots
It uses a config file
@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.
@ta180m true, even in btrbk’s documentation is shows your use-case as:
1. rsync from source to backup
2. btrbk for snapshots
Under the header “Example: Backup from non-btrfs Source” in https://digint.ch/btrbk/doc/readme.html
@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.
@ta180m if you use ZFS, zfs send/receive is also a nice solution.
@meisam unfortunately one computer uses ext4 and the other uses btrfs, so sending and receiving snapshots wouldn't work. Good idea though!
@ta180m borg and restic are both very good at this. I'm currently using restic, but for no particularly reason. Could have been borg too.
@ta180m https://rdiff-backup.net/ looks very clever and mirror-like but with some diff extras.
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"