1

Is it possible to convert a VM from VMware to Hyper-V (or vice versa) and preserve the snapshots?

For example, I have a VM in VMWare workstation and I want to convert it to Hyper-V, but I want all the VMware snapshots to translate to Hyper-V snapshots when the VM is finally in Hyper-V.

If there is not any tool that currently does this, is this even theoretically possible?

Matias Nino
  • 1,392
  • 7
  • 25
  • 40
  • Did you try this yet and if so, were you successful? – Chadddada Sep 27 '11 at 20:45
  • I have not. We decided it was actually more cost effective to provision the machine in Hyper-V and manually create the snapshot points, than wait the amount of hours it will take to convert/migrate the VM from Vmware to Hyper-V. – Matias Nino Sep 28 '11 at 19:51

2 Answers2

2

There would be no authoritative answer for the "is it theoretically possible?" question unless it has been done successfully by someone.

Although ESX and Hyper-V do share some concepts about snapshots (virtual hard disk contents are frozen in time, a copy of the RAM contents and the states of virtual devices and virtual CPUs are saved alongside), the implementations would be vastly different. The fact alone that Hyper-V and ESX use different kinds of virtual devices (NIC, HDD controller, graphics card) would prevent any kind of simple transition among them.

If you are only aiming for the contents of the virtual hard disk, things would be easier, but not without difficulties: Hyper-V does not store snapshots in files but uses Windows Volume Shadow Copy for point-in-time freezes for the data, so any converter utility would need to be able to handle that.

All in all, I doubt that anyone would consider the necessary effort worthwhile and write something like that.

the-wabbit
  • 40,737
  • 13
  • 111
  • 174
1

1) Uninstall VMware tools 2) Power down the VM 3) Export the VM to OVF format 4) Import into HyperV

Alternatively you can use Microsoft's System Center to convert VMDK to VHD.

Either should work.

Chadddada
  • 1,680
  • 1
  • 19
  • 26
  • 1
    And preserve snapshots? – dunxd Sep 16 '11 at 15:30
  • I have exported VMs w/ snaps into OVF format and OVF into HyperV. The only component I personally haven't tested is bringing that OVF up w/ the snaps (2/3 tested) but none of the rest of this process errors out. – Chadddada Sep 16 '11 at 16:34