Best way to migrate an unencrypted zpool

Hello, I’m currently stuck to an old version of Ubuntu because of a bug with zfs and I will soon migrate to IncusOS.

I have 2 zpool, default with all containers on it and a DAS one with data shared between few containers.

For the default one I will not migrate it, I’ll back up instances with incus export and re-import them on the fresh incusOS install with incus import.

But as the DAS one as been created on Ubuntu so it’s not encrypted, and the IncusOS documentation imply that only encrypted pools can be imported so I don’t see how I can “re-attach” this storage pool to IncusOS.

I’m sure I’m missing something here, can someone point me to the solution ?

It is correct that Incus OS doesn’t support unencrypted pools. This has been asked before and a possible procedure was discussed in Installing IncusOS and retain / reuse existing pools? It unfortunately requires to have enough space on a second drive to move your data around.

Alternative you can of course reimport the pool into Incus but in this case it stays unencrypted.

ZFS doesn’t have a feature to convert and encrypt an existing pool. Would be a cool feature…

I just received a big refurbished HDD to do backups, so I guess I have my solution !

I didn’t found the thread you linked before but it looks like my situation a lot (with local and nvme been the same for me).

I’ll just simulate it on a incus VM before doing it for real. Thanks!