5

I am upgrading to a new system, and I make heavy use of the Vmware Workstation snapshot feature. Every attempt I have made so far to transfer the VMs to my new system result in the loss of all my snapshots, which is extremely annoying

I have made sure the VM was powered off on the source, and I just copy all the files over from the original location to my new system, and then double click on the vmx file for that VM.

Is there some trick to transfer a VM and all the snapshots to a new system?

PS I hope it doesn't matter, but The host OS on the source is Windows 7, and the destination is Linux. Both are running Workstation 9.0.2

1
  • 1
    Isn't it possible to just copy the entire directory, provided that the drive AND path are the same on both systems? (eg: both d:\VMs\yourVM\ or whatever)
    – William
    Commented May 6, 2013 at 3:41

5 Answers 5

1

Unfortunately, what your are asking cannot be done. In order to move a virtual machine to a new VMWare host, you must delete the snapshots, or commit them to the base image. See this VMware KB article.

As for the host machine OSs being different, that does not matter.

2
  • I am not saying you are necessarily wrong, but that KB you reference is about Vmware ESX/ESXi, and I am using Workstation, which I thought did snapshots differently. I know ESXi, doesn't support the forked snapshots, or linked clones like Workstation.
    – Zoredache
    Commented Apr 29, 2013 at 20:37
  • Perhaps, but the ESX/ESXi was in a different section...
    – Keltari
    Commented Apr 30, 2013 at 1:03
0

In that case go to the Snapshot manager and create a clone of your defined snapshot. The VM has to be turned off - the clone will then be your base vhd including your snapshot file (which only documents changes to base vhd).

2
  • The question isn't how to move the VM. I get the VM just fine. I need my snapshots.
    – Zoredache
    Commented Apr 25, 2013 at 19:18
  • 1
    That still isn't adequate. I have a particular VM that has 8 snapshots made at very specific points in time, that I used for testing system. I want to move that VM to a new system with all the snapshots intact exactly the way they were.
    – Zoredache
    Commented Apr 25, 2013 at 21:18
0

Not an answer, but an idea.

My first thought was that the reason that the simple copy of the VM with snapshots is not enough, was that VMWare keeps somewhere a folder name. However, I have looked at the files that are created and I have found no folder name anywhere.

My idea is therefore to investigate the possible differences between the snapshot files in Windows and Linux : Take a simple VM without snapshots and copy to Linux, create a snapshot of identical name on both systems and study the differences. You might this way find what the difference is and how to correctly convert the Windows version of the files to Linux.

0

There is actually a really nice tool from VMware itself called VMware Converter. It can be downloaded here: http://www.vmware.com/at/products/datacenter-virtualization/converter/overview.html

On the summary page, check out the Advanced Options where you can select either to remove or keep your snapshots.

There is also a "bug" (feature?) where it takes a long time to convert machines if SSL is enabled. If you are in a secure infrastructure I would recommend to turn of SSL. How you do it is described here: http://communities.vmware.com/thread/333786?start=0&tstart=30

1
  • There does not appear to be any options to keep snapshots when the source/destination option is set to Workstation. I am using 5.1
    – Zoredache
    Commented May 6, 2013 at 0:36
0

You can copy the directory from the VMWare host that contains the virtual server with snapshots and copy to the new server and then create a new virtual server and use the vmdk that you copied for the hard disk for the new virtual.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .