Still relatively new to LXD and btrfs, I am looking for a way to do incremental backup of my containers to another local drive. Both drives - the LXD storage pool and the backup drive - are using btrfs (as block devices).
With btrfs, we can do incremental backup of one subvolume from one drive to another (see https://btrfs.wiki.kernel.org/index.php/Incremental_Backup ).
If I’m not wrong, when LXD storage pool relies on btrfs, LXD snapshot are based on btrfs subvolume, right? So, could we use in such case the btrfs subvolume incremental backup to perform an incremental backup of the LXD containers from one drive to another?
(note that in my mind, I wish to have both local backup and also a remote backup server, for which I’m using lxc copy. Ideally, lxc copy, when target is another local disk, would perform all the btrfs job mentioned above transparently - if it’s technically possible).