Migrating a Windows VM from Proxmox to XCP-NG
-
@ilix Yes I'm running a lot of VMs in Proxmox, one of which I need to migrate to XCP-NG.
-
@aithorusa You can also clone "offline", if the two systems don´t have direct access.
-
@ilix I apologize for the late reply on this but if you could help me out with one more thing. We have about 50VMs on Proxmox that need to be migrated to XCP-NG. Using clonezilla will be too long of a task and I'm not sure if it'll save the config files for all the settings either. I was wondering if there's any other way I can move the VMs to XCP-NG. I do have the RAW disk images.
-
We'll be happy to help building scripts to automatically fetch ProxMox content and put it into XCP-ng, however we don't have a great ProxMox knowledge.
-
Since Proxmox is based on KVM, has anyone tried to use this info? -- https://xcp-ng.org/docs/migratetoxcpng.html#from-kvm-libvirt
-
@aithorusa I have only done conversions one by one I am afraid, but i guess you could script the conversion as Oliver said.
-
@aithorusa What method did you end up going with? Was it successful?
-
@davemcl HI !
You can use this:
qemu-img convert -O vpc proxmox-disk.qcow2 `uuidgen`.vhd scp thegenerateduuid.vhd ip.xcp-ng.server:/run/sr-mount/uuid-of-your-SR
Then with XO create a VM and attach the disk
It should be working
-
@AtaxyaNetwork please advice
-
Hi,
You really need to give more details.