Date: NOV 2010
Product & Version: netvault 852
OS Version: all
Module & Version: Vmware 2.0.513
Application version: Vmware ESX 3.0,3.5,4.0,4.1
Symptoms:
When restore an existing Vm-system to the same ESX server but on a different datastore the restore fails with VM with identical uuid 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' found as seem below.
Binary log report the following:
Job Message 2010/11/10 13:49:09 115 Jobs BU2008SRV Starting job 115 'Restore VM n1082' (Phase 1 , Instance 1) for UID 0
Job Message 2010/11/10 13:49:10 115 Data Plugin VCENTER VMware Plugin 2.0.513 restore
Job Message 2010/11/10 13:49:11 115 Media BU2008SRV (ADIC) Job has been assigned media '000046' <adic_taeglich> in 'DRIVE 1:BU2008SRV'
Information 2010/11/10 13:51:06 115 Media BU2008SRV Using network socket for data transfer
Error 2010/11/10 13:51:06 115 Data Plugin VCENTER VM with identical uuid '421af5f9-73af-65bb-31dd-819444c78fe4' found
Error 2010/11/10 13:51:06 115 Data Plugin VCENTER Restore for VM 'n1082' failed
Cause:
You cannot restore a VM-system to an esx server that already has the same VM-system running on it even if you restore to a different Datastore because they will both try to use the same uuid.
1/ restore the Vm-system using the restore option 'Restore files from backup'
2/ put the files on to the required datastore in a directory with the same name of as you intend to call the system you want to restore.
3/ you can now use the VMware converter tool to convert this Vm-system into a format that the esx can read.
For an example of this see:
http://docs.bakbone.com/docs/NetVault_Backup_VMware_Plugin_Users_Guide_English.pdf
page 50
Recovering a Virtual Machine from a VADP Backup
Or cat the vmx file and look for the following line:
scsi0:0.fileName = "converted vmdk file name"
Example:
scsi0:0.present = "true"
scsi0:0.fileName = "DC1-000001.vmdk"
scsi0:0.deviceType = "scsi-hardDisk"
This gives you the name of the VMDK file it wants. As an example the file is DC1-000001.vmdk
4/ we now need to convert these files into the correct format for esx server to read. This using the following command.
vmkfstools -i scsi0.vmdk -d thin ./new.vmdk
Example for system called DC1:
vmkfstools -i scsi0-0-DC1.vmdk -d thin ./DC1-000001.vmdk
you should see the following output:
Destination disk format: VMFS thin-provisioned
Cloning disk ' scsi0-0-DC1.vmdk'...
Clone: 100% done.
5/ Now browse the datastore from the Vsphere client, right click the .vmx file.
In this example case DC1.vmx, and select Add to inventory and follow the steps in the wizard that pops up.
6/ Power-on the new virtual system and you will asked either by pop-up message or in the summary window of the new virtual system, whether the system is "copied" or "moved".
Select the "Copied" option and ok.
Explanation:
When the VMware files are backed up they are presented to NetVault:Backup by the VMware protocol VADP, in a different format than the one they normally are on the datastore .
VADP is the VMware backup interface that must be used when backing up Vm-systems. When a normal restore takes place the conversion is done automatically but if we restore the files for any reason we have to do a manual conversion as shown here.
Also see:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005628