In this lesson, Sharon demonstrates how to restore files and folders to an Azure virtual machine that was protected using the Azure virtual machine backup from the previous lesson.
- In the last lesson, I showed you how to restore an Azure Virtual Machine. But sometimes, you only need the files and folders and you don't want to restore that entire virtual machine. Well, you can grab those files and folders using that virtual machine backup. Now, there is one caveat to this that you need to be aware of. This functionality is only available for non-encrypted virtual machines. You can initiate this recovery from the Recovery Services vault or from the Azure Virtual Machine portal. Whichever one works for you.
I'm going to do it from the Recovery Services vault. I can select Backup Items from the overview page, or I can scroll down and select Backup Items under protected items. I'm going to go ahead and do it from the overview page. Now, I need to select the Backup Management Type, in this case, it was the Azure Virtual Machine Backup. I'm going to go ahead and select that. We would now be presented with a list of the Azure Virtual Machines that are being backed up.
As we only have one, we'll go ahead and select that one. This screen will look familiar because it's the same screen that we saw when we were restoring the Azure Virtual Machine. But instead of selecting Restore VM, we're actually going to select File Recovery. Now, all we need to do is step through our three steps. Step one is to select a recovery point. Then we can go ahead and pick from our list. I'm just going to go ahead and take the latest one. Next, we need to download a script.
And this script will mount those disks to our local system that will then enable us to browse for the files. I'm going to go ahead, select Download Executable, and this will take about 30 seconds or so. Before I go and run that script, I'm going to copy the password. I'm going to go ahead and show the executable in the folder. This happens to be my downloads folder. This script needs to be run as administrator. Therefore, right click and select Run as administrator.
The first thing we need to do is enter in our password so I'm just going to paste it. In my example, we actually have a little bit of an error popping up. This script is detecting that a session is already connected to a recovery point on this server. And that recovery point needs to be disconnected or unmounted. So, I have two options here. I can click yes to proceed and that volume will be unmounted for me. Or, I can click no to abort. I'm actually going to go ahead and click yes.
If you're doing this for the first time, you're probably not going to see that message. As I have done this several times, that is why I am getting the message. It just seems that one of my previous volumes has not unmounted properly, that's all. You'll notice that we now have a new drive pop up, for volume E and another one for F. We can now go ahead and open up Windows Explorer to browse for these files. And now you'll notice that we have the two additional drives mounted.
I know what I'm looking for is in the local disk. And if I pop into users, and then Sharon, I do have to allow permission for this folder. We can now go ahead and copy off the files that we need. If I wanted to grab the secret docs, I could do so. For this demonstration, I'm actually not going to copy off the files, I'm going to close down Windows Explorer. And now we are back in the portal. Once you have copied all the files that you need, you can go ahead and press Q to quit.
And now our last step is to unmount the disk. Now these disks will automatically unmount after 12 hours if you forget this step. And after a few moments your unmount will be successful. One thing I want to point out before we close this lesson off, if you'd like to restore files that are larger than 10 gig you will need to restore the entire VM. Restoring files from the Azure Virtual Machine backup is quick and easy and it's a great little addition to your recovery strategy.
- Creating a Recovery Services vault for Azure Backup
- Protecting virtual machines, files and folders, databases, workloads, and file shares
- Restoring virtual machines, files and folders, databases, workloads, and file shares
- Azure Site Recovery scenarios
- Running failover and failback tests
- Replicating an Azure virtual machine