This section describes how to backup and restore virtual machine running on VMware.
Refer to the following instructions to restore VM running on VMware ESXi or ESX Server. VM can be restored to the original location with the following condition:
Table of contents:
Double-click on the OBM desktop icon or right-click on the system tray icon:
vCenter Items |
Description |
Hosts and Clusters |
VM host and cluster, virtual hard disk information. |
VM Templates |
Contains virtual machine templates. |
Datastores and Datastore Clusters |
Contains information about the data stores and data store cluster in the inventory. |
Networking |
Configuration of vSphere distributed switch and network settings. |
Settings - Licensing |
vCenter and host information. |
Settings - Server Settings |
vCenter server settings such as licensing, statistic and timeout information etc. |
Settings - Custom Attributes |
Custom attributes for the VM summary. |
Settings - Message of the Day |
Message of the day in vCenter. |
Settings - Roles |
Information on the login user privilege. |
Settings - Host Profiles |
Configuration details of a specific host. |
Settings - Scheduled Tasks |
Scheduled action for the VM |
Continue to the next steps for instruction to remove the missing hard disk from the virtual machine's configuration.
For original virtual machine with no snapshot
For original virtual machine with snapshot (non-VDDK mode)
Important Serious problem may occur if the configuration files are incorrectly modified; it may prevent the virtual machine from starting. Please only perform the following procedures if you have in-depth knowledge on VMware product.
${VM-Location}\${VM-Name}.vmsd
Example: Snapshot 1, SCSI (0:2) Disk 2 is removed.
.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "3" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1" snapshot0.disk2.fileName = "Windows 2008-2.vmdk" snapshot0.disk2.node = "scsi0:2"
.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "3" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1"
${VM-Location}\${VM-Name}.vmsd
Example:
Snapshot 1, if one of the disks is removed, updates the value of snapshot0.numDisks.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "3" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1"
snapshot0.numDisks = "3"
To
snapshot0.numDisks = "2"
.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "2" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1"
Important: The restored virtual machine does not support the reversion of previous snapshots if they contain virtual disks not restored.
For backup client computer on Windows, double-click on the OBM desktop icon or right-click on the system tray icon:
Alternate location Select this option if you want to use AhsayOBM to search the available hypervisor.
Note: The setting is not available for the restore to 'Alternation location'.
Continue to the next steps for instruction to remove the missing hard disk from the virtual machine's configuration. Alternate location (Raw File) (non-VDDK mode) Select this option if you want to transfer the VM files to another hypervisor manually.
For original virtual machine with no snapshot
For original virtual machine with snapshot (non-VDDK mode)
Important Serious problem may occur if the configuration files are incorrectly modified; it may prevent the virtual machine from starting. Please only perform the following procedures if you have in-depth knowledge on VMware product.
${VM-Location}\${VM-Name}.vmsd
Locate the line of all non existing virtual disk. Example: Snapshot 1, SCSI (0:2) Disk 2 is removed.
.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "3" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1" snapshot0.disk2.fileName = "Windows 2008-2.vmdk" snapshot0.disk2.node = "scsi0:2"
.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "3" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1"
${VM-Location}\${VM-Name}.vmsd
Example: Snapshot 1, if one of the disks is removed, updates the value of snapshot0.numDisks
.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "3" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1"
snapshot0.numDisks = "3"
To
snapshot0.numDisks = "2"
.encoding = "UTF-8" snapshot.lastUID = "1" snapshot.numSnapshots = "1" snapshot.current = "1" snapshot0.uid = "1" snapshot0.filename = "Windows 2008 Snapshot1.vmsn" snapshot0.displayName = "Snapshot1" snapshot0.description = "" snapshot0.createTimeHigh = "309233" snapshot0.createTimeLow = "1291281261" snapshot0.numDisks = "2" snapshot0.disk0.fileName = "Windows 2008-1.vmdk" snapshot0.disk0.node = "scsi0:0" snapshot0.disk1.fileName = "Windows 2008-1.vmdk" snapshot0.disk1.node = "scsi0:1"
Important: The restored virtual machine does not support the reversion of previous snapshots if they contain virtual disks not restored.