# Restoring a Full Azure Virtual Machine Out of Place

You can restore one or more full VMs to a different location (out of place).

## Limitations

- Due to a Microsoft limitation, you cannot change the hostname of restored VMs.

- Due to a Microsoft limitation, Azure Disk Encryption (ADE) VMs may encounter restore issues after a key rotation. When a key is rotated, Microsoft creates a new key version. If you try to restore using a Key Vault that has the same key name but does not include the latest version, the restore will fail. To fix this, use a different Key Vault where that key doesn’t exist. This allows the restore job to recover all key versions successfully.

## Prerequisites

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

## Procedure

### Start the Restore

1. From the Command Center navigation pane, go to Protect > Virtual machines.

   The Overview page appears.

2. On the Virtual machines tab, click the VM to restore.

   The VM page appears.

3. In the Recovery points area, select a recovery point.

4. Click Restore.

   The Select restore type page appears.

5. Click Full virtual machine.

   The Full virtual machine page appears.

6. To select a specific MediaAgent and/or source for the restore, in the upper-right area of the page, click the Change source button.

   The Change source dialog box appears.

   - Restore from copy: With the default value of Automatic, the software searches for the requested data in the primary copy. If the data is not found in the primary copy, the software selects a secondary or auxiliary copy.

   - MediaAgent: With the default value of Automatic, software attempts to use the MediaAgent that performed the backup.

   For more information, see MediaAgent and Copy Precedence Considerations for Virtualization Restores.

7. Select the VMs to restore.

8. Click Restore.

   The Destination page of the Full virtual machine restore wizard appears.

### Destination Page

1. Click Out of place.

2. For Restore as, select the environment for the restored VM.

   By default, the Restore as list shows the environment of the source hypervisor.

   To restore to a different environment, see Cross-Hypervisor Restores.

3. For Destination, select the hypervisor to restore the VM to.

4. For Access node, select the access node or access node group for the restore.

   If you are restoring multiple VMs, select Automatic to distribute the workload (VMs) in the restore job across the access nodes that are assigned for the destination hypervisor. First, the VMs are assigned to the access nodes by a region match. Then, if access nodes are not available in the same region, the VMs are assigned using the round-robin method. The Automatic option is available for full restore and conversion operations both from streaming backups and IntelliSnap backup copies.

   If you select an access node group, the Commvault software distributes the workload across the access nodes that are available in the access node group.

5. Click Next.

   The Virtual machines page of the Full virtual machine restore wizard appears.

### Virtual Machines Page

- Select the VMs to modify restore settings for, and then click Configure restore options.

  The Restore options dialog box appears.

#### General Settings

1. For VM display name, do the following:

   - To modify the name of an individual restored VM, enter the new name.

   - To modify the names of multiple VMs with a prefix or a suffix, select this setting, select Prefix or Suffix, and then the prefix or suffix.

2. For Resource group, select the resource group for the restored VM.

3. For Region, select the region for the restored VM.

   Note

   Microsoft does not support restoring keys or secrets to different geographies. If your destination region is not in the same geography, the restore fails.

4. For Storage account, select the Azure Standard or Premium general-purpose storage account for the restored VM.

   You can select a different storage account for each VM and disk.

   Only locally-redundant storage (LRS) and StorageV2 (general purpose v2) accounts that are associated with the selected region for the restored VM are listed.

5. For Availability zone, leave Auto selected or select the availability zone to create the VM in.

   This setting applies only to Azure managed disks. The zones listed apply only to the region that you select for the restored VM.

   If you leave Auto selected, and if the feature is supported for the specified region and VM size, the VM is restored to the same availability zone as the source VM. Otherwise, it is restored without a zone (None).

6. For VM size, select a size for the restored VM.

#### Network Settings

You can create a new network interface or use an existing one.

- Create new network interface: By default, a full VM restore operation uses a new network interface.

  - To modify the network settings, do the following:

    1. Click the action button , and then select Edit.

       The Edit network settings dialog box appears.

    2. For Virtual network/subnet, leave Auto Selected selected or select a network and subnet.

    3. For Create/assign public IP, to specify a public IP address, move this toggle key to the right, and then select either Dynamic or Static. If you select Static, enter the IP address.

    4. For Preferred private IP type, select either Custom or Dynamic. If you select Custom, enter the IP address.

    5. Click Submit.

  - Security group: When opting to create a new network interface, it is necessary to either select a network security group for the restored virtual machine or retain the default setting of Auto Select.

- Use existing network interface: To use an existing network interface during full VM restore, select Use existing network interface, and then from the list, select the network interface.

#### VM Disk Configuration Options

1. To modify disk settings, select the disks, and then click Edit.

   The Configure restore options dialog box appears.

2. For Storage type, to manage storage and costs, you can select the disk type for the Azure destination VM.

   This setting applies only to Azure managed disks.

   The Original option uses the same storage type as the source VM.

3. For Storage account, select the Azure Standard or Premium general-purpose storage account for the restored VM.

   You can select a different storage account for each VM and disk.

   Only locally-redundant storage (LRS) and StorageV2 (general purpose v2) accounts that are associated with the selected region for the restored VM are listed.

4. Click Save.

#### Advanced Options

1. To modify advanced options, select Advanced options.

2. For Disk encryption type, select the type of encryption for the restored VM.

3. For Disk encryption set, you can select a disk encryption set (DES).

   If you select a DES, verify the following:

   - The DES and the Azure Key Vault that manages the encryption keys for the DES are available in the region you want restore the VM to.

     - If you use a custom role to give Commvault access to your Azure resources, the role has the Microsoft.Compute/diskEncryptionSets/read resource type. All the custom roles that Commvault provides include this resource type.

     Note

     - Commvault runs the restore job even if your custom role doesn't have the Microsoft.Compute/diskEncryptionSets/read resource type.
     - If you restore a DES-encrypted VM from a snap, the VM is restored with the same DES as the source VM.

4. To restore the VM as a managed VM, select the Restore as a managed VM check box.

   When you select this check box, the restore operation creates VM disks in the specified storage account, converts them to managed disks, and then attaches the disks to the restored VM.

5. For Key Vault, select the Azure Disk Encryption key vault to encrypt the restored VM with.

   This setting appears only for encrypted source VMs.

6. For VM tags, you can add, modify, or delete tags for the restored VM.

   If the source VM has tags, those tags are displayed in the VM tags area, and you can modify or delete those tags.

   You can add tags by typing them or by browsing to select the tags.

7. For VM extensions restore policy, specify whether to restore Azure VM extensions and whether to ignore failures to restore extensions.

8. Click Save.

9. Click Next.

   The Restore options page of the Full virtual machine restore wizard appears.

### Restore Options Page

1. To automatically start the VM after the restore is complete, select Power on VMs after restore.

   During the restore, the VM is briefly powered on, regardless of the value of this setting. This brief powering on of the VM is a necessary part of the restore process and cannot be changed.

   The power state of the VM does not affect subsequent backups.

2. To delete an existing VM and replace it with the restored VM, select Unconditionally overwrite if it already exists.

3. To reuse the existing VM client and map its information, such as client name, host name, and client ID to the source VM, select Reuse existing VM client.

4. To scan the restored VM backup for malware infection, select Run Threat Analysis.

   Note

   In Step 4 of the section "Destination Page", above, select a data access node. The Commvault software automatically installs the Threat Analysis package, if it is not already present, on the selected access node. The access node must meet the requirements. For more information about access node requirements, see .

5. To restore an empty VM disk for a disk that is excluded from backup, enable the Recreate filtered disks toggle key.

   Note

   The Commvault software restores a disk as an empty disk only if this option is enabled and the disk is excluded from the backup. For information about excluding disks from backups, see Modifying Settings for an Azure VM Group.

6. Click Next.

### Summary Page

1. Review the summary.

2. Click Submit.

×

Loading...