Transfer instances one by one to incus from LXD

Hi!

Im in the mix to transfer from lxd to incus. But i want to do it instance by instance. Ive changed pools etc so its not going to be like it was in lxd. lxc-to-incus does nothing. And lxd-to-incus only do the whole thing?

Is there a way to transfer one container at a time? So i can do proper testing etc. Both containers and VMs (both linux and windows)

If you can set things up to run both LXD and Incus on the same system, then it’s possible for you to configure both of them to listen on the network with:

lxc config set core.https_address :8444
incus config set core.https_address :8443

And then do:

incus remote add my-lxd unix:///var/snap/lxd/common/lxd/unix.socket

Which should then let you see both LXD and Incus with:

incus list my-lxd:
incus list

At which point you should be able to incus move my-lxd:SOME-NAME local: to move a specific instance.

But that’s obviously a fair bit trickier as you will have two completely separate storage pools, one for LXD and one for Incus and the same will have to be true on the network side (separate bridges).

Will try. Thx. Should work

Error: Failed instance creation: Requested profile “macvlan” doesn’t exist

Need to copy my profiles. Can that be done?

incus profile copy should be able to do it

Worked. So first container moved :slight_smile:

1 Like