The goal of this task is to configure and test file and folder backup and recovery for an existing virtual machine. This includes installing the MARS agent on a server, configuring a backup, and verifying the backup.
Task 1: Install the MARS agent on a Windows server
For this requirement you will install the MARS on the back-vm virtual machine. Follow the steps to complete this requirement:
- Use your credentials to login to the Azure Portal.

- You wil be seeing 8 resources in your rescourge group. Please wait untill it finishes deploying.

- Wait until you see Succeeded. Change will refelct on refresh. Deployment takes 10 mins approx.

- Navigate to Depolyments in the resource group menu bar.

- Click on the deployed template.

- Click on Outputs and copy the password. We need the password to login to the server.

- Now, come back to resource group and Click on back-vm

- We will use bastion to connect to the VM. Click on connect and choose Basiton.

- Username: student
- Password: Paste the copied vaule here
- Click on connect.

- Once you connected to the server, Server manager will be opened.
- Click on Local server and now we need to turn OFF the IE(internet explorer) enhanced security configuration to that click on ON.

- Turn OFF everything and click on OK.

- Click on refresh button to see the changes.

- Azure portal doesn't support on IE so let's download Edge/Chrome. For this lab I am downloading Chrome.

- After downloading, login with your Azure credentials.


- Navigate to Backup-items and click on Azure Backup Agent.


- Workload: On-premises
- Backup: File and Folders

- Click on Prepare Infrastructure.

- We will donwload Win Agent and will install it here. Click on Download Agent for Windows Server


- Leave it as default and click Next

- Uncheck proxy and click Next

- I don't want update and click Next


- Now, click on Proceed to Regestraion

- Now, we need to upload the vault credentials. So, go to the portal.

- Check the Already Downloaded and click on Download.

- The downloaded files are present in downloads folder.


- And upload the file from downloads


- For encryption and decryption we need to have a passphrase. So, click on Generate Passphrase.

- Save the generated file in Desktop. And click on Finish.

- Ignore the warning sign and check the Launch then click on Close

Successfully we have completed our Task 1.
Task 2: Backup content
To satisfy this requirement you must create some file content on the back-vm virtual machine and back the content up to the back-vault. Follow the steps to complete this requirement:
- Before moving forward create a folder named protected on the d: drive.
- Create a file named ReallyImportantFile.txt and add some text to the file.

- Now, come back so we can shedule a backup. Click on Schedule backup


- Now, let's add the items for backup. Click on Add items.

- Expand the D drive and select the protected folder. So we can add the protected folder.


- Choose the following timings for backup.

- Leave it as Default and click Next

- Choose: Transfer over network and click on Next

- Check for confirmation and click on Finish

- Wait until you see the Success status and click on Close.

- We have learnt how to schedule a backup. Now, lets do backup for now.
- Click on Back Up Now

- Select file and folders and click Next.

- Backup till date. Click Next

- You can see the Backup item for confimation and click Backup.


- Once you see the Job completed status then close it.

Successfully we have completed our Task 2.
Task 3: Restore content
Finally, you will verify the restoration of files from a backup. Follow the steps to complete this requirement:
- Let's delete the protected file.

- Well we deleted the file.

- Now, Click on Recover Data.

- Choose This server and click Next

- We are going to recover Individual files and folders and click Next

- Select the Volume that we are going to restore. In our case it is D dirve. And select till date then click Mount.


- You can see the data has been recovered into volume F:/ and click on Browse to check the item.


- And paste it in the D:/ drive as per requirement.


We have finished all our tasks
Clean up:
- Delete the existing resources.