In this video, you can learn how to restore an Azure virtual machine that was protected with the Azure virtual machine backup solution from the previous chapter.
- [Instructor] In this lesson, we are going to restore the Azure Virtual Machine LIL file server that we backed up in the previous chapter. I'm going to go ahead and select that virtual machine. Now, you can initiate this restore from the virtual machine, as we are going to do here, or you can also do this from the Recovery Services vault. Either or, the choice is yours. Once you are in the blade for your virtual machine, you'll scroll down, and the select Backup.
And you'll notice here that we have 15 backups that we can choose from in the last 30 days, and seven from the last seven days. To restore the VM, go ahead and click on Restore VM at the top of the page. Next, choose a restore point that you will restore from. I'm going to grab the one from yesterday. And then go ahead and click OK. We can now go ahead and configure the restoration settings, and please note the information notice at the top.
It states: to create an alternate configuration when restoring the VM, you will need to use PowerShell. The portal will only do a quick create for your virtual machines. If you need additional configuration, then you would have to use PowerShell. You would use this option for virtual machines that were associated with load balancers, multiple reversed IPs, or multiple NICs. You're just going to do it from the portal. The first choice is what type of restore type. We can either create the virtual machine, or we can just restore the disks.
You would select restore disks if you were restoring an encrypted virtual machine, followed by using the PowerShell, or a template designed for restoring an encrypted virtual machine. As we are not restoring an encrypted virtual machine, we're going to go ahead and create the virtual machine. Next we need to provide a name for it. Pick your resource group, the virtual network, your subnet, and the storage account.
And that's all there is to it. Go ahead, click OK. And you'll notice that I have an error. It happens, I've used too many characters. I'm going to go ahead and try FileServerRev2, and that seems to work, so I'll hit OK again, and then go ahead and click on Restore. You can monitor the progress of the restore from the jobs blade in the recovery vault, so why don't we pop over there and take a look? There's a Recovery Services vault, and you'll find jobs under Monitoring and Reports, and this happens to be a backup job, so we'll select that, and you'll notice that we do have the restore in process.
If you are following along and restoring your own virtual machine, now would be a great time for you to go grab your favorite beverage, as this could take a few minutes if not longer. It took about 22 minutes for my virtual machine to restore. If I go ahead and select this job, we'll see the details of that restore. We can see the job type, that we've recovered it to an alternate location, the original file serve name, the target name, et cetera. Let's go ahead and take a look at that virtual machine in the resource group.
And this happens to be in the Azure Recovery Solutions group. And to make life a little bit easier here, I'm just going to sort this on type. And as you can see, our restored virtual machine is available to us, and it's up and running. In this example, we restored a simple virtual machine. There was nothing fancy about it at all. Depending on the workloads that you are restoring, such as multiple domain controllers, you will need to follow the same force recovery procedures as you would for on premise.
Again, refer to the Azure documentation for customized restore options of your Azure virtual machines.
- 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