LXC Copy Ignore Errors

When copying a container with

lxc copy demo-container node4: --stateless --no-profiles --instance-only -s ssd

i get

Failed instance creation: Error transferring instance data: Rsync send failed: demo-container, /var/snap/lxd/common/lxd/storage-pools/default/containers/cdemo-container/: [exit status 24 read unix @lxd/ce8bdca1-4c47-49d8-aff8-278cb5ebc919->@: use of closed network connection] (file has vanished

because as expected files are being written and deleted constantly. i do not expect a consistent copy, but the good news is that the part that is constantly changing is “self healing”, so it gets rebuilt when missing/corrupt.

with this in mind, is it possible to have the instance be created, in other words, ignore any file errors? I know that standard rsync ignores these errors when copying.

What storage pool driver are you using for source and destination?

It’s all dir. I need max performance from the disks (NVME Gen 4 BTW) and anything else was unacceptable.

Best thing to do is to open an issue at https://github.com/lxc/lxd/issues to track whether we can change the behaviour. Thanks

Thank you, Thomas.