File and Folder Backups

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with

Already have an account? Sign In »

7 hours 46 minutes
Video Transcription
Hello and welcome back to Cyber Aires. Microsoft Azure Administrator. A Z 103 course, I'm Will Carlson and Ness's Episode 26 file and folder Backups.
In today's episode, we're going to discuss just that. How do we back up files and folders using Azure as the tool to get the job done? Now it's important to note that you can use as your backup to back up both on prim and as your workloads. So we're gonna discuss some of the details about that, and then we're gonna go through the process of setting up as your backup.
Using the recovery service is vault
or as your workloads and an example on premise workload.
Now, what are some of the benefits of azure backup?
Well, there really are a number of them, but these air four of the key ones, in my opinion,
if you currently have a lot of backup infrastructure storage, backup servers, backup agents, the whole nine yards, you can offload a lot of that work toothy azure cloud. So you don't have to maintain all of that infrastructure any longer.
The data is gonna be secured with the pass phrase or a passkey that you set and that pass phrases never transferred or stored to azure. So your workloads are encrypted and azure the entire time, with no visibility to those workloads by Microsoft or anyone in the azure environment.
You also get unlimited data transfer into and out of the azure backup Recovery service is vault
and another really great feature for somewhere clothes. It's gonna be the use of AP consistent backups. So think database transactions. You haven't outage, and you need to restore the database server. But you want to make sure there are no hung transactions that you're gonna ultimately need to rebuild or that corrupt any data
as your backup is gonna be smart enough to be able to allow you to do that. And you can simply select that you want to restore the most recent AP consistent backup.
There are other benefits, too, as your backup that will come across as we go through the service. But we're gonna go ahead and jump right into portal, and the first thing we're gonna do is set up the repositories for an azure back out, and that's gonna be called a recovery service is vault.
We're gonna add a new recovery service is bald and, like many other service, is here in the azure ecosystem. We have toe connect that to a subscription and a resource group,
and then we have to name that vault.
I'm gonna go ahead and put this vault in Central US
and review and create.
Now that that resource is created, we're gonna go ahead and go to that resource. And we can see that along with a lot of other resource is here in Azure. When you initially create them, there's just not a whole lot going on. But to make this a little more interesting, we're gonna go ahead and configure a backup job.
We have some options here On what? Where our workload is running Azure azure stack in on premise
Azure is should be self evident At this point. An azure stack workload is essentially going to be a copy of the azure environment, running on dedicated hardware within your facilities
and unfair miss is going to be any workloads running on your own equipment in your own environment.
We also have some options as to what we want to back up now. Notice There are virtual machines. We will be covering those backups as part of a Z one of the three course in a later video following the discussion on virtual machines. So for now, we're gonna leave this to azure file shares
and we're gonna back this up
now. You'll notice this is looking for storage accounts that are in the same region as our recovery service is vault that are not protected by another vault. And that's gonna be important information to know
the files and the vault need to be in the same region for azure workloads, and they cannot be protected by multiple vaults.
And now I can see the storage account that we come back up here with this recovery service's fault, I'm gonna select it and hit OK
and others that's created. We can see it is looking for file shares that can be backed up to the vault
Now. Another thing worth noting here is that within an azure subscription, we can only have 25. Recovery service is vaults in each region,
not likely a number that you'll run up against, but still good to know that you are limited per subscription per region to 25 recovery service is vaults.
And now we see our Dunder Mifflin from our previous file storage episode. I'm gonna select. Okay,
Now we're down into configuration of the backup policy.
We don't currently have any backup policies available, so we're gonna go ahead and create a new one.
I'm gonna go ahead and make this a daily backup policy.
We're gonna leave this all the same. Now, remember, this is going to be important at the time zone is accurate. Otherwise your backup job may begin running in the middle of your production workload day, which may not be ideal.
Now that I have that all set up, all I have to do is select okay,
And then we can enable the backup
another. That backup job has finished creating. We can come back out here
and go down to backup items,
and we can see that we have one azure file set to back up here in this recovery service is vault.
Now we can click on this as your storage. We go down into our file share and we can see that it's not backed up right now, but the initial backup is pending. If I wanted to go ahead and initiate a backup. Now, I can just click on backup now,
set the date and select. Okay,
If you want to see the status of this backup, we can back out a few blades,
a number of ways. I'm gonna go ahead and scroll left here,
and then we're gonna go to the bottom and click on backup jobs.
We can see that the initial backup now has already completed.
So when I come back to back up items,
click back through to where we were.
You can see the backup has been successful.
There are also options here to restore the entire share or simply do a file level recovery.
Now, on the final level recovery, I can search for an item and click a backup.
We have a couple of options as to what we do with conflicts, or we can restore the file to a totally separate location in case you wanted to look at it to see what was going on with it or to keep it segregated from the current production file.
Come here to select the file that I want
and browse the files to be restored.
I can click this. It said toe override to the original location. Select
and then hit. Okay,
let me click. Restore And that's initiated the restore of the file that we just backed up and you'll remember back out here, we've set up the
backup policy
and we've used the daily backup policy.
We come in and change their attention, or we could change the time of the day. This is all running,
and that really is all there is to backing up a azure foul share here, using as your backup with the recovery service is vault.
Now we're going to move on and discuss how to use as your backup, and a recovery service is vault to back up on premise workloads. We're gonna go back here to getting started and back up
instead of selecting Azure here, we're gonna go down in select on premises
because a number of options here, but right now we're gonna talk about files and folders,
and then we're gonna click Prepare infrastructure
and this is going to give us the instructions about how to download the recovery service is agent and also the credential file as well. Not keep note that the credential file will expire after two days, So if you do not use it within that time period, we're going to have to come back in and download a new credentials file.
Now that we've downloaded the agent for Windows Server, we can go ahead and download the credentials file here on the server as well.
Now I have both the backup agent and the credentials file here on the desk. Top of the server that's on proves that I want to go ahead and back upto as your backup. Now you'll see here that this is called Mars Agent and Mars stands for Microsoft. Azure Recovery Service is, and the Marge Mars agent is a complete,
fully featured backup agent
that will back up files or folders on physical or virtual Windows machines. You can use the March agent both on on prim or azure based virtual machines.
There are no separate backup servers required. It's going to use that as your recovery service is back up vault and the application itself. Mars is not application aware, so it's simply gonna do file folder in volume level restores only, and currently the Mars agent is not supported on linens on Lee windows workloads,
but to go ahead and get this deployed.
It's just like any other installer. I'm gonna go ahead and get that
installed here on this server and we'll jump back in when we go to add on the credential file.
No, the installation is complete. It's asking me for my vault credentials, and this is where the credentials file comes in. I'm gonna point it to the file on the desktop
and select open.
And this is the pass phrase that we talked about in the initial parts of this video. It's gotta be 16 characters long, and we get to save that here on whatever computer we choose. I'm gonna go ahead and just have this pass phrase generated, and we're gonna save that here on the desktop.
And now I'm gonna go ahead and select finish.
Now that that's done, I'm gonna go ahead and close the Mars set up agent and lunch, the actual agent itself.
And this is the Mars agent for Microsoft Azure backup. I can come in here in schedule a backup,
which is gonna set up a backup policy for us, very similar to the way we did in the adage reporter.
I'm gonna go ahead and select next year, and they were gonna select the items that we would ultimately like to back up.
I'm gonna select the documents folder of this server and go ahead and select. Okay,
Now we can it next to the next screen, and then we can set up when we want this to happen. The one thing that's unique about the Mars agent, as you can on Lee, back up a maximum of three times a day. But for most were close. This should be just fine. I'm gonna go ahead and leave this one time a day at 11:30 p.m. Select. Next.
We're gonna leave all these retention policies at default, but you'll notice there's a weekly monthly and a yearly retention policy. And what this means is that we're going to keep
every day. We're also gonna keep one week for 100 and four weeks. We're going to keep 60 months, and we're gonna keep 10 yearly backups with the default configuration. I'm gonna go ahead and slight next.
You have some options here. If the initial backup is relatively large to do an offline backup using a number of the tools we talked about in the previous video. I'm gonna leave. This is automatic.
And then I'm gonna go ahead and select, finish
and then close, and that's all there is to setting up the Mars as your backup agent on an on premise server to back up to your recovery service is vault Now back over in Azure, real quick to verify the work that we've just done.
If I come down here in the back of infrastructure,
I can see that we have one as your backup agent. Workload in the recovery service is bald, and I can see that it's the final sink server.
I can also see very similar information that we saw on the Azure workload is when it was last backed up when that was last refreshed. We can go ahead and connects to this and or delete the backup job.
So in today's episode, we talked about how we back up files in the azure environment, whether those air as your workloads or on promise workloads. We talked about a recovery service fault as being the place where those backup jobs were ultimately stored,
and we talked about the Mars agent and how that is theon prim agent that you install on your windows. Only work loads to do
file in volume level backups
coming up next, we're gonna talk about and finally get to move on into virtual machines. I'm really looking forward to the Segway into virtual machines. That cloud really starts to get powerful once we can do some compute where? Clothes in the azure environment. In addition to the storage workloads. Thanks so much for joining me today. I'm excited
for the virtual machine episodes coming up very soon.
Up Next
AZ-103 Microsoft Azure Administrator

This is a training course for the Microsoft Azure AZ-103 Certification. The Microsoft Azure Administrator training course teaches students to perform tasks like managing Azure subscriptions and resources, implementing and managing storage, deploying and managing virtual machines (VM) and networks, and managing identities!

Instructed By