Migrating containers with snapshots to a different host

When copying a container to a different server that has snapshots which includes device information such as proxy, this information is lost from the snapshot during the copy.

So lets you have a proxy setup like this in devices,

[proxy-8080] => Array
        [connect] => tcp:
        [listen] => tcp:
        [type] => proxy

Then create a snapshot and then run

lxc copy c1 server2:c1

On the remote server, the snapshot no longer has the proxy device, so it was lost during copy.

Can you add a mention of this to https://github.com/lxc/lxd/issues/8283?

It sounds like there is an issue with some of the serialized data with snapshots as was reported in that issue.