Restoring VMware virtual machines from full virtual machine backups

You can run a full virtual machine restore of the VM files that you backed up to the IBM Spectrum Protect™. A full VM restore creates a virtual machine and restores all of the virtual disks to the state that existed at the time of backup.

Before you begin

  • You must have backed up the data for a virtual machine.
  • You can restore data by using this method from the backup-archive client on one the following computers:
    • The vStorage backup server.
    • Another computer that has the appropriate authorization to the backed up data by using the ASNODENAME or VIRTUALNODENAME option, and access to the ESX Server data store.
  • Before you begin the restore a virtual machine, you must delete the existing virtual machine from its original location. Alternatively, if you want to keep the original virtual machine intact, you can specify a new name for the restored virtual machine.

VMware operations are available on a Linux x86_64 client that is installed on a vStorage backup server.

Procedure

To restore full VM files:

  1. Select Actions > Restore VM from the menu bar in the "IBM Spectrum Protect" window.
  2. From the "Restore Virtual Machine" window, expand the Virtual Machines node in the tree and select the virtual machine that you want to restore.

    The available backup versions of the full virtual machine are in the list next to the node tree.

  3. Click the selection box Selection Box next to the backup version that you want to restore. You can select active or inactive backup versions.
  4. Click Restore to begin the full VM restore.
  5. Complete the fields in the "Restore Destination" window and click Restore.
    • Click Original location to restore the virtual machine to the original location.
    • Click Following location to restore the virtual machine to another location, and keep the original virtual machine intact.
      • Complete one of the following fields:
        • In the Name field, enter name of the new virtual machine that will be created. This field is required.
        • In the Datacenter field, enter the VMware data center name that is defined to the vSphere vCenter where the new VM will be created.
        • In the Host field, enter the VMware ESX host server that is defined to the vCenter Data Center where the new VM will be created.
        • In the Datastore field, enter the location of the volume data and configuration files for SAN, local storage, NAS, or iSCSI that is defined in the vSphere vCenter Data Center where the new VM will be created.

        If a virtual machine was removed from the inventory of the ESX or the vCenter, but all its files and folders still exist where that virtual machine was located, a "_1" is appended to the original folder name.

  6. Optional: The Task List window shows the progress of the operation. Click Report to display more information about the operation.

Results

Tip:
  • You can also run a full virtual machine restore from the command-line client on the vStorage backup server. For example:
    dsmc restore vm my_vm -vmname=newname -datacenter=MyDatacenter 
      -host=MyBigBusiness.example.com -datastore=MyDatastore
  • IBM Spectrum Protect for Virtual Environments: Data Protection for VMware also provides the capability to restore individual files from full VM image backups. You can use the IBM Spectrum Protect file restore interface or the IBM Spectrum Protect Recovery Agent to restore individual files. For more information, see the IBM Spectrum Protect for Virtual Environments: Data Protection for VMware documentation at http://www.ibm.com/support/knowledgecenter/SSERB6_8.1.6/ve.user/vmware_container_topic.html.

  • If the operation completed with errors, consult the client error log file (dsmerror.log) for more information about the error messages.
Related information:
VM Backup