You can perform an "attach disk" restore that swaps the OS disk of an existing VM with a different OS disk.
When you swap OS disks, the original OS disk of the destination VM is retained in the Azure portal.
Encryption for swapping OS disks is handled as follows:
-
If the OS disk of the destination VM is encrypted with ADE, and the OS disk of the source VM is not encrypted, then the restored OS disk is encrypted with ADE.
-
If you swap an OS disk with source and destination VMs that are in different regions, then the restored OS disk is encrypted with server-side encryption (SSE) using a pairwise master key (PMK), regardless of how the OS disk of the source VM is encrypted.
-
If the OS disk of a Linux source VM has fstab entries of drives that do not have the nofail setting applied, then the restored VM cannot be restarted because the Commvault Cloud software is unable to mount the drives.
Requirements
-
For the disks that you want to swap, the following must be the same:
-
Generation (Generation 1, Generation 2)
-
Operating system (Windows, Linux)
-
Processor type (Arm-64, x64)
-
Security type (Trusted launch, Standard)
-
-
If a passkey is configured for restores, you must have the passkey.
Limitations
OS disks cannot be swapped in the following cases:
-
From backups of unmanaged VM disks
-
From backups of encrypted VM disks
-
To multiple destination VMs that are part of the same Cloud Service group
-
For a VM based on an Azure VM image that has a plan
-
For a source OS disk that is encrypted with Azure Disk Encryption (ADE)
Procedure
Select the Disk to Restore
-
From the Command Center navigation pane, go to Protect > Virtualization.
The Virtual machines page appears.
-
On the VM groups tab, in the row for the VM group that contains the disk, click the action button
, and then select Restore.
The Select restore type page appears.
-
Select Attach disk to existing VM.
The Attach disk to existing VM page appears.
-
To select a different MediaAgent or source copy for the restore, or to switch to live browse mode, do the following:
-
If you intend to switch to live browse mode, in the left column, you must click a folder in order for the Browse from media toggle key to be displayed in the Change source dialog box.
-
In the upper-right area of the page, click Change source.
The Change source dialog box appears.
-
To switch to live browse mode (browsing from media), move the Browse from media toggle key to the right.
-
To select a specific source and/or MediaAgent for the restore, do the following:
-
Restore from copy: Select one of the following:
-
Automatic (default): 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.
-
Primary: The software searches for the requested data in the primary copy.
-
Snap copy: The software searches for the requested data in the snap copy.
-
-
MediaAgent: Select the MediaAgent that performed the backup.
-
-
-
Select the disk to restore, and then click Restore.
The Restore options dialog box appears.
Select the Hypervisor and VM to Restore the Disk To (Admin Users Only)
Note
The following steps are performed on the Other hypervisor tab, which appears only for admin usersnot for end users.
-
For Destination hypervisor, select the hypervisor to restore the disk to.
-
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 Cloud software performs the restore using the most suitable access node from the destination hypervisor.
If you select an access node group, the Commvault Cloud 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 Cloud 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.
-
For Destination VM, select the VM to restore the disk to.
-
For Disk name, you can enter a different name for the restored disk.
If you do not enter a new disk name, a unique disk name is created automatically including a time stamp.
-
For Storage Account, select the storage account to restore the disk to.
-
To attach and swap the OS disk of the source VM, select Attach and swap OS disk.
Select the VM to Restore the Disk To
Note
The following steps are performed on the My hypervisor tab, which appears for both admin users and end users.
-
For Select destination VM, select the VM to restore the disk to.
Only VMs that you have permissions for are available to select.
-
For Disk name, you can enter a different name for the restored disk.
If you do not enter a new disk name, a unique disk name is created automatically including a time stamp.
-
Click Submit.