Recover Azure VMs to Original LocationCopy link
Before you can recover VMs to its original location, snapshots of those volumes must exist on the Cohesity cluster. To create Snapshots, create and run a Protection Group.
To recover VMs to its original location:
- In the Cohesity Dashboard, select Data Protection > Recoveries.
-
Click on Recover located at the top right of the page and then select Virtual Machines > VMs.
The Virtual Machines page appears.
-
Search for a Protected Object (VM) or Protection Group that contains the snapshots to recover from by entering characters of the VM name, Protection Group name, or by specifying the wildcard character *.
A list of VMs displays.
You can optionally filter the search results by Source, Protection Group, Storage Domain, or Date.
-
From the list of search results, select one or more VMs or Protection Groups that contain the snapshots to recover.
-
If you have selected a Protection Group, then all the VMs backed up in the latest protection run of this Protection Group will be selected for recovery and the option to select those VMs individually will be greyed out in the search result list.
-
You can only select Protection Groups and VMs with snapshots stored in the same Storage Domain and belonging to the same source. Once you select a VM or Protection Group, the Storage Domain and Source filters will automatically get locked.
-
-
By default, the latest snapshot of the VMs is selected for recovery. To recover from a different snapshot, perform the following steps depending on the object selected:
In this workflow, deleted snapshots may be displayed as valid recover points for a brief period until they are removed from the search index by a background process.
To choose a different snapshot for a.. Then.. Protection Group - From the selected lists, mouse over the snapshot, and then click the edit icon.
- From the Protection Run drop-down menu, select the snapshot from which you want to recover the VMs.
By default the snapshot is recovered from the local Cohesity cluster. You can also select the snapshot archived to the cloud by clicking the cloud (
) icon if available in the Location option.
- Click Select Recovery Point and then go to step 6.
VM From the selected lists, mouse over the snapshot, and then click the edit icon.
The Edit recovery point for <VM_name> page appears.
By default, the option to select the snapshot is displayed in Timeline mode. You can also choose to view the option in List mode by clicking the List tab in the top-right corner of the page.
-
To select a snapshot from the Timeline mode:
-
From the Choose a date drop-down, select a date.
The snapshots available on the selected date are displayed in blue dots on the timeline bar.
-
Select the snapshot to be recovered by clicking the corresponding blue dot.
-
By default, the snapshot is recovered from the local Cohesity cluster. You can also select the snapshot archived to the cloud by clicking the cloud (
) icon if available in the Location option.
-
Click Select Recovery Point and then go to step 6.
-
-
To select a snapshot from the List mode:
-
Select the List tab from the top-right corner of the Edit recovery point for <VM_name> page.
By default, the page displays the snapshots available in the last one month.
-
You can also select a snapshot from a different date range by selecting the date range from the Date drop-down list. The page displays the available snapshots in the specified range.
-
Select the snapshots to be recovered.
-
By default, the snapshot is recovered from the local Cohesity cluster. You can also select snapshots archived to the cloud by clicking the cloud (
) icon if available in the Location option.
-
Click Select Recovery Point and then go to step 6.
-
-
Click Next: Recover Options.
-
From the Recover To options, select Original Location to recover the VM to the original location.
-
Optional. Edit the default settings of the following Recovery Options:
Recovery Options Description Rename Add Prefix and/or Suffix strings to the names of the new VMs created by this task. For example you could specify Prefix Test_ and Suffix _QA
to the VM name WinOS and when the VM is recovered, the new VM that is created is calledTest_WinOS_QA
.Azure SAS URL Type For recovering Azure VMs, Cohesity uses the snapshots of Azure managed disks that are accessible through SAS URLs. Select one of the following endpoint options to access data from the SAS URL:
-
Public Endpoint: Select this option to access snapshots over a public network.
-
Private Endpoint: Select this option to access snapshots using a private IP address from your virtual network. You can either enable the “Use the same SAS URL details a Protection” option or provide the following details for configuring the private endpoint:
-
Region: Select the region of the VM you have selected for recovery.
-
Virtual Network: Select a virtual network in Azure. Ensure this virtual network is connected to the Cohesity cluster.
-
Subnet: Select a subnet of the virtual network.
-
If you have selected VMs from multiple regions, then you must select at least one virtual network and subnet per region. Click the add icon to add regions and their virtual networks and subnets.
Cohesity recommends using dedicated subnets for the Azure SAS URL endpoint.
Power State Disable Power On if you want the recovered VMs to remain powered off after they are created. If you recover VMs from a Storage Domain that has Cloud Tier enabled, Cohesity recommends leaving the VMs powered off. By default, the VMs are powered on after they are created. Continue on Error Enable Continue recovery even if errors occur when recovering VMs if you want the recovery task to continue even if errors occur when recovering the VMs. For example, if one of the VMs cannot be created, the Cohesity cluster will still attempt to create the other VMs.
If this option is disabled, then the recovery task is discontinued if VM creation fails. However, if the VM creation succeeds, but VM storage migration fails, the task continues.
By default this option is disabled.
Task Name Change the default name of the recovery task. -
-
Click Recover.
The recovery task is initiated. You can monitor the recovery task from the Recoveries page.