Advanced Restore - Virtual Server Agent for Microsoft Hyper-V

Table of Contents

Choosing Restore Types

When restoring Hyper-V data, you can select one of the following restore type:

Full Virtual Machine

This restore type is selected by default. This restore type will be useful in the following scenario:

  • You are unable to turn on the virtual machine. However the disks (VHD files) are available for the machine
  • You want to restore an entire virtual machine to a specific point-in-time.
  • You want to move the virtual machine to a new Hyper-V host.

Virtual Machine Files

Use this restore type to restore disks (VHD files) from a virtual machine. This restore type will be useful in the following scenario:

  • The virtual machine is running, but one of its disk has errors.
  • The storage device hosting the disks has errors or not available.

Guest Files or Folders

Use this restore type to restore files or folders from a virtual machine. You can restore files or folders only if you have selected the Enable Granular Recovery check box while performing the backup of the virtual machine.

This restore type will be useful in the following scenario:

  • A file or folder on the virtual machine has errors and you are unable to open the file or the folder.
  • You want to restore a file or a folder to a specific point-in-time.

In-Place Restores

Restoring a Full Virtual Machine

Follow the steps given below to restore an entire virtual machine to its original location:

  1. From the CommCell Console, navigate to Client Computers > virtualization_client > Virtual Server > Hyper-V.
  2. Right-click the backup set that contains the virtual machine that you want to restore and click All Tasks > Browse and Restore.
  3. In the Restore Options dialog box, click View Content.
  4. Select a virtual machine in the left pane. The configuration and VHD files of the virtual machine are displayed in the right pane.

    You cannot select a configuration file or a VHD file when you have selected Full Virtual Machine as the Restore Type.

  5. Click Recover All Selected.
  6. Click OK.

    By default, the virtual machine will be restored to its original location.

Restoring Virtual Machine Files

Follow the steps given below to restore a disk from a virtual machine:

  1. From the CommCell Console, navigate to Client Computers > virtualization_client > Virtual Server > Hyper-V.
  2. Right-click the backup set that contains the data to restore and click All Tasks > Browse and Restore.
  3. In the Browse and Restore Options dialog, select Virtual Machine files and click View Content.
  4. Expand the listing in the Content tab and navigate to the required volume on a virtual machine.

    The right pane of the Content tab displays all the files in the volume.

  5. Select the required disks.

    You can select multiple disk files to restore. If you have created a checkpoint for the virtual machine, select any associated .avhdx files as well as the base disks.

  6. Click Recover All Selected.
  7. On the Restore Options for All Selected Items dialog:
    Option Steps
    Select a proxy:
    1. In the Destination client list, select the Hyper-V server that was used to back up the virtual machine.
    2. Specify the existing location of the disk in the Specify destination path box or click Browse to select a new location.
    Convert virtual machine disk: See Converting Virtual Machine Disks. If you select a disk to restore that is not in VHDX format, the conversion option is not presented.
    1. Under Virtual Disk Conversion, select the Convert Disk to option and use one of the following values:
      • VMDK: VMware virtual disk format. The VMDK disk is created with thick lazy zeroed provisioning. After conversion, you can attach the converted disk to an existing VMware virtual machine, or create a VMware virtual machine from the disk using vSphere.
      • VHD: Legacy virtual hard disk format for Hyper-V.
  8. Click OK.

Notes:

  • When you create a checkpoint for a virtual machine, an associated .avhdx file is created for the virtual machine disk. If you restore virtual disk files from such a backup, you must restore both the base (parent) disk and any associated .avhdx files (child disks). After restoring disk files, you can run the following PowerShell command to relink the parent and child files:

    PS C:\> Set-VHD -Path child_disk.avhdx -parentpath parent_disk.vhdx -IgnoreMismatchId

    After running this command you can mount the disk and browse guest files on the virtual machine disk.

  • When you restore a virtual machine disk file, the permissions associated with the original virtual machine are not restored. As a result, you might not be able to start a VM that refers to the disk file. You can address this issue by removing and re-adding the disk to the VM, by using Hyper-V Manager to reset the correct security permissions, or by using the icacls command to restore permissions as described in Hyper-V virtual machine may not start, and you receive a “‘General access denied error’ (0x80070005)” error message.

Converting Virtual Machine Disks

As part of the process of restoring virtual machine disk files, you can convert disks to a new format:

  • VMware virtual machine disks in the VMDK format can be converted to VHD or VHDX.
  • Hyper-V disks in the VHDX format can be converted to VMDK or VHD.

After converting a disk, you can attach it to an existing VM or use it to create a new VM. Disk conversion can be used to move data from one platform to another, or as the first step in migrating a virtual machine from one platform to another.

Virtual machines created from converted disks can be backed up and restored using the same processes as virtual machines created directly in VMware or Hyper-V.

Considerations

  • Disk conversion is supported for both Windows and Linux VMs and for disks using thin or thick disk provisioning, and can be initiated from full or incremental backup jobs.
  • Disk conversion is not supported from differential backups, or for virtual machines with multiple snapshots.
  • You can initiate a disk conversion when performing a Browse and Restore operation on a subclient from a full, synthetic full, or incremental backup job.

    Instead of browsing a subclient, you can also view backup history and select a specific backup job to browse for a disk; but when using this method you can only initiate a disk conversion from a full or synthetic full backup job.

     

Guest Files and Folders

Before restoring a file or folder on a virtual machine, ensure that a Disk Level backup has been performed and Enable Granular Recovery was selected while performing the backup.

To restore files and folders to a Windows client, the client must have one of the following components installed:

  • Virtual Server Agent
  • Windows File System iDataAgent (full or restore only)

You cannot restore files and folders directly to a Linux virtual machine. Instead, restore to another destination and copy the data to the virtual machine.

Considerations

  • The version of the file system agent on the destination VM must be the same as the version of the Virtual Server Agent.
  • You must select the Enable Granular Recovery option when you are performing the backup.
  • Logical volume manager (LVM) metadata processing for volumes encrypted using BitLocker is currently not supported. Decrypting contents of such volumes may not be feasible during backup because decryption requires a recovery password or a decryption key. Because metadata collection for the volume fails, a file-level browse operation for the encrypted volume cannot display file information.
  • For Windows:
    • You can perform the Browse and Restore operation by right-clicking a backup set. However, if the backup set contains some subclients configured for regular backup and other subclients configured for SnapProtect backup, you must select the Browse and Restore option by right-clicking the subclient.
    • You can restore files from NTFS file systems with the following limitations:
      • The formatted cluster size (allocation unit) must be 1024 or greater.
      • You cannot restore any archived files and folders.
      • You cannot restore files that have been dehydrated by Windows 2012 dedup.
      • You cannot restore files from volumes created on Windows Storage Spaces.
  • Linux
    • The virtual machine must have the ext2 or ext3 file system.

Restoring Files and Folders

Follow the steps given below to restore a file or folder on a virtual machine to its original location:

  1. From the CommCell Console, navigate to Client Computers > virtualization_client > Virtual Server > Hyper-V .
  2. Right-click the <backup>set that contains the virtual machine that you want to restore and click All Tasks > Browse and Restore.
  3. Select Guest Files or Folders on the Restore Options dialog box and click View Content.
  4. Click and navigate to the required volume on a virtual machine. The right pane displays all the files and folders in the volume.
  5. Select a file or a folder in the right pane.
  6. Click Recover All Selected.
  7. In the Destination client list, select a client where you want to restore the file or folder.
  8. Specify the existing location of the file or the folder in the Specify destination path box or click Browse to select the location.
  9. Click OK.

Restoring Guest Files and Folders Using UNIX MediaAgents

For file-level restores from disk-level backups using any Unix (AIX, HP-UX, or Solaris) MediaAgent, perform the following steps:

  1. From the CommCell Console, click Control Panel.
  2. On the Control Panel, click Media Management.
  3. On the Media Management Configuration dialog, click the Resource Manager Configuration tab.
  4. For the Allow restore jobs to use alternative MediaAgent and Drive Pool to access required media parameter, click in the Value column and enter 1.
  5. Click OK.
  6. From the CommCell Console, navigate to Client Computers | < Client> | Virtual Server | Hyper-V.
  7. Right-click a backup set and select All Tasks | Browse and Restore.
  8. In the Restore Options window, select Guest Files and Folders; then click the Advanced Options tab.
  9. In the Use MediaAgent list, select a Windows MediaAgent.
  10. Click View Content.
  11. In the client content window, select the virtual machine from which to restore the files and folders.
  12. Select guest files and folders to be restored; then click Recover All Selected. You cannot select an entire volume to restore.
  13. On the Restore Options for All Selected Items dialog, click OK.

Out-of-Place Restores

When a virtual machine is restored to a destination host that does not have the same names for virtual switches as the source host, the network adapter is not restored. The network connection is restored only if the same connection is available on the destination host at the time of the restore.

Before running an out-of-place restore, you can create a virtual switch on the destination host with a name that matches the virtual switch on the source Hyper-V host. Only use this approach if it is appropriate to use the same network connection for the virtual machine on the new host.

Otherwise, after the virtual machine is restored, manually connect the network adapter to a different virtual switch on the destination host.

Restoring a Virtual Machine to a Different Location

By default, when you restore a full virtual machine, it gets restored to its original location on the original Hyper-V Server. You can restore the virtual machine to a different location on the original Hyper-V server. This will be useful, when you want to restore the virtual machine to a point-in-time and want to retain the current data and configuration of the virtual machine.

While restoring hardlinks associated with any file, make sure that the following are taken into consideration

  • If you have performed an SnapProtect backup, then you cannot restore the hardlinks associated with a file. You must restore the complete virtual machine or the virtual hard disk that contains the hardlinks.
  • To restore only the hardlinks associated with a file, you must perform a regular backup and make sure that the Enable Granular Recovery option is selected while performing the backup.

Follow the steps given below to restore a virtual machine to a different location:

  1. From the CommCell Console, navigate to Client Computers | virtualization_client | Virtual Server | Hyper-V.
  2. Right-click the backup set that contains the virtual machine to restore and click All Tasks | Browse and Restore.
  3. In the Restore Options dialog box, click View Content.
  4. Select a virtual machine in the left pane. The configuration and VHD files of the virtual machine are displayed in the right pane.

    You cannot select a configuration file or a VHD file when you have selected Full Virtual Machine as the Restore Type.

  5. Click Recover All Selected.
  6. Select New Folder.

    The VM and Disk columns displays the name of the virtual machine and list of all the disks on the virtual machine.

  7. Click into the first row of Destination Path column and click .
  8. Select a location on the Destination client where you want to restore all the disks on the virtual machine and click OK.
  9. If you want to restore each disk in the different location, click each row in the Destination Path column and select location for the corresponding disk.
  10. Click OK.

Restoring a Virtual Machine to a Default Location

By default, when you restore a full virtual machine, it gets restored to its original location on the original Hyper-V Server. You can restore the virtual machine to the default location of the Hyper-V Server.  This will be useful when you are restoring a virtual machine to a different Hyper-V server and you do not know which volume on the server has the required space to restore the virtual machine.

Follow the steps given below to restore a virtual machine to the default location on the Hyper-V server:

  1. From the CommCell Console, navigate to Client Computers | <Microsoft Hyper-V Client> | Virtual Server | Hyper-V.
  2. Right-click the backup set that contains the virtual machine that you want to restore and click All Tasks | Browse and Restore.
  3. In the Restore Options dialog box, click View Content.
  4. Select a virtual machine in the left pane. The configuration and VHD files of the virtual machine are displayed in the right pane.

    You cannot select a configuration file or a VHD file when you have selected Full Virtual Machine as the Restore Type.

  5. Click Recover All Selected.
  6. Select Hyper v default folder.

Restoring a Virtual Machine to a Different Hyper-V Server

An entire virtual machine can be restored to different Hyper-V Server. This provides the flexibility to distribute restored virtual machines to a location with greater space and resource availability This is useful when the virtual machine's original location is not optimal.

Note: Windows 2012 R2 virtual machines must be restored to a Windows 2012 R2 Hyper-V server. Restores to an earlier version of Hyper-V server (Windows 2012 or 2008 R2) is not supported.

  1. From the CommCell Console, navigate to Client Computers | <Microsoft Hyper-V Client> | Virtual Server | Hyper-V .
  2. Right-click the backup set that contains the data you want to restore and click All Tasks | Browse and Restore.
  3. In the Restore Options dialog box, click View Content.
  4. Select the virtual machine in the left pane. The configuration and VHD files of the virtual machine are displayed in the right pane.
  5. Click Recover All Selected in the bottom of the window.
  6. In the Destination Client list, select a Hyper-V server.
  7. Click OK. When a virtual machine is restored, it is automatically mounted to the Hyper-V Server of the destination client you selected.

If a virtual machine with the same name already exists on the selected Hyper-V server, all the data and configuration of the virtual machine will be overwritten by the restored virtual machine. To avoid this, you can change the name of virtual machine while restoring it to a different Hyper-V server.

Changing the Name of a Virtual Machine

You can change name of a virtual machine while restoring the virtual machine. You can change the name when restoring the virtual machine to a new location or Hyper-v default folder. Renaming the VM avoids data loss if a virtual machine with the same name already exists in the new location or in the Hyper-V default folder.

  1. From the CommCell Console, navigate to Client Computers | virtualization_client | Virtual Server | Hyper-V .
  2. Right-click the backup set that contains the data to restore and click All Tasks | Browse and Restore.
  3. In the Restore Options dialog box, click View Content.
  4. Select the virtual machine in the left pane. The configuration and VHD files of the virtual machine are displayed in the right pane.
  5. Click Recover All Selected in the bottom of the window.
  6. Click New folder or Hyper V default folder.
  7. Click in the first row of Change VM display name to column and enter a new name of the virtual machine.
  8. Click OK.

Restoring Virtual Machine Disks to a Different Location

You can change the location of a virtual disk while restoring the disk. This will be useful when you want to attach a disk from one virtual machine to another virtual machine.

Follow the steps given below to restore a disk to a location different than its existing location:

  1. From the CommCell Console, navigate to Client Computers | virtualization_client | Virtual Server | Hyper-V .
  2. Right-click the backup set that contains the virtual machine to restore and click All Tasks | Browse and Restore.
  3. On the Restore Options dialog box, select Virtual Machine Files and click View Content.
  4. Click and navigate to the required volume on a virtual machine. The right pane displays all the files in the volume. Select the volume or required files from the volume.
  5. Click Recover All Selected.
  6. In the Destination client list, select a client that has the virtual server agent installed.
  7. Specify the location of the disk in the Specify destination path box or click Browse to select the location on the destination client.
  8. Click OK.

Restoring Files and Folders to a Different Location

Before restoring a file or folder on a virtual machine, ensure that a Disk Level backup have been performed and  Enable Granular Recovery was selected while performing the backup.

Follow the steps given below to restore a file or folder on a virtual machine to a location different than its original location:

  1. From the CommCell Console, navigate to Client Computers | virtualization_client | Virtual Server | Hyper-V .
  2. Right-click the backup set that contains the virtual machine to restore and click All Tasks | Browse and Restore.
  3. Select Guest Files or Folders on the Restore Options dialog box and click View Content.
  4. Click and navigate to the required volume on a virtual machine. The right pane displays all the files and folders in the volume.
  5. Select a file or a folder in the right pane.
  6. Click Recover All Selected.
  7. In the Destination client list, select a client where you want to restore the file or folder.
  8. Specify the location of the file or the folder in the Specify destination path box or click Browse to select the location on the destination client.
  9. Click OK.

Restoring Files and Folders to a UNC Path or NFS-Mounted File System

Before restoring a file or folder on a virtual machine, ensure that a Disk Level backup have been performed and  Enable Granular Recovery was selected while performing the backup.

Follow the steps given below to restore a file or folder on a virtual machine to a UNC Path (Windows client) or NFS Mounted File System (Unix client):

  1. From the CommCell Console, navigate to Client Computers | virtualization_client | Virtual Server | Hyper-V .
  2. Right-click the backup set that contains the virtual machine to restore and click All Tasks | Browse and Restore.
  3. Select Guest Files or Folders on the Restore Options dialog box and click View Content.
  4. Click and navigate to the required volume on a virtual machine. The right pane displays all the files and folders in the volume.
  5. Select a file or a folder in the right pane.
  6. Click Recover All Selected.
  7. In the Destination client list, select a Hyper-V server.

    The destination client must reside in the same CommCell as the client whose data was backed up.

  8. In the Specify destination path box enter the UNC path or the location of NFS mounted file system.

     For example, enter \\servername\sharename.  Do not specify a drive letter associated with a mapped drive.

    The restored data assumes the rights (i.e., permissions) of the parent folder.

  9. Select the Impersonate User check box.
  10. Enter a username and password that has all permissions for the UNC path to which the data will be restored. This user should be allowed to create files in the destination folder. Without these permissions, the recovery operation will not complete successfully.
  11. Click OK.
When restoring data to a UNC path (Windows) or NFS-mounted file system (Unix) is similar to a cross-computer restore except that:
  • The restored data passes through the client computer to the mapped share/file system.
  • The computer that hosts the share or mounted file system need not be another client within the CommCell.
  • All data restored to the shared directory assumes the security attributes (i.e., permissions) of the parent directory.

Converting Hyper-V Virtual Machines to Azure

When restoring a Hyper-V virtual machine (VM) from backup, the virtual machine can be restored as an Azure VM in the Azure management portal.

Considerations

SnapProtect considerations:

  • Conversion of virtual machines to Azure is not supported from SnapProtect backups, but is supported from SnapProtect backup copies.

  • Differential disks or checkpoints of virtual machines (files with .avhd or .avhdx extensions) will not be uploaded to Azure.

  • If the AUTO option is selected and the disk operating system type cannot be determined from the configuration file, the job will fail. The job can be resubmitted by selecting the proper operating system on the Restore Options for All Selected Items dialog box.

  • The Create and Power ON Virtual Machine option is selected by default. If this option is not selected when the VM is restored, only the operating system disk is registered, and any remaining disks are uploaded to the Azure storage account. In this case, VHDs must be created manually through the Azure management portal, using the Create VHD option on the Disk tab:

    1. For each disk, browse to the storage location and open the disk from which the VHD is to be created. Opening the disk registers it as a VHD, so that it can be attached to a new or existing VM.
    2. Select the VM to which the VHD is to be attached, and attach one or more registered VHDs from the storage location.

Azure VM considerations:

  • Hyper-V generation 2 virtual machines cannot be converted to Azure.
  • The VM name can only contain alphanumeric characters or the '-' character; the name cannot contain any Unicode Transformation Format (UTF) characters.
  • The RAM and disk specification for the source VM should match the format of the Azure destination VM. For example, if the source VM RAM is less than 1.75 GB, only two disks will be uploaded to Azure if AUTO is selected as the VM size for the conversion, because of Azure restrictions.
  • Virtual machines with a VM size of A8 or A9 can only be created in new Azure cloud services without any instances. You cannot create A8 or A9 VMs in existing cloud services.

Before You Begin

Before performing backups of source VMs:

  • Remote Desktop Protocol (RDP) must be enabled on the source VM and the user performing the conversion should be able to log in to the VM.
  • The source virtual machine must have a user account other than administrator or admin, because those names are reserved in Azure. If necessary, create an additional user account on the source virtual machine.
  • For Linux VMs, integration services should be enabled on the source VMs if they will be powered on automatically after conversion.

Procedure

To access a backup of a Hyper-V virtual machine and create an Azure virtual machine:

  1. From the CommCell Console, go to Client Computers > virtualization_client > Virtual Server > Hyper-V > backup_set.
  2. Right-click the subclient that contains the backup for the Hyper-V virtual machine to convert; then select Browse and Restore.
  3. On the Browse and Restore Options dialog, select Full Virtual Machine.
  4. Select Azure from the Restore as list under Full Virtual Machine.
  5. Click View Content. A Client tab shows the contents of the most recent backup for the subclient.
  6. Select a virtual machine in the left pane. The configuration and VHDX files for the selected virtual machine are displayed in the right pane.
  7. Click Recover All Selected at the bottom of the window.
  8. On the Restore Options for All Selected Items dialog, select values for the conversion:
    Options Steps
    Azure Subscription Select the virtualization client created for Azure.
    Destination client Select a destination client to act as a staging machine. Disk and configuration files for the Azure virtual machine are copied to the job results folder on the staging machine, then uploaded to Azure.
    VM and Disk The VM and Disk column displays the name of the virtual machine and lists virtual machine disks.
    Change VM display name to To avoid overwriting an existing virtual machine with the same name on the Azure management portal, click in the first row of the Change VM display name to column and enter a new name.
    Cloud Services Select one of the cloud services created in the Azure management portal from the list.
    Storage Accounts This list displays the storage account created under the selected cloud services. A different storage account can be selected for each virtual machine disk.
    Filter a disk To exclude a virtual machine disk, select Do Not Attach in the row for the disk under the Storage account column. When this option is selected, the specified disk is not uploaded to Azure and attached to the created VM.
    VM size Select one of the following VM size options:
    • AUTO: Size is selected automatically based on the RAM for the source VM.
    • A1:  1 core, 1.75 GB, 2 disks
    • A2:  2 cores, 3.5 GB, 5 disks
    • A3:  3 cores, 7 GB, 9 disks
    • A4:  4 cores, 14 GB, 17 disks
    • A5:  2 cores, 14 GB, 5 disks
    • A6:  4 cores, 28 GB, 9 disks
    • A7:  8 cores, 56 GB, 17 disks
    • A8:  8 cores, 56 GB, 17 disks
    • A9:  16 cores, 112 GB, 17 disks
    Operating System Select Windows or Linux to match the operating system of the source VM.

    If necessary, you can select the AUTO option to automatically detect the operating system of the source VM.

    Create and Power ON Virtual Machine This option is selected by default; disks are uploaded to Azure and the virtual machine is deployed in the Azure management portal.

    If this option is cleared, only the disk is uploaded; the operating system disk is registered in the Disks tab and the virtual machine is not deployed in the Azure management portal.
    Unconditionally overwrite VM and VHDs in destination path If a virtual machine with the same name exists on the Azure management portal, select this option to overwrite the existing virtual machine.
  9. Click OK.

Results

After VM conversion when a source VM had dynamic disks using simple disk spanning, RAID, striped, or mirrored layouts, the disks in the converted VM might be marked as Failed in Disk Management. You must bring these disks online manually using Disk Management. Perform an Import Foreign Disks operation on the guest VM for the disk group that contains failed disks to bring the disks back online. As noted in Description of Disk Groups in Windows Disk Management, import the entire disk group in one operation rather than performing a partial import.

Viewing and Restoring a File Version

The View All Versions feature enables you to view multiple versions of a file that has changed across different backup jobs. Use this feature to restore a specific version of a file from a Browse and Restore or Find operation.

  • Backups must be performed using the Enable Granular Recovery option.
  • You can use this feature to recover a single version for an individual file. You cannot recover multiple versions of a file in the same request.
  • View All Versions is supported only for backups performed using SnapProtect Version 10, Service Pack 7 or higher.

  • To browse for a file version based on the time of the backup:
    1. Initiate a restore.
    2. Choose the following options on the Browse and Restore Options dialog:
      1. Select Guest Files and Folders.
      2. Click the Time Range tab.
      3. Select Absolute Time or Relative Time; then enter a time range or time period.
    3. Click View Content.

      A Client tab is displayed for the backup job.

    4. In the left pane, navigate to the required volume on the virtual machine with the file to be restored.

      The guest files and folders on the volume are displayed in the right pane.

    5. On the Client tab, right-click a file and select View All Versions.

      The available versions for the selected file are displayed in the right pane.

  • To find a file version:
    1. Execute a Find operation from a backup set or subclient:
      • Right-click the backup set and click All Tasks | Find.
      • Right-click the subclient and click Find.
    2. Enter the file name or pattern in the File Name box.

      To specify a file name pattern, use the following wildcards or a combination of wildcards:

      * Any number of characters (for example, Accounting*)
      ? Any one character (for example, user_group?)
      [] A range of characters (for example, [a-k]Lee)
      [!] A negation of a range of characters (for example, [!a-k]Lee)
    3. In the Search within these folders box, enter the location where you want to search for the file. Do not include the drive letter in the location.
    4. Click View Content.

      The files that match the criteria are displayed on the Search Results tab.

    5. Select a file on the Search Results tab; then right-click the file and select View All Versions.

      The available versions for the selected file are displayed in the right pane.

After displaying file versions on the Client or Search Results tab:

  1. Select the file version to restore.
  2. Complete the restore operation.

For details, see Restoring Guest Files and Folders.

Automatically Power On Restored Virtual Machines

Once a virtual machine has been restored, it can be automatically powered after the completion of the restore job.

  1. From the CommCell Console, navigate to Client Computers | <Microsoft Hyper-V Client> | Virtual Server | Hyper-V .
  2. Right-click the backup set that contains the data you want to restore and click All Tasks | Browse and Restore.
  3. In the Restore Options dialog box, click View Content.
  4. Select the virtual machine in the left pane. The configuration and VHD files of the virtual machine are displayed in the right pane.
  5. Click Recover All Selected in the bottom of the window.
  6. Select Power On Virtual Machine after Restore check box.
  7. Click OK. When a virtual machine is restored, it is automatically mounted to the Hyper-V Server.

Restoring a Virtual Machine to a Cluster Shared Volume

You can restore a virtual machine to a cluster shared volume in a Hyper-V cluster.

  1. Inside the Failover Cluster Manager, find the owner of the cluster shared volume onto which you want to perform a restore.
  2. From the CommCell Console, navigate to Client Computers | <Microsoft Hyper-V Client> | Virtual Server | Hyper-V .
  3. Right-click the backup set that contains the data you want to restore and click All Tasks | Browse and Restore.
  4. In the Restore Options dialog box, click View Content.
  5. Select the virtual machine in the left pane. The configuration and VHD files of the virtual machine are displayed in the right pane.
  6. Click Recover All Selected in the bottom of the window.
  7. The Destination client list by default, displays the name of the last node used to backup the virtual machine. However, you can select a different owner of the cluster shared volume from the drop-down list available.
  8. Select the New folder option.
  9. Click into the first row of Destination Path column and click . Specify the path of the Cluster Shared Volume to which the Virtual Machine has to be restored.
  10. Select the cluster shared volume and click OK on the Browsing for destination folder dialog box.
  11. Select the Register Virtual Machine with Failover Cluster check box. This will ensure that the virtual machine will be registered with the failover cluster immediately after the restore. Once the virtual machine is registered, you can migrate it to any Hyper-V server with in the cluster.

    In order to register the virtual machine with the failover cluster, ensure that the user name specified in Step 2 during the creation of a virtualization client is part of the following administrator groups on the Hyper-V host:

    • Cluster Administrator group
    • Hyper-V Administrators group
    • Local Administrators group (for Windows Hyper-V Server 2008 R2)

  12. Click OK.

    When a virtual machine is restored, it is automatically mounted to the Hyper-V Server of the destination client you selected. It will be automatically registered with the failover cluster.

    You have to manually register the Virtual Machine running on 2008 R2 Hyper-V server with the failover cluster if the UAC (User Account Control) is enabled on it.

Restoring a Deleted Virtual Machine

Use the following steps to restore a deleted Virtual Machine:

  1. Click on Summary in the CommCell Console.
  2. Navigate to Job Summary and  click on the Selection tab.
  3. Make sure that the Include Protected VMs option is selected and click Run.
  4. You can search for your Virtual Machine name in the Job Summary report and obtain details on the time frame of the latest backup performed on that Virtual Machine.

    Point-in-Time Restore

  5. From the CommCell Console, navigate to Client Computers | <Microsoft Hyper-V Client> | Virtual Server | Hyper-V.
  6. Right-click Backup Set or Subclient, click All Tasks | Browse and Restore.
  7. In the Restore Options window, click View Content.
  8. Click Recover All Selected.
  9. Click Advanced.
  10. Select the Browse Options tab.
  11. Select the Restore deleted items check box and then select the Specify Time Range check box.
  12. Select the time range to restore the files, deleted in that period of time.
  13. In the Advanced Restore Options dialog box, click OK.
  14. In the Recover Options for All Selected Items dialog box, click OK.

Scheduling a Restore

  1. From the CommCell Console, navigate to Client Computers | <Microsoft Hyper-V Client> | Virtual Server | Hyper-V.
  2. Right-click Backup Set or Subclient, click All Tasks | Browse and Restore.
  3. In the Restore Options window, click View Content.
  4. Select the virtual machine in the left pane. The configuration and VHD or VHDX files of the virtual machine are displayed in the right pane.
  5. Click Recover All Selected in the bottom of the window.
  6. Click Job Initiation tab and click Schedule.
  7. Click Configure.
  8. Select the appropriate scheduling options.  For example:
    • Click Weekly.
    • Check the days you want the run the restore job.
    • Change the Start Time to 9:00 PM
    • Click OK to close the Schedule Details dialog box.
    • Click OK to close the Restore Options dialog box.

    The restore job will execute as per the schedule.

Browse and Restore by Job History

You can restore full virtual machines or guest files and folders from a specific backup job:

  • Full Virtual Machine - Restore a full virtual machine by restoring from a full backup job.
  • Guest Files or Folders - Restore guest files and folders to the file system of any client that supports file and folder restores. You can restore guest files and folders from incremental or differential backup jobs, but only if the Enable Granular Recovery option was selected when performing the backup.

Perform the following steps to restore data by jobs:

  1. From the CommCell Console, navigate to Client Computers | <VirtualizationClient> | Virtual Server | <InstanceName> | <BackupSet>.
  2. Right-click the subclient and select Backup History.
  3. On the Backup History Filter dialog, click OK.
  4. From the Backup Job History tab, right-click the backup job to be restored and select Browse and Restore.
  5. From the Restore Options dialog box, select the type of restore and click View Content.
  6. On the Content tab, select the data to be restored.
  7. Click the Recover All Selected button at the bottom of the window.
  8. Select the desired restore options and click OK.

Manage Restore Jobs

Once you initiate the restore operation, a restore job is generated in the Job Controller. Jobs can be managed in a number of ways. The following sections provide information on the different job management options available:

Restart Jobs

Jobs that fail to complete successfully are automatically restarted based on the job restart configuration set in the Control Panel. This configuration can be changed at any time; but changes to this configuration affect all jobs run in the entire CommCell.

You can also override the default CommServe configuration for individual jobs by configuring retry settings when initiating the job. This configuration only applies to the specific job.

Restore jobs for the Virtual Server Agent are restarted from the beginning.

Configure Job Restarts at the CommServe Level

  1. In the CommCell Console, click the Control Panel icon, then under System click Job Management.
  2. In the Job Restarts tab of the Job Management dialog, select a job type from the Job Type list, then select the Restartable option.
  3. To change the maximum number of times the Job Manager tries to restart a job, select a number in the Max Restarts box.
  4. To change the time interval between attempts by the Job Manager to restart the job, select a number of minutes in the Restart Interval (Mins) box.
  5. Click OK to save your changes.

Configure Job Restarts for an Individual Job

  1. From the Browse and Restore Options dialog, click Advanced, then select the Job Retry tab and specify the following as needed:
    • Total Running Time - The maximum elapsed time, in hours and minutes, from the time that the job is created.
    • Number of Retries - The number of times that Job Manager attempts to restart the job.
    • Kill Running Jobs When Total Running Time Expires - Option to kill the job when the specified Total Running Time has elapsed, even if its state is "Running".
  2. Click OK.

Resubmit Jobs

If a restore job fails to complete successfully, you can resubmit the job without the need to reconfigure the original job's restore options using the Resubmit Job feature. When a job is resubmitted, all the original options, restore destinations, and other settings configured for the job remain intact.

Resubmit a Restore Job

  1. From the CommCell Browser, right-click a client computer and select View | Job History.
  2. From the Job History Filter dialog, select the Data Recovery Operations and Browse and Restore options.
    • To view more advanced options, click Advanced.
    • From the Data Recovery History Advanced Filter dialog, select the destination client to view for restore jobs, then click OK.

    The system displays the results of the options you selected in the Data Recovery Job History window.

  3. Right-click any job and select Resubmit.
  4. Select the job options.
  5. Click OK.

Control Jobs

The following controls are available for running jobs in the Job Controller tab of the CommCell Console:

Suspend

Temporarily stops a job. A suspended job is not terminated; it can be restarted at a later time. Only preemptible jobs can be suspended.

Resume

Resumes a job and returns the status to Waiting, Pending, Queued, or Running, depending on the availability of resources or the state of the operation windows and activity control settings.

Restore jobs for the Virtual Server Agent are resumed from the beginning.

Kill

Terminates a job.

These controls can be applied to:

  • All jobs in the Job Controller.
  • All selected jobs in the Job Controller, providing you have security associations at the required level for each job selected.
  • All data protection operations running for a particular client, or for a client and agent.
  • All data protection operations running for a particular MediaAgent.

Control a Job

From the Job Controller tab of the CommCell Console, right-click the job and select Kill, Suspend, or Resume.

  • When killing a job:

    If you are sure you want to kill the job, click Yes on the confirmation prompt. The job status may change to Kill Pending for a few moments while the operation completes. Once completed, the job status changes to Killed; after five minutes the job is removed from the Job Controller window.

  • When suspending a job:

    The job status may change to Suspend Pending for a few moments while the operation completes. The job status then changes to Suspended.

  • When resuming a job:

    As the Job Manager attempts to restart the job, the job status changes to Waiting, Pending, or Running.

Additional Restore Options

Several additional options are available to further refine your restore operations. The following table describes these options, as well as the steps to implement them.

Be sure to read the overview material referenced for each feature prior to using them.

Option Description Related Topics
Impersonate User This information is needed only if you intend to restore data to a mapped network drive, shared network drive, or directory to which you do not have access privileges.

You can impersonate a windows logon information with an account that has access rights to restore data.

  1. From the CommCell Browser, click Client Computers | <Virtualization Client> | Virtual Server | <instance name> | defaultBackupSet.
  2. Right-click the backupset that contains the data you want to restore and select Restore.
  3. Select the required entity in the Restore Options dialog box and click OK.
  4. Select the data to be restored and click Recover all Selected.
  5. From the Restore Options for All Selected Items dialog box, click Advanced.
  6. From the Advanced Restore Options (General) tab, select Impersonate User option.
  7. In User Name and Password boxes, enter a user name and password which has access privileges. In Confirm Password box, type the password again.
  8. Click OK.
 
Startup Options

The Job Manager uses the startup priority setting when allocating required resources. This is useful if you have jobs that are very important and must complete, or jobs that can be moved to a lower priority.

  1. From the CommCell Browser, click Client Computers | <VirtualizationClient> | Virtual Server | <InstanceName> | defaultBackupSet.
  2. Right-click the subclient that contains the data to restore and select Browse and Restore.
  3. Select the type of restore in the Browse and Restore Options dialog and click OK.
  4. Select the data to be restored and click Recover all Selected.
  5. From the Restore Options for All Selected Items dialog box, click Advanced.
  6. From the Advanced Restore Options (Startup) tab, select the Use Default Priority option.
  7. Select the Change Priority option to change the priority for a job, between 0 (highest priority) and 999 (lowest priority).
  8. Select the Start up in Suspended State option to start the selected job in a suspended state.
  9. Click OK.
Refer to Job Priority and Priority Precedence.
Copy Precedence

When you select the Restore from copy precedence option, the system recovers or retrieves data from the selected storage policy copy (Synchronous Copy or Selective Copy). If data does not exist in the specified copy, the data recovery or retrieve operation fails, even if the data exists in another copy of the same storage policy.

When cleared (the default), the system recovers or retrieves data from the storage policy copy with the lowest copy precedence. If the data was pruned from the primary copy, the system automatically recovers or retrieves from the other copies of the storage policy in the lowest copy precedence to highest copy precedence order. Once the data is found, it is recovered or retrieved, and no further copies are checked.

  1. From the CommCell Browser, click Client Computers | <VirtualizationClient> | Virtual Server | <InstanceName> | defaultBackupSet.
  2. Right-click the subclient that contains the data to restore and select Browse and Restore.
  3. Select the type of restore from the Restore Options dialog box and click OK.
  4. From the Content tab, select the data to be restored and click Recover all Selected.
  5. From the Restore Options for All Selected Items dialog box, click Advanced.
  6. From the Advanced Restore Options (Copy Precedence) tab, select the Restore from copy precedence option.
  7. Select the number to change the selected copy's precedence. The numbers will move a copy to a higher or lower precedence in increments of 1.
  8. Click OK.

Refer to Recovering Data From Copies.

Data Path Options

Data Recovery operations use a specific data path (Library, MediaAgent, Drive Pool, and Drive) to perform restore operations as configured in the CommCell. By default, the system automatically identifies the data path for restore operations. You can change the data path in the Advanced Restore Options dialog by selecting a different MediaAgent, library, drive pool, or drive.

The following are some of the important situations where you may need to change the data path:

  • To free heavily loaded resources such as MediaAgents and libraries.
  • To move media to a different library after a library suffers severe hardware damage, in order to access data secured by data protection operations.
  • To assign a storage policy copy from a more active drive pool to a less active one, when one drive pool within a library is being used much more frequently than another.
  1. From the CommCell Browser, click Client Computers | <VirtualizationClient> | Virtual Server | <InstanceName> | defaultBackupSet.
  2. Right-click the subclient that contains the data to restore and select Browse and Restore.
  3. Select the type of restore in the Restore Options dialog box and click OK.
  4. From the Content tab, select the data to be restored and click Recover all Selected.
  5. From the Restore Options for All Selected Items dialog box, click Advanced.
  6. From the Advanced Restore Options (Data Path) tab, select the MediaAgent and Library that you wish to use for the restore.
  7. Select the Drive Pool and Drive for tape library.
  8. To restore using a specific proxy server, select the name of the Proxy server.
  9. Click OK.
Refer to Change Data Path.
Encryption You can configure encryption for a subclient during the data recovery operation. To encrypt data during data recovery operations using the CommCell Console, you must configure encryption at the client level first, then at the subclient level.

If you configure data encryption with a pass phrase and do not elect to export the pass phrase to destination clients, you must enter the pass phrase during immediate data recovery operations. Scheduled data recovery operations require you to export the pass phrase.

  1. From the CommCell Browser, click Client Computers | <VirtualizationClient> | Virtual Server | <InstanceName> | defaultBackupSet.
  2. Right-click the subclient that contains the data to restore and select Browse and Restore.
  3. Select the type of restore on the Restore Options dialog box and click OK.
  4. Select the data to be restored and click Recover all Selected.
  5. From the Restore Options for All Selected Items dialog box, click Advanced.
  6. From the Advanced Restore Options (Encryption) tab, enter a pass phrase in the Pass Phrase dialog box.
  7. Enter the pass phrase again in the Re-enter Pass Phrase dialog box.
  8. Click OK.
Refer to data encryption.
Job Retry Options Restore jobs can be restarted either by a user or automatically by the Job Manager. You can specify the maximum elapsed time before a job can be restarted or killed and the maximum number of restart attempts.
  1. From the CommCell Browser, click Client Computers | <VirtualizationClient> | Virtual Server | <InstanceName> | defaultBackupSet.
  2. Right-click the subclient that contains the data to restore and click Browse and Restore.
  3. Select the type of restore in the Restore Options dialog and click OK.
  4. Select the data to be restored and click Recover all Selected.
  5. From the Restore Options for All Selected Items dialog box, click Advanced.
  6. From the Advanced Restore Options (Job Retry) tab, select the Enable Total Running Time option.
  7. Select the Enable Number of Retries option.
  8. Select the Kill Running Jobs When Total Running Time Expires option.
  9. Click OK.
Refer to Job Management.
Alert The Alert option is used to set criteria for notifications or alerts that are triggered by job status, such as failure, success, or any other conditions triggered by the restore job. Adding alerts helps the user or the user group get automatic notification about the status of a restore job.
  1. From the CommCell Browser, click Client Computers | <VirtualizationClient> | Virtual Server | <InstanceName> | defaultBackupSet.
  2. Right-click the subclient that contains the data to restore and click Browse and Restore.
  3. Select the type of restore in the Restore Options dialog box and click OK.
  4. Select the data to be restored and click Recover all Selected.
  5. From the Restore Options for All Selected Items dialog box, click Advanced.
  6. From the Advanced Restore Options (Alert) tab, click Add Alert.
  7. From the Add Alert Wizard dialog, select Threshold and Notification Criteria Selection and click Next.
  8. Select the Notification Type(s) Selection option and click Next.
  9. Select the User(s) and User Group(s) Selection and click  Next.
  10. Verify the Summary.
  11. Click Finish.
Refer to Alerts and Notifications.
CommCell Readiness Report

CommCell Readiness Report provides you with important information about the potential problems that can impact your restore operations before they occur.

Refer to CommCell Readiness Report.
Restore Job Summary Report Restore Job Summary Report provides you the summary of all restore jobs during a specified time period for each client. Select Restore option from the Job Summary Report Selection dialog box, to view the Restore Job Summary Report. Refer to Restore Job Summary Report.

Related Topics

Scheduling

Provides comprehensive information on scheduling jobs.

Job Management

Provides comprehensive information on managing jobs.

List Media

Provides comprehensive information on media management and prediction.