I was just going through the documentation of Backing up a LXD Server. It’s recommended on it for full backup:
A full backup would include the entirety of /var/lib/lxd or A full backup would include the entirety of
/var/snap/lxd/common/lxdfor snap users.
You will also need to appropriately backup any external storage that you made LXD use, this can be LVM volume groups, ZFS zpools or any other resource which isn’t directly self-contained to LXD.
But if we take the full backup of /var/snap/lxd/common/lxd it will due to symlink will also include the backup of the instances and images as they are mounted on paths here.
So will it be better if this section contains the directory necessary for restore + ZFS or LVM or BTRFS pool containers and instances separately?