Migrate VMs off TrueNAS

I have a Home Assistant OS VM on my TrueNAS SCALE 24.10 server. I would like to migrate it to a different N100 system that is running Ubuntu 24.04, how do I do that?

TrueNAS Scale VMs are just QEMU VMs, you should just be able to copy off the virtual disks (QCOW files) and re-create the virtual hardware spec if there’s no other way.

edit:
actually… nope, they’re ZVOLs. i’m wrong above.

You’ll need to convert the ZVOLs to QCOW files (these represent the virtual disks for your VM(s). I think you should be able to do this with qemu-img, and then copy them off to the new platform.

You can also use tools like https://clonezilla.org/ to migrate the VM from one system to another.

3 Likes

The last I read was to just use the Home Assistant OS Backup functionality. It should just work with the new VM.

2 Likes

In the past when I’ve needed to move HA to different machines I did a full backup in HA, spun up a new VM with a fresh HA install, then recovered from the backup of the previous machine. Worked fine and was nice and simple.

3 Likes