During this video you can learn how to create and configure an Azure Recovery Services vault that can be used to manage and store the various backups.
- [Instructor] Before we start backing up our files and folders in virtual machines, we need a place that will hold our backups. And this is called the recovery vault, and we can create the recovery vault either on the fly, or as we're going to do in this demo, prior to backing up. The first thing we need to do is start in the Azure portal as we are here, and as you can see I have a resource group already called AzureRecoverySolutions. I'm going to go ahead and open that up. And we can see that we have a simple VM here, some networking, and some storage.
Nothing fancy. But we are lacking is the recovery vault. And for those of us who've been doing Azure for some time, the first thing we want to do is go ahead and click add and go hey, I'm just going to go ahead and add in this vault. And that would be the wrong step. And it feels very counterintuitive. So let me close this. The recovery vault is actually a service that's already available to us. And as you can see over in my hub or my menu I had the recovery services vault already here.
If you don't see it though, scroll all the way down to more services and start typing recovery. And you'll notice here that I have the star turned on, therefore it's pinned over to my hub or menu. I'm going to scroll back up. From there you can move it around. So I can drag it to where I need it to be. I'm going to go ahead and click in Recovery Services vault.
And now I'm going to go ahead and select add. I'm going to go ahead and provide an appropriate name. I'm going to call it LinkedIn Learning, or LIL_Backups, pick your subscription, the resource group. And here's an important part, in order to back up let's say an Azure Virtual Machine, that machine needs to be in the same location. So my initial resource group was created in Canada Central. So I'll go ahead and select Canada Central, and then click create.
This only takes a couple seconds to create. And once it's created you can go ahead and go to resource. And now we have our basic recovery services vault. And as you'll notice there is nothing in it because we just created it. Now that we're in the vault let's go ahead and explore some of our options. The first thing I like to do is set up storage replication. To do so scroll on down and click in back up infrastructure. And you can go ahead and click in Backup Configuration.
And this is where we can select our storage replication type. And again we have our two options here, our locally redundant or geo redundant. Our locally redundant storage will contain three copies of our data within the data center. If we opt to go to geo redundant, there's going to be six copies in a secondary data center in the same geography. For example, our resource group right now is located in Canada Central. Which happens to be in the Toronto area.
When we select geo redundant the replicated copies would sit in Canada East, which is in Quebec City. For more information on data centers in regions, always refer to the Azure documentation. I'm going to go ahead and select locally redundant storage. The default is geo, and don't forget to click save. Next we can go ahead and review the policies, and you'll find those under policies and then backup policies. And you'll notice that we have two policies already preconfigured for us.
We'll start off in the first one, the hourly backup log. And this is used for SQL server on an Azure Virtual Machine. When we look at this policy in a little bit more detail we can see the backup frequency. So it's going to happen daily at 10:30. We have a daily backup point for 30 days. And the log backup will be backed up every hour and again retained for 30 days. If I go ahead and click on associated items, we would see a list of SQL servers that were being backed up.
Now again, this is a brand new vault, and we haven't configured anything for it. So it will be empty. I'm going to go ahead and close that blade. Next let's go ahead and explore the default policy. And you'll notice that our backup frequency here is daily at 2:30 a.m. And then I can go ahead and select my time zone. I'm in Eastern, so we'll select that. And this backup point will be retained for 30 days. And as before, we could go ahead, see the associated items if there were any.
We could also go ahead and configure some additional settings here. We're not going to do this in this example. I'm just going to go ahead and click save. And this will save the change that we made. Going to scroll back and we can also go ahead and create our own policy. So we'll create an Azure Virtual Machine policy. Provide a name, a backup frequency.
It can be daily or weekly. And in this example we'll have a backup point for every 180 days. In addition, we also have weekly backup points. We have monthly as well as yearly, and you can configure all of these to best meet your needs. And we'll go ahead and click create. And I'm not going to change any of those default settings. That is all we're going to cover for now in the recovery services vault.
We'll be referring back to this service throughout this course. Now that our recovery services vault is created we can go ahead and start backing up our files and folders and Azure Virtual Machines, etc. And we'll be referring back to this service throughout the course.
- 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