Microsoft Azure now allows file and folder level recovery with Azure Backup. This feature has been available as a preview for both Windows & Linux VMs and is now generally available. Previously Azure Backup allowed VM level recovery and for those who wanted to leverage file level recovery had to leverage solutions like DPM or Azure Backup to achieve their protection goals.
Restore-as-a-Service in Azure Backup allow syou to recovery files or folders instantaneously without deploying any other additional components. Azure Backup leverages an iSCSI-based approach to open/mount application files directly from its’ recovery points. This eliminates the need to restore the entire VM to recover files.
RaaS in Action
In below example I’m going to explain how you can recover files or folders from a Windows IaaS VM in Azure.
- Select the VM that you want to recover files from, in the recovery services vault under Backup items. Click the File Recovery option.
- Select the recovery point as in (1) and download the executable that allows you to browse and recovery files as in (2). Run this as an administrator and you will have to provide the password as in (3) to execute this file.
- This script can be executed on any machine that has the same (or compatible) operating system as the backed-up VM. Unless the the protected Azure VM uses Windows Storage Spaces (for Windows Azure VMs) or LVM/RAID Arrays(for Linux VMs), you can run the executable/script on the same VM. If they do, run it on any other machine with a compatible operating system.
|Server OS||Compatible client OS|
|Windows Server 2012 R2||Windows 8.1|
|Windows Server 2012||Windows 8|
|Windows Server 2008 R2||Windows 7|
|Ubuntu||12.04 and above|
|CentOS||6.5 and above|
|RHEL||6.7 and above|
|Debian||7 and above|
|Oracle Linux||6.4 and above|
If you are restoring from a Linux VM you need bash version 4 or above and python version 2.6.6 and above to execute the script.
- When you run the script the volumes are mounted in the client OS that you are using and will have different drive letters that the ones from the original VM. Make sure you identify the new drives attached. You can view your new drives in Windows Explorer and copy them to an alternate location.
- Finally after restoring your files/folders to unmount the drives, Click the File Recovery blade in the Azure portal and select Unmount Disks as in (4).