Restore VM

    To restore a VM, follow the steps below:

    1. Go to the Restore page, and click the Virtual Machine tile.

    2. In the Restore wizard, a calendar displays all the data recovery points. Click Azure virtual machines.

      You can choose whether to display the finished with the exception jobs in the calendar by selecting the Include jobs with only partial backup data option.

    3. Hover over the data recovery point to view the job details, including the job status, job start time, scope name, scope ID, job ID, backup size, and the number of objects in a backup.

    4. Click the data recovery point in the calendar. The VMs backed up in the selected backup job are displayed in the table.

    5. You can use the Tenant filter, Subscription filter, and Resource group filter to find the VMs of specific properties or use the Search box to search for VMs via keywords in the name. You can also manage the columns to adjust the view of VMs.

    6. Select the VM that you want to restore and click Restore.

    7. In the Restore options step, select where you would like to restore the VM data, choose a mode you want to use to run the restore job, and provide an optional description for further reference. If you choose to use the CAP Gateway mode, select a gateway from the drop-down list.

      Step 1: Restore options.

      • Restore the data to the original location – To restore the data to its original location, you must note that the VM in the original location will be overwritten, and the VM will be stopped (deallocated) if it is running. If the network at the recovery point is no longer connected, but the backend pool related to the VM still exists, you can choose to add this VM to the load balancer.

      • Restore the data to a new location, or with different settings – Follow the steps below to choose the destination tenant and subscription for the VM being restored, and configure the properties, disks, and network settings for the target VM.

        1. Subscription – In the Subscription step, select a destination tenant and subscription for the VM being restored. You can choose to restore this VM to the same subscription when it is being backed up or select a new subscription, and then select a region as well.

          *Note: If your subscription is added to your tenant after the initialization of Cloud Backup for IaaS + PaaS, you must follow the steps in Add to Subscriptions and Assign the Contributor Role to add the consent user of the AvePoint Online Services – Delegated App to your subscription and grant this user the Contributor role at the same time.

    Properties – Configure the properties for the destination VM, including the VM name, resource group, disk type, availability options, and VM size.

    Note the following: - The VM name cannot be a duplicate with VMs already in the target resource group. - If you choose **Availability set** or **Virtual machine scale set** from the **Availability options** drop-down list, you can then select a specific availability set or virtual machine scale set from the corresponding drop-down list.

    Disk – All the disks in this VM are displayed. By default, the disk name in the backup will be populated. You can use the same disk name or use a new name, but you must ensure the name is unique in the destination.

    Network – Configure a virtual network for this VM to access. Select the network, subnet, and network interface from the lists. You can configure whether to restore the VM to an existing network interface or create a new one for this VM. If you leave the Public IP Address Name field empty, no public IP addresses will be assigned to this restored VM.

    ![Step 5: Network.](/en/iaas-paas/restore-and-recover-your-data/azure-virtual-machines/images/image70.png "Step 5: Network.")

    Click Next to continue.

    Review the restore settings in the Overview step.

    Click Restore to perform the restore job.