Time
7 hours 46 minutes
Difficulty
Intermediate
CEU/CPE
8

Video Transcription

00:00
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.
00:10
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.
00:29
Using the recovery service is vault
00:31
or as your workloads and an example on premise workload.
00:36
Now, what are some of the benefits of azure backup?
00:40
Well, there really are a number of them, but these air four of the key ones, in my opinion,
00:45
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.
00:59
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.
01:18
You also get unlimited data transfer into and out of the azure backup Recovery service is vault
01:23
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
01:42
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.
01:53
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.
02:09
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,
02:20
and then we have to name that vault.
02:23
I'm gonna go ahead and put this vault in Central US
02:29
and review and create.
02:30
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.
02:46
We have some options here On what? Where our workload is running Azure azure stack in on premise
02:53
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
03:04
and unfair miss is going to be any workloads running on your own equipment in your own environment.
03:10
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
03:27
and we're gonna back this up
03:30
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
03:39
the files and the vault need to be in the same region for azure workloads, and they cannot be protected by multiple vaults.
03:49
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
03:54
and others that's created. We can see it is looking for file shares that can be backed up to the vault
04:00
Now. Another thing worth noting here is that within an azure subscription, we can only have 25. Recovery service is vaults in each region,
04:11
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.
04:19
And now we see our Dunder Mifflin from our previous file storage episode. I'm gonna select. Okay,
04:26
Now we're down into configuration of the backup policy.
04:30
We don't currently have any backup policies available, so we're gonna go ahead and create a new one.
04:36
I'm gonna go ahead and make this a daily backup policy.
04:40
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.
04:53
Now that I have that all set up, all I have to do is select okay,
04:57
And then we can enable the backup
05:00
another. That backup job has finished creating. We can come back out here
05:03
and go down to backup items,
05:09
and we can see that we have one azure file set to back up here in this recovery service is vault.
05:15
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,
05:30
set the date and select. Okay,
05:32
If you want to see the status of this backup, we can back out a few blades,
05:38
a number of ways. I'm gonna go ahead and scroll left here,
05:42
and then we're gonna go to the bottom and click on backup jobs.
05:46
We can see that the initial backup now has already completed.
05:49
So when I come back to back up items,
05:54
click back through to where we were.
05:57
You can see the backup has been successful.
06:00
There are also options here to restore the entire share or simply do a file level recovery.
06:06
Now, on the final level recovery, I can search for an item and click a backup.
06:13
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.
06:25
Come here to select the file that I want
06:27
and browse the files to be restored.
06:30
I can click this. It said toe override to the original location. Select
06:34
and then hit. Okay,
06:36
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
06:46
backup policy
06:47
and we've used the daily backup policy.
06:50
We come in and change their attention, or we could change the time of the day. This is all running,
06:57
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.
07:05
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
07:16
instead of selecting Azure here, we're gonna go down in select on premises
07:21
because a number of options here, but right now we're gonna talk about files and folders,
07:27
and then we're gonna click Prepare infrastructure
07:30
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.
07:47
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.
07:56
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,
08:15
fully featured backup agent
08:16
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.
08:26
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,
08:46
but to go ahead and get this deployed.
08:48
It's just like any other installer. I'm gonna go ahead and get that
08:52
installed here on this server and we'll jump back in when we go to add on the credential file.
08:58
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
09:07
and select open.
09:09
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.
09:26
And now I'm gonna go ahead and select finish.
09:28
Now that that's done, I'm gonna go ahead and close the Mars set up agent and lunch, the actual agent itself.
09:35
And this is the Mars agent for Microsoft Azure backup. I can come in here in schedule a backup,
09:41
which is gonna set up a backup policy for us, very similar to the way we did in the adage reporter.
09:48
I'm gonna go ahead and select next year, and they were gonna select the items that we would ultimately like to back up.
09:52
I'm gonna select the documents folder of this server and go ahead and select. Okay,
09:58
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.
10:13
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
10:22
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.
10:35
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.
10:46
And then I'm gonna go ahead and select, finish
10:48
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.
11:01
If I come down here in the back of infrastructure,
11:05
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.
11:11
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.
11:24
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,
11:37
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
11:43
file in volume level backups
11:46
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
12:05
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

Instructor Profile Image
Will Carlson
Director of IT and Cybersecurity
Senior Instructor