Incremental Btrfs backup and subvolume layout
2 August 2023Last year I had to reinstall Fedora on my main machine because I
had to replace a disk there, and while doing so, I finally decided to switch to
btrfs abandoning my previous setup of ext4 volumes on lvm
thin pool. And since
I already had btrfs on my external backup disk where I store snapshots of
/home
volume from the machine, I had to figure out how to restore it using
btrfs send/receive feature,
and how to update my
incremental backup script to match the new setup.
So in this post I will present simple examples to explain both my old and new
backup scheme and what I run into during the transition.