Direct migration from XCP-ng backup?

justjosh

Active Member
Nov 4, 2019
96
0
26
59
Hello,

The old cluster of XCP-ng failed and I only have backups generated from XenOrchestra in the .vhd format (long delta chain into a full backup). How do I go about importing this directly into Proxmox?

I have managed to only get as far as extracting the last delta .vhd with 7zip that gives us 1.img and 2.lvm files. Tried to use qm importdisk on 2.lvm to attach the disk to a VM with similar specs but unable to access the VM via console in GUI or SSH into the server. But proxmox doesn't throw any errors that VM failed to start and there seems to be a small amount of RAM and CPU consumed while in this unknown state.

Suggestions appreciated.

Thanks!
 
VHD is the HyperV/Microsoft format I believe. I don't know if qemu-img convert supports the Xen flavor of VHD natively or if you need a converter like StarWind's.

Basically convert VHD to QCOW2, then import the QCOW2 disk with as similar of a host profile as possible to what you had in Xen (if the config is available, if not, hopefully you're running Linux VMs, but there are some safe guesses to take).

https://docs.openstack.org/image-guide/convert-images.html
https://pve.proxmox.com/wiki/Advanced_Migration_Techniques_to_Proxmox_VE
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!