So today I migrated a linux VM from vultr to an internal xcp-ng box.
We used clonezilla to store the image to a wasabi bucket. Then we used clonzeilla on the xcp-ng machine to bring it down.
We ran into an issue booting the server after the restore. We were getting Dracut errors and dropped into a dracut shell. Pretty scary stuff, and after a few hours of trying things the solution was really easy.
* From the GRUB menu, select the last one (the rescue)
* Then login, and do so as root or as a normal user and run su -
* run the following command:
dracut --regenerate-all --force
Then reboot the box.