I use the Fedora BTRFS setup just “cuz it works” and it is fine. But I really need a good backup solution and I would like to profit from btrfs and btrbk here.
I am on Fedora Kinoite, and have an empty HDD that is also 1TB in size. I need to encrypt it with LUKS and use it over USB.
Problems: I have no idea how to do that.
>> sudo btrfs filesystem show -d --human-readable
Label: 'fedora_fedora' uuid: abcd1234
Total devices 1 FS bytes used 863.60GiB
devid 1 size 929.91GiB used 929.91GiB path /dev/mapper/luks-xxxx-yyyy
nvme0n1 259:0 0 931,5G 0 disk
├─nvme0n1p1 259:1 0 600M 0 part /boot/efi
├─nvme0n1p2 259:2 0 1G 0 part /boot
└─nvme0n1p3 259:3 0 929,9G 0 part
└─luks-xxxx-yyyy 253:0 0 929,9G 0 crypt /var/home
Also, I have
~/Sync-Phone that I dont want to be backed up, as it is not that important and not only on my device.
So using rsync that would be pretty easy, but I would like to benefit of all that BTRFS stuff like mirroring etc. I would like to:
- mirror my
- exclude the said directories, can I put them into a different BTRFS subvolume while keeping them in that location?
- define how many mirrored files I need
- exclude some directories (Cryptomator) from keeping old files as these would be useless I suppose.