Restoring a Full Virtual Machine Out of Place Using Live Recovery for VMware

Updated

You can restore a full VMware virtual machine out of place using a live recovery operation.

Before You Begin

  • If a passkey is configured for restores, you must have the passkey.

  • You must use VMware vCenter Server version 5.1, 5.5, 6.0, or 6.5.

  • VMware licensing must include a license for vMotion operations.

  • The ESX server that is used to mount the NFS datastore for browse and restore operations must be able to resolve the MediaAgent (which uses 3DFS components to perform the live recovery). To ensure connectivity, create a host file entry for the MediaAgent on the ESX server.

  • The vCenter user account must have permissions set as described in Permissions for Custom User Accounts.

  • The live recovery operation uses a 3DFS cache on the MediaAgent that performs the live recovery. The 3DFS cache is circular, which means that unused data are pruned from the cache as needed. By default, 5% free space is maintained on the cache.

    For each live recovery operation, the 3DFS cache requires minimum free space that is equal to the larger of the following values:

    • 20 GB

    • 15% of the total VM size (the sum of the sizes of all VMDKs for the VM)

      Note: For faster recovery times, host the 3DFS cache on a solid state drive (SSD) using flash memory storage.

  • If a File Recovery Enabler for Linux is configured, the restore operation will use the default File Recovery Enabler for Linux for the live recovery operation. Otherwise, the MediaAgent that performed the backup is used.

  • The same requirements that apply to a MediaAgent also apply to a File Recovery Enabler when it is used for live recovery.

  • The user performing the live recovery operation must be an owner of the virtualization client and access node used for the operation.

Procedure

  1. From the navigation pane, go to Protect > Virtualization.

    The Virtual machines page appears.

  2. On the Hypervisors tab, click the hypervisor.

    The hypervisor page appears.

  3. On the VM groups tab, in the row for the VM group, click the action button , and then click Restore.

    The Select restore type page appears.

  4. To choose a different MediaAgent or source copy for the restore, do the following:

    1. In the upper-right corner of the page, click Settings.

      The Settings dialog box appears.

    2. Configure the following options:

      • MediaAgent: Allow the Commvault software to select a MediaAgent or specify a MediaAgent:

        - Automatic: By default, the Commvault software selects the MediaAgent for the restore operation based on availability and environment.

        - To restore data using a specific MediaAgent, from the list, select a MediaAgent.

      • Source: Allow the Commvault software to select the copy of backup data or specify the copy:

        - Automatic: By default, the restore operation searches for the requested data in the primary copy and selects a different copy if the data is not found in the primary copy.

        - To restore from a specific copy of backup data, from the list, select a backup copy.

    3. Click Save.

  5. Select Full virtual machine to restore one or more full virtual machines.

    The Restore page appears.

  6. Select the content that you want to restore, and then click Restore.

    The Restore options dialog box appears.

  7. For Type, select Out of place.

  8. Beside Restore as, leave VMware vCenter selected.

    By default, the VM is restored to the same type of source hypervisor. If you select a different type of hypervisor, the restore is a VM conversion (cross-hypervisor restore).

  9. From the Destination list, select the hypervisor to restore the VM to (the destination).

    If a recovery target is defined and you have permission to access the recovery target, you can restore to a recovery target.

    To restore to a different vCenter, select Select a different vCenter (optional) from the list, and then enter the IP address of the vCenter or an ESX server.

  10. From the Access node list, select the access node or the access node group to use for the restore.

    If you are restoring multiple VMs, select Automatic to distribute the VMs in the restore job across the access nodes that are assigned for the VMware destination hypervisor.

    VMs are assigned to access nodes using the round-robin method.

    The Automatic option is available for full VM restores from streaming backups or IntelliSnap backup copies.

    If you select an access node group to restore VMs, the Commvault software distributes the workload (instances or VMs) in the restore job across the access nodes (also called proxies) that are available in the access node group.

  11. Configure options for the restored content:

    • VM display name: enter a name for the restored VM.

      If you are restoring the VM from VMware to vCloud, enter a new name instead of appending a string to the VM name.

      Note: If an existing VM with the same name exists on the destination host and you do not select Overwrite VMs if they already exist, the restore fails.

    • Destination host: To restore to a different host, enter the name or IP address for an ESX server, or click Browse to select an ESX host or cluster.

    • VM storage policy: Select a storage policy to use for the restore.

      If you select nothing or Source VM storage policy, then the same VM storage policy associated with the backup is used for the restore.

    • Datastore: To restore to a different data store, select the data store.

      Datastores that are incompatible with the selected VM storage policy appear with a warning label.

    • Resource pool: To restore to a resource pool, select the resource pool.

      The Resource pool list is available only if you are restoring to a vCenter.

    • VM folder path: To restore to a different folder, enter the path to the folder.

    • Network settings: To use different source and destination networks, click the Edit setting button , and in the Edit network settings dialog box, configure the source and destination network, then click OK.

      • Source network: Select the source network, or select Any Network to map all network connections for the source VM to a different network for the restored VM.

      • Destination network: Select a network connection for the restored VM, or select No Connection to restore without a network connection.

  12. IP address settings: To configure an IP address mapping, click Add, and in the IP address settings dialog box, specify address mappings as described in IP address mapping, then click OK.

  13. To automatically start the restored VM, move the Power on VMs after restore toggle key to the right.

  14. To replace an existing VM with the restored VM, move the Unconditionally overwrite if it already exists toggle key to the right.

  15. Under Additional options, specify the following:

    • For Disk provisioning, do the following:

      • To retain the provisioning method that was used at the time of backup, select Original.

      • To specify a different disk provisioning method, select Thick Lazy Zero, Thin, or Thick Eager Zero.

    • For Transport mode, do the following:

      • To have the Commvault software automatically select the best transport mode for the environment, select Auto.

      • To specify a specific transport mode, select the transport mode.

  16. Move the Restore virtual machine using live recovery (vMotion) toggle key to the right, and then configure the datastore and delay restore options:

    • To specify a different datastore for redirect writes, from the Redirect writes to datastore list, select the datastore.

    • To delay the restore, in the Delay migration (in hours) box, enter the number of hours (1-12) for the delay.

      You can use the VM during the delay.

  17. Click Submit.