0

I am stuck here and can not find information about migrating Windows and Linux/Unix vm's to KVM. Doing it with zfs is inefficient, because it will transfer the whole disk space, which can be more than 200GB.

Making a copy of the directories in Linux/Unix machines kind of worked, but I don't think that's the right way.

cp -R /etc
cp -R /home/user
And send those copies to the KVM machine.

For the Linux part was basically that. I needed mainly installed services and their configs. If there is a way to copy the entire VM and spin it up on KVM good, I am open.

Creating a backup of Windows Server does not work also, because it creates vhdx files and converting them to qcow2 seems to break them, or I just don't do it right.

I use the Backup service and add the whole system backup zip to a network share. Basically that's it and I am stuck how it can but used to spin up new Windows VM on KVM.

Can someone give me guidance here?

7
  • "doing with with ZFS is inefficient, because it will transfer the whole disk space": um, no? ZFS send and receive will only copy used extents. So, maybe you're doing something else? Commented Dec 14, 2022 at 12:01
  • "I don't think that's the right way." Why not? What's the reason you think this? You might have requirements that say it isn't, but we don't know your requirements! Commented Dec 14, 2022 at 12:02
  • "or I just don't do it right." this one kind of directly says you should tell us, in verbatim commands, what you're doing. Commented Dec 14, 2022 at 12:02
  • Let me update it. Commented Dec 14, 2022 at 12:03
  • Explained what I have done, there is nothing more than that for now. Commented Dec 14, 2022 at 12:58

0

You must log in to answer this question.

Browse other questions tagged .