News for hackers. Stuff that matters.
Re:Encrypted Backup Shootout by rektide on Sunday January 03, 2021 @12:56AM (#25619849)
I keep thinking of btrfs, where one can snapshot the fs directly, almost instantly at nearly zero storage cost. And then send around incremental diff between snapshots.

Alas, as the FAQ states, there is no native encryption in btrfs. https://btrfs.wiki.kernel.org/index.php/FAQ#Does_btrfs_suppo...

Interestingly bupstash documents how to store a btrfs send "image" into bupstash. I imagine the primary use for this is adding encryption (otherwise why use bupstash at all? perhaps simple uniformity I suppose, if one already used bupstash): https://bupstash.io/doc/guides/Filesystem%20Backups.html#Btr...

Re:Encrypted Backup Shootout by aidenn0 on Sunday January 03, 2021 @02:36AM (#25620258)
I think both bcachefs and zfs have snapshots and encryption. I don't know if you can send incremental snapshots with bcachefs, but you definitely can with zfs.
Re:Encrypted Backup Shootout by ravi-delia on Sunday January 03, 2021 @01:02AM (#25619883)
Personally, I just use BTRFS on top of LUKS. On my remote backup server there's a little bit of weirdness, but it works out so that only my personal laptop has the key, which is of course itself password protected.
Re:Encrypted Backup Shootout by rektide on Sunday January 03, 2021 @10:37AM (#25622319)
my hope would be that btrfs subvolumes could each be keyed differently, which would enable finer granularity of management than whole disk at a time.

and ideally, the contents could be encrypted but still send-receiveable.

thus, I could have an encrypted subvolume of, say, my photos, and send a snapshot of that over to a friend for backup. and they could send me some of their subvolumes, again securely, along with incremental updates over time.

with LUKS, we'd need to agree ahead of time how big a partition to make for each other's encrypted contents & there's not really any way to insure, when I use my key to unlock & incrementally update my subvolume, that my friend "forgets" and unmounts the subvolume after I update it. Big ask, but if btrfs did add encryption, it'd truly be the only file system tool we needed.