# Attaching a Disk to a New VM

You can restore a Azure Local VM backup and attach the disk to a new Azure or AWS VM. The OS disk and data disks of the original instance are attached to the new VM as data disks.

## Procedure

### Select the Disk to 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 that contains the disk.

   The VM properties page appears.

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

4. Click Restore.

   The Select restore type page appears.

5. Click Attach disk to VM.

   The Attach disk to VM 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.

7. Select the disk to restore.

8. Click Restore.

   The Restore options dialog box appears.

### Create a New VM

The following steps are performed on the New virtual machine tab, which appears for both admin users and end users.

1. For Restore as, select Azure Resource Manager or Amazon Web Services.

2. For Destination, select the hypervisor to associate the new VM with.

3. For Access node, leave Automatic (the default value) selected, or select an access node or an access node group.

   If you select Automatic, the Commvault software performs the restore using the most suitable access node from the destination hypervisor.

   If you select an access node group, the Commvault software performs the restore operation using the most suitable access node that is available in the access node group.

   For access node selection, the Commvault software checks for the same region. If no region match is found, then any of the available access nodes from the selected destination hypervisor or access node group is used.

4. For VM display name, enter a descriptive name for the new VM.

5. For Resource group, select a resource group for the new VM.

6. For Region, select the region to create the VM in.

7. For Storage account, select the storage account to create the VM in.

8. For Availability zone, select None to restore the without a zone.

9. For Image option, select the image to create the new VM from.

   To browse the images based on their visibility type, do the following:

   1. Click the browse button.

      The Image option dialog box appears.

   2. From Visibility type, select Marketplace, Private, Compute Galleries, or Shared Galleries.

   3. Select a gallery.

   4. Select an image.

   5. Click Save.

10. For VM size, select the size for the new VM.

11. For Administrator account, enter credentials for the new VM.

12. For Network settings, leave Auto Selected selected for the network and subnet, or modify the settings.

    To modify the 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, select the network and subnet for the new VM.

    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 Dynamic or Custom. If you select Custom, enter the IP address.

    5. Click Submit.

13. For Security options, enter None if your environment does not use Security groups. The VM automatically inherits the default network configuration from its associated subnet or virtual switch.

14. For VM disk configuration options:

    1. Select the disk.

    2. Click Edit.

       The Modify options for disk dialog box appears.

    3. For Disk name, enter a descriptive name for the disk.

    4. 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.

    5. 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.

    6. Click Save.

15. 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.

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

17. Click Submit.

×

Loading...