Welcome back. In this episode, we continue with our demos by looking at as your backup.
The objective includes understanding how to configure as your backup. Let's go to the portal.
Now let's take a look at how to configure as your backup inside of our recovery service fault. First, let's create a new recovery service fault
will select our resource group
and give our vaulted name to indicate it's holding backups
and leave our region at West us.
Now that our resource is deployed, let's go check it out.
Next, let's scroll down
and under Manage. Go take a look at our options for backup policies.
Here we have some tea fall policies for backing up Siegal servers in an azure V M or azure virtual machines. Let's go ahead and click on add to create our own custom policy.
First, we need to select what type of resource we're gonna be backing up
for a demo. It's just gonna be an azure virtual machine.
Next, let's give her a policy and name,
and here we have the options for configuring our backup schedule.
First, we can select a daily backup or a weekly backup
time and time zone for the backup.
We also have the option for instant restore. What instant restore does is retained snapshots of the version machine disks. So instead of restoring the whole backup, you can just restore the snapshot of the disc. And here you can configure the number of days to keep these snapshots. If you only want to do recovery snapshot for the last few days.
Next, we have the option of how long we want to retain our daily backup point.
For example. I'm just going to switch this to 30 days
next week and configure our weekly backup, and we get to use one of more days during the week and then also configure how long we want to keep that weekly backup. We can also do a monthly backup, and we can do it on a weak base so we can say on the 1st 2nd 3rd 4th etcetera day of the week, or
we can do a day based monthly backup.
Where we say we wanted to occur may be on the 15th day of every month, and we don't care which day of the week that ISS
again like the weekly, we can configure how long we want to keep this back up.
And finally, we can create a yearly back up again week or day based and configure how many years we want to keep that back up for our demo here. I'm gonna unchecked these options and just keep a daily backup for 30 days. Let's click on Create.
We're waiting on that to finish. Let's go back and take a look at our vault.
Let's go take a look under protected items and back of items.
Here we get a nice overview of what items are being backed up in the side of this recovery Volt. You can see we don't have anything right now. So under getting started, let's select backup
in here. We're gonna configure our backup by selecting the workload. We do have azure, azure stack or on premises,
and then you get the option of what you want to back up. Virtual machine follows shares or sequel servers and azure
here. We're just gonna be back in a virtual machine and azure.
Next. We'll choose our backup policy, and we're going to select my new VM backup policy we just created.
Next we're gonna select the virtual machines that we want to back up
here. We have the message saying that we actually don't have any virtue machines we can select to back up, even though I have one running in the East US region.
That's because this recovery vault is located in the West US region. Unlike the service fall, we configure it earlier that replicated machines from the East US to the West, US when creating backups for virtual machines, the recovery vault has to be in the same region as the virtual machine you're backing up.
So since I don't have a virtual machine that I can use in this recovery vault right now,
let's go create one so I can show you how to configure it when creating the virtual machine.
Just for this demo, I'm gonna place it in my East US virtual machine.
But for the region, I'm going to go and select the West us.
Now. I'm not going to configure the rest of these options just yet. Let's go into management instead
here when we scroll to the bottom. If you remember from our creating virtual machine episode, we have the option of enabling backup. Let's go ahead and turn this on.
And here we have the option of creating a new recovery service's fault or using existing. Since I selected that, I'm gonna place this virtual machine in the West US. Our West US backup fault shows up here as an option,
and we can go ahead and select our new policy that we created earlier.
Now I'm gonna pause the video right now. Finish deploying this virtual machine and we'll come back and take a look at a backup for it
now that our virtual machine is deployed and we configure backups when we created the virtual machine, let's go back inside our recovery vault. And if we look under protected items and backup items, you can now see we have one azure virtual machine in here that we're protecting.
Let's click in through this azure virtual machine,
and here you can see the Lenox virtual machine. We just deployed in the West US. Let's go check it out
and you can see we have a warning here that we have not done an initial backup on this virtual machine. Let's go ahead and select back up now to kick off this initial backup.
Let's go back into our backup fault
and goes like backup jobs under monitoring.
See, we have our initial configuration of the backup and the initial backup that we just started. We're gonna wait for this to finish so we can take a look at some of our restore options.
Hand. We're back and you can see this Back of job took just about 51 minutes.
Let's go in and take a look at this backup job in more detail,
and you can see to sub test for this, where you take a snapshot of the virtual machine and then transfer the data to the vault.
And the snapshot is usually pretty quick. But the transferring the data to the vault is what takes the longest part of this backup job.
We go back into our vault and go back to back up items.
Let's select our azure virtual machine.
We now see that we have a successful backup, and we have some new options here at the top, such as restoring the virtual machine.
When you go to restore, you have to select a restore point. Since we have just one, let's go and select it
and then you have a couple options for your restore configuration. Our 1st 1 is create new, which means you actually create a whole new virtual machine from your backup. So theoretically you could take a back of a virtual machine, restore it to a separate subscription or azure region,
and maybe you just want to test something on it without affecting your current production. One.
Our second option is to replace the existing virtual machine. Basically, what you're doing there is just replacing the disc with the backup that you currently have in which you will need is a stating location, which is just a storage account where thieve virtual disc backup is temporarily placed during the restore
that does it for as your backup demo. Let's go back to the slides so we can wrap this up.
That does it for the demo. Hopefully that cement some of the concepts we learned in the previous episode on how the service is work coming up. Next, we're gonna jump into our next topic with an introduction to server this computing.
See you in the next episode