Migrate LXD 6.1 container to Incus 6.0.1 container?

Installed Incus to one of my LXD hosts. I was able to migrate the smaller container to an Incus host that was migrated from LXD. However I have a large container (graylog) that I am trying to migrate in place to avoid clobbering the disk on my smaller hosts. Tried the lxd-to-incus and it tells me it is not compatible since lxd is above 5.21.

I tried manually exporting the container, but was unsuccessful importing it to the incus node. Trying to avoid rebuilding it if I can.

Versions I have:

root@LS1:~# lxc --version
6.1
root@LS1:~# incus --version
6.0.1

The LXD 6.1 release doesn’t appear to have changed the database schema since LXD 5.21, as a result, I’d expect lxd-to-incus to work, but you’ll need to force it with --ignore-version-check

1 Like

Thanks Stéphane, that worked. It didn’t like a zfs pool I had, so I evacuated that pool and removed it. Then it worked.