I have a lxd v4.3 installed on Debian Buster with one container. I am using ZFS as storage backend. I use R1Soft to backup this server. This solution uses an agent installed on the server which searchs for modified blocks in the filesystem and copies them. I keep some archived copies to be able to recover old files. The problem is that the backup agent cannot access the container’s files.
These are the zfs datasets:
NAME USED AVAIL REFER MOUNTPOINT default 488M 18.8G 24K none default/containers 128M 18.8G 24K none default/containers/c1 128M 18.8G 303M /var/snap/lxd/common/lxd/storage-pools/default/containers/c1 default/custom 24K 18.8G 24K none default/deleted 179M 18.8G 24K none default/deleted/containers 24K 18.8G 24K none default/deleted/custom 24K 18.8G 24K none default/deleted/images 179M 18.8G 24K none default/deleted/images/fa279e61e307e561930cf2febcf5526cd0956e5e104a7bca7f02efd4898c0b2c 179M 18.8G 179M /var/snap/lxd/common/lxd/storage-pools/default/images/fa279e61e307e561930cf2febcf5526cd0956e5e104a7bca7f02efd4898c0b2c default/deleted/virtual-machines 24K 18.8G 24K none default/images 179M 18.8G 24K none default/images/b96bf7781d54253035bfa2414288ddcf872319fc6fc49b97de529fafbcb45c31 179M 18.8G 179M /var/snap/lxd/common/lxd/storage-pools/default/images/b96bf7781d54253035bfa2414288ddcf872319fc6fc49b97de529fafbcb45c31 default/virtual-machines 24K 18.8G 24K none
As you can see, the container’s files are mounted on /var/snap/lxd/common/lxd/storage-pools/default/containers/c1 but its namespace is different and the agent cannot see them.
Do you know how could I make visible the container’s files to the backup agent?