When performing full VM backups with VMware Consolidated Backup (VCB), the end result of the backup operation is a copy of the VMs VMDK files, in 2GB blocks. This format is similar to the format used by VMware Server and VMware Workstation, VMware’s hosted virtualization products. Given that VMware Converter can convert VMs between ESX Server and the hosted virtualization products, I thought, “Why not use VMware Converter to restore VCB backups?â€
So, with that question in mind, I set to see if it would work. After conducting some tests, I have good news and bad news. The bad news first: it doesn’t work without some manual massaging of the VCB backup. When you attempt to laod the VM’s files into VMware Converter, you receive an error message that VMware Converter “can’t determine the guest OSâ€.
Fortunately, the good news is that it isn’t hard to make it work. Thanks to this VMTN forums thread, we can see that the process is actually pretty straightforward:
- Edit the .vmx file to remove the “-NNNNNN†suffix that is automatically appended to the names of any VMDK files referenced in the .vmx file. Make sure the VMDK filenames referenced in the .vmx file are indeed unique (they should be).
- Rename the actual VMDK files by removing the “scsiN-N-N-†prefix from the filenames. You’ll want to ensure that the filenames match the filenames referenced in the .vmx file.
- Edit the VMDK index file (not the -sNNN files). This is just a text file that references the rest of the files that comprise the virtual hard disk. You’ll need to edit the filenames referenced in this file to ensure that they match the names of the actual “-sNNN†files on the disk.
That should be it. After making those changes, VMware Converter should read the VM files without giving the “can’t determine guest OS†error, and then will let you select your final destination (which would typically be VirtualCenter).
Note that this will create a new VM, rather than restoring over the existing VM. As a result, this may be most applicable when you need to recover individual files within a VM and aren’t performing file-level backups using VCB. By using VMware Converter and creating a new VM, you can boot the VM up, get the files that are needed, then shut the restored VM down and blow it away. This allows you to have the restore functionality of file-level backups but the speed of full VM backups.
Tags: Backup, ESX, Storage, Virtualization, VMware
-
vmware converter Unable to determine Guest Operating System
It took me over an hour to find this solution.
Unplug your USB disk.
Thats it. After this my XP was able to determine Guest Operating System.
None of the other clues helped. I edited my boot.ini file, no help.
I edited the .vmx & .vmdk files, no help.This solution is pretty lame though since my .vmx image just happened to be in the USB drive.
sigh
-
Can you script the VMConverter functionality?
-
Can you just upload the folder of the fullvm into the datatstorage and run the VM without going through VMConvertor?
-
There is a way you can restore VCB backups directly through Virtual Center without having to use converter. Here are the steps:
1) Copy the VCB backup folder to you SAN or ESX local storage
2) In Virtual Center browse the datastore that you copied the folder to.
3) Open the folder for the VM you want to restore and right click the .vmx file. Choose Add to Inventory
4) A dialog will open. Complete the wizard by specifying an ESX host in the new production cluster.
5) Right click the newly added VM and choose Edit Settings
6) Set the Network Adapter VLAN to the correct Network Label
7) Document the number of hard drives. As you will notice the restored drives do not show up with the correct space at first. You will need to re-add each drive one by one as shown in the next step
Click Remove on each of the hard drives.
9) Click Add
10) Choose Hard Disk
12) Select “Use an existing virtual disk”
13) Browse to the datastore where this VM lives and locate the vmdk. Click OK on all open Windows.
14)Repeat this process to add each drive if there was more than one in step 7.
15) Now clone the VM with a new name. This cloning process restores all the 2GB VCB backup files into a single VMDK.
16) Power up the clone and it is good to go! -
It works fine with VMware-converter-4.0.1-161434.exe. But not with version 3.0.3 and 4.3.0
-
Hi Ryan
Thanks mate for your reply. Worked fine for me.
Cheers




7 comments
Comments feed for this article
Trackback link: http://blog.scottlowe.org/2007/03/06/restoring-vcb-full-backups-with-vmware-converter/trackback/