Copy --refresh: lost target machine after a network interruption

Hi,

LXD 5.14 in both sides with ZFS.
I use copy --refresh to backup containers daily.

After a network failure during a lxc copy --refresh, my target instance was deleted on ZFS. Repeating the command:

lxc copy cb2:zammad zammad-backup --refresh
Error: Failed instance creation: Error transferring instance data: Failed migration on target: Failed creating instance on target: Volume exists in database but not on storage

To correct, I need to remove this target machine and copy all again.

It’s easy to reproduce, interrupting communication while in copy.

Please can you log an issue on lxd github. Thanks!

Hi!

Done #11822

1 Like