In this demonstration video, Sharon will show you how to setup Azure Backup for files and folders on a server as well as how to back up an Azure virtual machine. This process includes setting up the recovery vault in Azure and configuring the storage options. Recovering files will also be demonstrated.
- [Instructor] I'm gonna show you how we create a simple file folder backup within Azure. Right now I am in the Azure portal. You will notice, though, that I am in the portal through an RDP session to an Azure virtual machine. This is for demonstration purposes. In the real world, this could be your on-premise environment but it could also be an Azure virtual machine. As I've already mentioned, I like to do everything from the resource group. I am going to access the resource group mscloud, the one we have been working with. As before, I'm simply gonna click Add to add a new service.
I'm gonna search for recovery. I'm looking for Backup and Site Recovery, and I'm gonna go ahead and just select Create. I am going to name our vault, associate it with the Pay As You Go subscription, I'm going to use the existing resource group, and I'm gonna go ahead and create. The deployment will take a few moments. As you can see, our deployment has succeeded. I'm back in the resource group and I can see that the backup recovery services vault has been created. I'm gonna go ahead, select that.
We are now in the settings of the recovery vault itself. From within this recovery vault we can leverage the backup servers and the Azure site recovery service. For this demo I'm gonna be focusing in on the backups. To create the backup I'm gonna go over to the Get Started section under the Settings, and select Backup. We will now step through the backup procedure. Because I want to back up the files and folders on this server, I'm gonna treat this as an on-premise server.
And then because it's just file folders, I will go ahead and select Files and Folders. Essentially all that does is props us up for the next set of steps. Depending on what you're backing up, those steps will be different. Now I get to go ahead and prepare my infrastructure. The reason I'm accessing the Azure portal from the virtual machine that have the files and folders that I want to backup on it is because this way I can just download the agent and the vault credentials directly to the machine. You can definitely download these two components and run them over to the machine you're backing up.
Please ensure that you're picking the correct agent to backup. Because we're backing up a Windows server, I'm gonna go ahead and select the first option. I'm gonna go ahead and download this. Next, I'm gonna download the vault credentials. These vault credentials are associated with this specific recovery vault. Now that my agent and vault credentials have been downloaded, I can run the installation. Go ahead and double click the installer. I am going to accept the defaults here.
I do not have proxy settings. If you did use proxy settings, you would configure them here. I always check for updates. I'm gonna go ahead and start the installation. I'm gonna go ahead and proceed to the registration page. This is where these vault credentials become very important. I'm gonna go ahead and browse for them, I know they're in Downloads. These credentials ensure that the server is registered with that vault. Now I have to generate a passphrase, and again, a word of warning on this passphrase.
If you need to recover data to a server other than this one, you will require this passphrase. If you do not have that passphrase, you will not be able to get your data back. I would recommend that you do not save this passphrase to a folder that is gonna be backed up to Azure. I'm gonna do it right to my desktop for demonstration purposes. This server is now gonna be registered with Azure Backup. Our server is now ready for backup configuration. I'm gonna go ahead and launch the agent at this point.
For those of you who have worked with server for some time, this is going to look very familiar. I'm gonna go ahead and schedule a backup. This may seem counterintuitive because we haven't picked the data that needs to be backed up. Selecting the data is part of this process. First we have our Getting Started page. This will provide some basic information and tips for you. Now you can go ahead and select the items that you would like to back up. I'm gonna go ahead and backup the folder called Files. You will notice I only have one file in there.
I can set exclusions or I could remove items as well. Next we're gonna specify our backup schedule. The Azure backup agent only allows us to back up three times a day to Azure. I'm gonna go ahead and select the default, so once a day, and then I can go ahead and set our retention policies as well. I'm gonna go ahead and just leave the defaults. In some cases, your initial backup may be too large to transfer to Azure over the network.
In that case you have the option to create an offline backup. You will have to prep a hard drive, do the backup to the hard drive, and then send that drive to the Microsoft data center. At that point they will mount it within the data center for you. I'm gonna go ahead and do an automatic backup over the network. We have a Confirmation page. I'm gonna go ahead and click Finish. That is it, our backup is now ready to go. I'm not gonna wait for this to backup. I'm gonna go ahead and backup now.
We will have a Confirmation screen, yes, this is what I want to backup. I'm now gonna select Backup. Our backup job is now complete, I can go ahead and close this window. Within the Azure Backup agent I can see that it was successful. I can view the details of that job. If I need to recover the data, I would just select Recover Data. I would have the option to recover data to this server or another server. I'm gonna do it to this server. I can browse or search the files, I'm just gonna browse, and select the volume, and we know we only have the one file in there, I only have the one backup from today.
I'm gonna go ahead and select that and I'm just gonna retrieve my secret formula. I'm gonna go ahead and restore it to another location, Desktop is fine. If you already have that file in that location, you have different options for how do you want to handle the backup procedure. To confirm, this is the file that I'd like to restore. The recovery succeeded from within the Desktop I can now see the recovered file, and there is my secret formula. I'm gonna go ahead and close this agent.
I'd like to show you what this looks like from within Azure. Within the Recovery Services vault I can see that I have one backup item under File and Folders. Microsoft also recommends backing up your virtual machines. We can do this from the Recovery Services vault. We set this up in Settings, and in Backup. In this case, instead of selecting On-premise, I actually want to select my workload that is running in Azure, and I want to back up my virtual machine in Azure.
I'm gonna go ahead, select OK. I can now choose a backup policy. I can use the default policy or I can go ahead and create a new one. If we want to create a new policy, we would go ahead, Create New, enter a policy name, select your backup frequency, select the retention range, for a daily, weekly, monthly, and yearly backup points. Again, I'm gonna go with the default policy here, select OK, and now I have to select the virtual machines that I would like to backup.
Little hint here, the Azure backup will only see the Azure virtual machines within the same region. Therefore, if you created the vault in the west US but your virtual machines were created in the east US, you would not see the eastern virtual machines. In order to backup the east US virtual machines, you would need to create a recovery vault in east US. I'm gonna go ahead and select my virtual machine.
Once you are satisfied with your settings, click OK. We can now verify that the virtual machine is configured for backup. To do so I'm gonna go back to our Recovery Services vault, I'm going to scroll down, and you will notice now we have one virtual machine configured for backup. And if I click in here, we can see that machine is now protected, and right now it is waiting to start its initial backup. As you can see, setting up backup for your filing folders and for Azure virual machines is simple and easy to do within Azure.
- Understanding cloud technologies
- Why Azure?
- Creating virtual networks and storage
- Using Azure Active Directory for identity management and protection
- Disaster recovery with Azure Backup and Azure Site Recovery
- Working with virtual machines