I am trying to copy a container from one host to another (running LXD 3.0.2 & 2.0.11) with the following steps:
create new lxc [target_host]
configure [target_host] to be available over the network (lxd init)
host2 needs to accept ssh login with PassworAuthentification
on [source_host] run
lxc remote add [target_host] [ip-addresse]
lxc copy [container/snapshot] [target_host]:[newcontainername]
but I am getting the below error, which seems to indicate that the [source_host] server also needs to be configured to “listen” over the network.
$ lxc copy [container] [target_host]:[container_name]
Error: The source server isn't listening on the network
then i use --mode=relay
lxc copy --mode=relay [container] [target_host]:[container_name]
but i getting Error: The target server is missing the required "container_push" API extension