WEBVTT 0:00:03.140000 --> 0:00:07.540000 In this video, I'm going to take a couple of minutes to go through, backup 0:00:07.540000 --> 0:00:13.300000 and restore for files and folders using the Recovery Services Vault and 0:00:13.300000 --> 0:00:15.200000 the Azure Backup capabilities. 0:00:15.200000 --> 0:00:17.940000 What we're going to do is we're going to take a look at File and Folder 0:00:17.940000 --> 0:00:22.740000 Backup, and then I'm going to demonstrate File and Folder Backup, and 0:00:22.740000 --> 0:00:26.780000 then restore once you see the backup, you'll realize it restore pretty 0:00:26.780000 --> 0:00:27.920000 straightforward process. 0:00:27.920000 --> 0:00:33.580000 All right, now what are our processes and restrictions? 0:00:33.580000 --> 0:00:39.200000 First of all, there is the Mars agent, which if nothing else is just a 0:00:39.200000 --> 0:00:43.740000 great name for an agent, that is the Microsoft Azure Recovery Services 0:00:43.740000 --> 0:00:50.100000 agent. And what you need to do is you need to install that agent on any 0:00:50.100000 --> 0:00:54.560000 server that you're going to use File and Folder Backup with. 0:00:54.560000 --> 0:00:59.640000 Then after you've installed it, you're going to register that server with 0:00:59.640000 --> 0:01:01.000000 the service credentials file. 0:01:01.000000 --> 0:01:03.860000 The service credentials file is something you're going to download from 0:01:03.860000 --> 0:01:08.120000 the portal. You can also of course get this from the command line, and 0:01:08.120000 --> 0:01:10.240000 then you're going to go ahead and set up. 0:01:10.240000 --> 0:01:14.260000 And what you'll do is you will set up a passphrase. 0:01:14.260000 --> 0:01:18.860000 The passphrase is going to be used to encrypt your data before it's sent 0:01:18.860000 --> 0:01:24.740000 up to Azure. So your data is going to be encrypted before it leaves your 0:01:24.740000 --> 0:01:27.560000 machine that you are backing up. 0:01:27.560000 --> 0:01:31.540000 It's of course going to be encrypted in transit going over HTTPS. 0:01:31.540000 --> 0:01:36.980000 And it's going to be then further encrypted as encryption at rest in Azure 0:01:36.980000 --> 0:01:39.260000 itself. So lots of encryption there. 0:01:39.260000 --> 0:01:41.160000 You can schedule the backup. 0:01:41.160000 --> 0:01:44.600000 Now the backup of individual files and folders, you can schedule up to 0:01:44.600000 --> 0:01:46.660000 three times per day. 0:01:46.660000 --> 0:01:48.200000 There are some restrictions. 0:01:48.200000 --> 0:01:49.640000 This only works with Windows. 0:01:49.640000 --> 0:01:54.460000 There's not a similar backup agent for Linux. 0:01:54.460000 --> 0:01:58.380000 And you have to have at least Windows Server 2008 R2 or later and Windows 0:01:58.380000 --> 0:02:05.520000 8 or later. You cannot do this with read only volumes or offline volumes. 0:02:05.520000 --> 0:02:13.180000 And that's because it is using volume shadow copy to process this. 0:02:13.180000 --> 0:02:15.440000 You cannot do this with network shares. 0:02:15.440000 --> 0:02:19.560000 You cannot do it with anything that is protected with BitLocker. 0:02:19.560000 --> 0:02:24.140000 And you also cannot perform this on removable disks. 0:02:24.140000 --> 0:02:28.980000 So pretty really vanilla backup capability. 0:02:28.980000 --> 0:02:30.440000 It is somewhat restricted. 0:02:30.440000 --> 0:02:34.860000 I would say the BitLocker protection is something that could be problematic 0:02:34.860000 --> 0:02:39.120000 depending on the sensitivity of your data and the security requirements 0:02:39.120000 --> 0:02:42.560000 for the machine that you're using that you're going to backup. 0:02:42.560000 --> 0:02:47.840000 All right. Now with that said, let's go ahead and take a look at file 0:02:47.840000 --> 0:02:49.240000 and folder backup. 0:02:49.240000 --> 0:02:52.380000 For this demonstration, I have a Windows machine. 0:02:52.380000 --> 0:02:56.360000 This Windows machine happens to be running in Azure, but that's really 0:02:56.360000 --> 0:02:59.960000 immaterial. I'm going to go through exactly the same process I would go 0:02:59.960000 --> 0:03:04.060000 through if I was running this machine in my own data center. 0:03:04.060000 --> 0:03:11.140000 I also am using the very cool Bastion capability so that may look a little 0:03:11.140000 --> 0:03:14.240000 bit different. It's something that is relatively new and frankly I've 0:03:14.240000 --> 0:03:16.720000 become relatively obsessed with using. 0:03:16.720000 --> 0:03:18.060000 So we'll take a look at that. 0:03:18.060000 --> 0:03:22.140000 But that's not really the critical part of this, but it will be in there. 0:03:22.140000 --> 0:03:27.400000 All right. Now I currently have a browser window open and that browser 0:03:27.400000 --> 0:03:29.520000 window is actually using this bastion capability. 0:03:29.520000 --> 0:03:33.340000 So I'm actually connected to a virtual machine. 0:03:33.340000 --> 0:03:37.100000 If I minimize these, you'll see it's kind of a standard virtual machine 0:03:37.100000 --> 0:03:43.040000 here. And within the virtual machine, I have my Azure portal. 0:03:43.040000 --> 0:03:48.240000 So I've got a browser window inside my browser window. 0:03:48.240000 --> 0:03:50.460000 So there we go. We've got some layers there. 0:03:50.460000 --> 0:03:52.420000 And what I'm going to do is I'm going to go into my vault. 0:03:52.420000 --> 0:03:57.480000 So I'm sitting on the server right now that I want to implement backup 0:03:57.480000 --> 0:04:01.780000 with. And I'm going to go to backup items. 0:04:01.780000 --> 0:04:10.360000 And then I'm going to go to Azure backup agent. 0:04:10.360000 --> 0:04:16.300000 There we go. And I already have one in here from something I was doing 0:04:16.300000 --> 0:04:17.100000 to make sure it works. 0:04:17.100000 --> 0:04:18.780000 But I'm going to add another one. 0:04:18.780000 --> 0:04:22.540000 All right. Now when I add a backup, it doesn't actually matter where I 0:04:22.540000 --> 0:04:26.920000 go from. I'm going to choose on premises. 0:04:26.920000 --> 0:04:30.280000 And this is going to be a backup item. 0:04:30.280000 --> 0:04:32.060000 So I'm going to use an on premises. 0:04:32.060000 --> 0:04:35.820000 And then I choose what on premises I want to back up. 0:04:35.820000 --> 0:04:40.700000 Everything other than files and folders requires the Azure backup server, 0:04:40.700000 --> 0:04:41.540000 which I don't have installed. 0:04:41.540000 --> 0:04:44.000000 So we're just going to go with files and folder. 0:04:44.000000 --> 0:04:47.240000 Then I'm going to prepare infrastructure. 0:04:47.240000 --> 0:04:51.560000 And then it's going to ask me to install the recovery services agent. 0:04:51.560000 --> 0:04:55.300000 So I'm going to go ahead and download that. 0:04:55.300000 --> 0:05:07.340000 All right. So here we have where I want to install and cache data. 0:05:07.340000 --> 0:05:11.960000 Now in reality that may in fact be important. 0:05:11.960000 --> 0:05:14.820000 And so we'll go there. 0:05:14.820000 --> 0:05:19.120000 I am not using any kind of proxy. 0:05:19.120000 --> 0:05:25.760000 If I was, I could set that and then I'm going to choose for brevity for 0:05:25.760000 --> 0:05:26.660000 the sake of brevity. 0:05:26.660000 --> 0:05:28.960000 I am going to choose not to use Microsoft update. 0:05:28.960000 --> 0:05:33.940000 And then I'm going to install again, not the most complex installation. 0:05:33.940000 --> 0:05:40.720000 And once this is done, we'll take a look at actually setting up a backup. 0:05:40.720000 --> 0:05:51.000000 All right. And what I'm going to do is I'm going to go ahead and hit proceed 0:05:51.000000 --> 0:05:52.660000 to registration. 0:05:52.660000 --> 0:05:56.680000 All right. And now really what it's doing is first thing is asking me 0:05:56.680000 --> 0:06:00.880000 for vault credentials, which as it turns out, I don't have. 0:06:00.880000 --> 0:06:04.040000 But fortunately for me, pretty easy to get. 0:06:04.040000 --> 0:06:08.700000 I can come in here to have already downloaded the latest recovery services 0:06:08.700000 --> 0:06:16.000000 agent. And so now I want to download the vault credentials. 0:06:16.000000 --> 0:06:18.720000 I'm going to go ahead and save those. 0:06:18.720000 --> 0:06:25.240000 Should be in my download and flip back over to the registration wizard. 0:06:25.240000 --> 0:06:30.860000 Put in my downloads and there is the file that has my vault credentials. 0:06:30.860000 --> 0:06:33.680000 I'd recommend once you've gone through this process, go ahead and delete 0:06:33.680000 --> 0:06:38.460000 that. They are time limited, but it's still not a good idea to have any 0:06:38.460000 --> 0:06:42.320000 kind of credential just sitting on your machine. 0:06:42.320000 --> 0:06:46.460000 Now the next thing I'm going to do is set up my passphrase. 0:06:46.460000 --> 0:06:49.380000 Let's see if my standard passphrase is long enough. 0:06:49.380000 --> 0:06:54.300000 Well, it's not. So I'm going to generate a passphrase of 36 characters. 0:06:54.300000 --> 0:06:58.420000 Now the passphrase would be needed on a new machine where I'm going to 0:06:58.420000 --> 0:06:59.820000 try and restore the data. 0:06:59.820000 --> 0:07:02.820000 All right. And since I just generated that and it's hidden, that could 0:07:02.820000 --> 0:07:09.400000 be problematic. But what I'm going to do is save it to my desktop. 0:07:09.400000 --> 0:07:15.380000 Obviously once you have saved that file and it's just a text file, you're 0:07:15.380000 --> 0:07:18.280000 going to want to take that file off your machine and put it somewhere 0:07:18.280000 --> 0:07:20.340000 where it is well protected. 0:07:20.340000 --> 0:07:25.100000 Otherwise you won't be able to restore your data. 0:07:25.100000 --> 0:07:28.180000 All right. And so now it is registering the server. 0:07:28.180000 --> 0:07:29.240000 That'll take a moment. 0:07:29.240000 --> 0:07:33.980000 And once that's done, we'll go ahead and pop into the actual backup software 0:07:33.980000 --> 0:07:42.880000 and take a look at setting up a backup. 0:07:42.880000 --> 0:07:47.820000 All right. So the server is registered and it's telling you that the passphrase 0:07:47.820000 --> 0:07:49.600000 was saved to a file. 0:07:49.600000 --> 0:07:51.540000 I think if I click that link, it should open the file. 0:07:51.540000 --> 0:07:55.880000 There we go. There is my passphrase and the faults and the machine that 0:07:55.880000 --> 0:07:57.280000 it was set up for. 0:07:57.280000 --> 0:08:01.340000 And not a bad idea in terms of saving it recommends that you save a copy 0:08:01.340000 --> 0:08:03.280000 of the passphrase to Key Vault. 0:08:03.280000 --> 0:08:04.480000 You would have to do that manually. 0:08:04.480000 --> 0:08:08.140000 What I'm going to do is go ahead and launch the agent. 0:08:08.140000 --> 0:08:11.500000 And the agent should be installed here as well. 0:08:11.500000 --> 0:08:14.620000 There's Microsoft Azure Backup if I wanted to go directly. 0:08:14.620000 --> 0:08:17.340000 But I'm going to go ahead and launch it from here. 0:08:17.340000 --> 0:08:22.720000 And it should come up fairly quickly. 0:08:22.720000 --> 0:08:25.780000 And it came up underneath. 0:08:25.780000 --> 0:08:30.400000 There we go. So here I've got the Microsoft Azure Backup. 0:08:30.400000 --> 0:08:34.020000 Now I could register the server, but I'm already registered. 0:08:34.020000 --> 0:08:36.320000 So that wouldn't make a whole lot of sense. 0:08:36.320000 --> 0:08:39.380000 What I want to do is go ahead and schedule backup. 0:08:39.380000 --> 0:08:44.680000 Now if you've ever worked with any backup software pretty much anywhere, 0:08:44.680000 --> 0:08:49.320000 this is going to be maybe a little step different here there, but something 0:08:49.320000 --> 0:08:50.760000 that you could walk through. 0:08:50.760000 --> 0:08:53.100000 So I'm not going to take a lot of time because I don't want to waste your 0:08:53.100000 --> 0:08:56.720000 time. The first thing I'm going to do is I'm going to select items to 0:08:56.720000 --> 0:08:58.720000 backup. And I've got a folder over here. 0:08:58.720000 --> 0:09:03.740000 I've got a share folder here with an important file that has, of course, 0:09:03.740000 --> 0:09:05.360000 important information in it. 0:09:05.360000 --> 0:09:07.220000 So I would not want to lose that. 0:09:07.220000 --> 0:09:11.160000 Now that is a local file. 0:09:11.160000 --> 0:09:12.980000 I should say it's not a share from somewhere else. 0:09:12.980000 --> 0:09:15.180000 It's just a local folder with a local file. 0:09:15.180000 --> 0:09:16.600000 I'm going to add items. 0:09:16.600000 --> 0:09:20.040000 I'm going to go and just add that entire folder. 0:09:20.040000 --> 0:09:22.620000 Backing that up. 0:09:22.620000 --> 0:09:24.960000 Specifying my backup schedule. 0:09:24.960000 --> 0:09:28.980000 I'm going to schedule backup at 6 a.m. 0:09:28.980000 --> 0:09:31.300000 And I can schedule two other backups. 0:09:31.300000 --> 0:09:36.260000 6 p.m. And 6.30 p.m. 0:09:36.260000 --> 0:09:37.880000 because why not? 0:09:37.880000 --> 0:09:41.540000 And I'm going to go ahead and go next. 0:09:41.540000 --> 0:09:44.800000 And so then I'm setting the retention policy. 0:09:44.800000 --> 0:09:53.320000 I've got weekly, monthly, well daily, 180, weekly, 104, two years, monthly, 0:09:53.320000 --> 0:09:56.360000 60 months. And then yearly, 10 years. 0:09:56.360000 --> 0:10:00.680000 Now do keep in mind that you are paying for that storage. 0:10:00.680000 --> 0:10:04.160000 So on the one hand, it might seem like a good idea just to go ahead and 0:10:04.160000 --> 0:10:07.300000 store everything for a really long time. 0:10:07.300000 --> 0:10:08.980000 Like, you know, 10 years of daily's. 0:10:08.980000 --> 0:10:12.940000 But you want to be judicious in your selections. 0:10:12.940000 --> 0:10:18.300000 Now, the initial backup type, you can automatically backup over the network, 0:10:18.300000 --> 0:10:19.320000 which is the default. 0:10:19.320000 --> 0:10:24.820000 Or you can use an offline backup, which is actually pretty cool. 0:10:24.820000 --> 0:10:30.120000 And that will let you use an Azure data box for your initial offline backup. 0:10:30.120000 --> 0:10:35.460000 Notice that at this time is in limited preview. 0:10:35.460000 --> 0:10:39.980000 But since I have a single file, I feel relatively comfortable pushing 0:10:39.980000 --> 0:10:42.360000 that over the network. 0:10:42.360000 --> 0:10:46.700000 And so files and folders and finish. 0:10:46.700000 --> 0:10:52.600000 And there we go. 0:10:52.600000 --> 0:11:01.280000 All right. And if I go to backup now, click backup now, schedule item, 0:11:01.280000 --> 0:11:07.520000 files and folders, retain until confirmation, I'm going to go ahead and 0:11:07.520000 --> 0:11:09.380000 backup the share right now. 0:11:09.380000 --> 0:11:19.620000 And back it up. Let's take a snapshot of my volumes and it is backing 0:11:19.620000 --> 0:11:23.480000 up that data. So I'll wait for that to finish and then we'll take a look 0:11:23.480000 --> 0:11:25.980000 at what that has generated. 0:11:25.980000 --> 0:11:35.600000 All right. My backup has completed successfully. 0:11:35.600000 --> 0:11:43.200000 So I could close that and I see the status of this backup job. 0:11:43.200000 --> 0:11:47.860000 And I can view the details and I can see that the job was completed. 0:11:47.860000 --> 0:11:50.820000 It actually transferred 22 megabytes worth of data, which is a lot of 0:11:50.820000 --> 0:11:52.060000 data from one file. 0:11:52.060000 --> 0:11:54.700000 Clearly, of course, there's some overhead. 0:11:54.700000 --> 0:11:56.440000 All right. But that's the backup process. 0:11:56.440000 --> 0:11:59.440000 Now, as far as the restore process, recover data, I'm not going to go 0:11:59.440000 --> 0:12:02.360000 through the whole thing because again, if you've backed up, you've probably 0:12:02.360000 --> 0:12:04.340000 gone through recover. 0:12:04.340000 --> 0:12:05.740000 And here's what I'm going to do. 0:12:05.740000 --> 0:12:08.840000 So I'm going to recover data from this server, which means it's going 0:12:08.840000 --> 0:12:13.580000 to have the same key or from another server, which case I'm going to have 0:12:13.580000 --> 0:12:15.600000 to put the key in. 0:12:15.600000 --> 0:12:19.420000 Recovery mode. I want to recover individual files and folders. 0:12:19.420000 --> 0:12:26.420000 Select volume and date. 0:12:26.420000 --> 0:12:30.480000 Here are the backups that were performed. 0:12:30.480000 --> 0:12:35.100000 And mount that. And it's going to let me really just mount that and pull 0:12:35.100000 --> 0:12:37.060000 whatever data I need to pull. 0:12:37.060000 --> 0:12:40.020000 And that's going to take a little while, but I'm going to assume that 0:12:40.020000 --> 0:12:42.260000 you've worked with mounted data before. 0:12:42.260000 --> 0:12:45.460000 If not, it's really just pretty much navigating to the data you want and 0:12:45.460000 --> 0:12:46.440000 copying it over. 0:12:46.440000 --> 0:12:53.140000 And so that is actually implementing file and folder backup. 0:12:53.140000 --> 0:12:56.380000 Remember, with file and folder backup, you need to do a few things. 0:12:56.380000 --> 0:12:57.920000 Obviously, you need to have a vault. 0:12:57.920000 --> 0:13:01.960000 You need to install the Mars agent, which remembers just a fun name. 0:13:01.960000 --> 0:13:04.660000 And you need to register the server. 0:13:04.660000 --> 0:13:07.920000 Once you've done that, you can then start performing your file and folder 0:13:07.920000 --> 0:13:12.280000 backup, all of which is actually managed from the software, from the agent 0:13:12.280000 --> 0:13:13.760000 that's installed on the server.