File level recovery from a VM or a volume snapshot
File Level Recovery (FLR) in Cloud Snapshot Manager provides the capability to restore files from VM and volume snapshots.
About this task
This feature enables you to access files from the restored VMs and is applicable for both AWS and Azure. After browsing for a VM or a volume snapshot, select Restore. Click Advanced, and select File Level Recovery. In case of GCP, FLR is applicable for VM resources.
When initiating a file level recovery, you must identify the following information:
- VM to attach the volume or disk(for Azure) to - This VM can be the original VM when restoring a VM or you can select another VM by specifying the VM ID.
- Duration to attach the volumes or disks to the VM - This duration is the number of hours that the volumes or the disks remain attached to the VM. After the specified time, the volumes or the disks are detached from the VM host and deleted. The original snapshot remains available for future recovery efforts.
You can also choose to never detach the volumes or disks from the VM using the Never detach option.
- Volumes or disks to attach - Select the specific volumes or disks from the VM snapshot to attach.
After specifying the above parameters, select Restore Now to attach the volumes or disks.
In the Azure environment, if the disks are encrypted, additional parameters are required for file level recovery (FLR) to be successful. Consider the following:
- If the encryption method used is Azure Disk Encryption (ADE), specify the key vault, key (optional), and secret version. To successfully mount and read the disk data, the selected VM to attach disks for FLR must be ADE enabled or must meet ADE requirements.
- If the encryption method used is Managed Disk Server Side Encryption (SSE) with custom key, you can specify the disk encryption set which is optional.
For more information about the encryption methods, see Azure documentation.
In the AWS environment, there are additional specifications for file level recovery to be successful. For more information, see File level recovery in AWS.
To recover files from Logical Volume Manager (LVM) AWS volume snapshots using Cloud Snapshot Manager FLR, see the guide, Cloud Snapshot Manager - File Level Recovery with Logical Volume Manager Snapshots, available on the Support site.
In the GCP environment, after attaching the disk, user has to manually mount the disk to VM. In case the disks are encrypted using a Customer Managed Encryption Key that is managed by the Google Key Management Service (KMS) , the key needs to be accessible and available in the GCP KMS service. Failure to do so will result in the inability to carry out FLR operations.