I have two LXD hosts (norton and trixie) both running LXD version 5.0.2. For containers on each host I’m trying to create a backup on the other host. I’ve used lxc copy
to copy the container to the other host, but when I use lxc copy --refresh
I get the following:
$ lxc copy --refresh argus trixie:argus
Error: Failed instance creation: Error transferring instance data: Failed creating instance on target: Failed to run: btrfs receive -e /var/snap/lxd/common/lxd/storage-pools/default/containers/migration.4271173957/pre-nagios-install: exit status 1 (ERROR: cannot find parent subvolume)
It seems to have something to do with a snapshot (pre-nagios-install) that exists on the source (norton) but does not exist on the destination (trixie). But I would not expect any of the snapshots to exist on the destination after runing lxc copy
.
Any guidance would be great. Thanks.