Attaching a Disk to an Existing VM for Azure

Updated

From Azure virtual machine backups, you can restore a virtual machine (VM) disk and attach it to an existing VM.

Consider the following information:

  • You can perform attach disk restores from all types of backups (streaming backups, IntelliSnap backups, and IntelliSnap backup copies), with both managed and unmanaged disks (but not unmanaged disks from IntelliSnap backups).

  • You cannot perform attach disk restores from encrypted VM disks.

  • You cannot attach a disk to a VM if the target VM is configured with the managed storage account for boot diagnostics. Instead of using the managed storage account for boot diagnostics, use a custom storage account, and then attach the disk to the VM.

  • Restoring/attaching an OS disk is not supported.

  • For Azure Classic: When performing a restore from a backup of an Azure VM, you cannot restore a VM disk and attach it to multiple VMs that are part of the same Cloud Service group.

Before You Begin

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.The VM groups area displays summary information for any existing VM groups.

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

  4. The Select restore type page appears.

  5. Select Attach Disk to Existing VM to restore the disk and attach it to an existing virtual machine.

    The Restore page appears.

  6. 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. For MediaAgent, decide whether to have the Commvault software automatically select the MediaAgent or to 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.

    3. For Source, decide whether to have the Commvault software automatically select the copy of backup data or to 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.

    4. Click Save.

  7. Select the content to restore, and then click Restore.

    The Restore options dialog box appears.

  8. The Restore options dialog box displays as follows:

    • For Admin users, both the Other Virtual Machine and the My Virtual Machine tabs display. Admin Users should choose one of the tabs and continue either to the Other Virtual Machine Tab or the My Virtual Machine Tab sections that follow.

    • For End Users, the My Virtual Machine tab appears alone. End Users should continue to the My Virtual Machine Tab section that follows.

Other Virtual Machine Tab

Complete this tab as directed at the end of the procedure at the beginning of this topic.

  1. Enter the following information:

    • Destination Hypervisor: To restore to a VM on a different hypervisor, select the hypervisor name from the Destination hypervisor list.

    • Access node: To use a different access node, select the access node or the access node group from the Access node list.

      If you select Automatic, the Commvault software performs the restore operation 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.

    • Change disk name to: Type the new name for the disk.

      If you do not enter a new disk name, a unique disk name is created automatically including a time stamp.

    • Destination VM: Click Browse to select the VM to which the disk should be attached.

    • Storage Account: Select the storage account for the restored disk.

  2. Click Submit to run the restore job.

My Virtual Machine Tab

Complete this tab as directed at the end of the procedure at the beginning of this topic.

  1. From the Select destination VM list, select the existing VM where you want to attach the disk.

  2. You can rename the disk while it is attached for the restore. If you want to rename the disk, select the disk you want to attach, and in the Disk Name field, enter the name of the disk.

  3. Select the Unconditionally overwrite if it already exists toggle to overwrite an existing disk.

  4. If you do not want to receive an email when the backup job completes, unselect the When the job completes, notify me via email checkbox.

  5. Click Submit to run the restore job.