Skip to main content

Configuring On-Premises MARS

Hands-On Lab

 

Photo of

Training Architect

Length

01:30:00

Difficulty

Intermediate

To ensure proper backups are provided through Azure services for on-premise solutions, Microsoft strongly recommends using their Microsoft Azure Backup Server (MABS) installed in the on-premise environment. This allows backups to be collected on-premises before being pushed to the cloud. In this lab, we walk through the installation and configuration of the Microsoft Recovery Agents on client machines we wish to backup.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

Configuring On-Premises MARS

Introduction

To ensure proper backups are provided through Azure services for on-premise solutions, Microsoft strongly recommends using their Microsoft Azure Backup Server (MABS) installed in the on-premise environment. This allows backups to be collected on-premises before being pushed to the cloud.

In this lab, we walk through the installation and configuration of the Microsoft Recovery Agents on client machines we wish to backup.

Connecting to the Lab

  1. Log in to the Azure Portal using the credentials provided on the lab instructions page.

Configure the Recover Services Vault

  1. Click Dashboard on the left-hand menu.

  2. Click lab-VM.

  3. Copy the Public IP address.

  4. Use Remote Desktop to connect to the device using the IP address copied in the previous step.

    1. Open Microsoft Remote Desktop.

    2. Paste the IP address in the PC name box.

    3. Click Add.

    4. Double-click the added desktop to run it.

    5. Enter the username azureuser and the password LA!2018!Lab in the boxes provided.

    6. Click Continue.

    7. If a warning dialog appears, click Continue.

  5. Once connected, click the Local Server box.

  6. Click the link next to IE Enhanced Security Configuration.

  7. In the window that appears, select Off for both options.

  8. Click OK.

  9. Open a browser and navigate to "portal.azure.com".

  1. Log into the Portal using the credentials provided on the lab instructions page.

  2. Click Dashboard on the left-hand menu.

  3. Click the link for the Recovery Services Vault.

  4. Click Properties from the middle menu.

  5. Click Update under Backup Configuration.

  6. In the right-hand window, set the Storage replication type to Locally-redundant.

  7. Click Save.

  8. Click Backup from the middle menu.

  9. Under Where is your workload running?, click the combo box and select On-Premises.

  10. Under What do you want to backup?, click the combo box and select Files and folders.

Download MARS and Install It on the Lab-VM

  1. Click Prepare infrastructure.

  2. Click Download Agent for Windows Server or Windows Client.

  3. In the pop-up, choose the option to Run the exe file.

  4. Click the checkbox next to Already downloaded or using the latest Recover Services Agent.

  5. Click Download.

  6. In the pop-up, click the arrow next to the Save button and select Save as....

  7. Navigate to the desktop and click Save.

  8. Navigate to the Microsoft Azure Recovery Services Agent Setup Wizard. It should be running after it finished downloading.

  9. Click Next.

  1. Click Next.

  2. Select Use Microsoft Update when I check for updates (recommended) and then click Next.

  3. Click Install.

  4. Click Proceed to Registration.

  5. Click Browse.

  6. Select the credentials downloaded to the Desktop in a previous step.

  7. Click Open.

  8. Click Next.

  9. Click Generate Passphrase.

  10. Click Browse and select the Desktop.

  11. Click Finish.

  12. Click Close.

Create Files and Folders for Testing Purposes

Note: This happens later in the video, but is required for the next task.

  1. On the desktop, right-click and hover over New. Select Folder from the new menu.

  2. Title the new folder "TPS Reports".

  3. Enter the new folder.

  4. Right-click and hover over New. Select Text Document from the new menu.

  5. Title the file "TPS1".

  6. Create another new text file and name it "TPS2".

  7. Create another new text file and name it "TPS3".

Create Our Backup Policy

  1. In Microsoft Azure Backup, click Schedule Backup from the right-hand menu.

  2. Click Next.

  3. Click Add Items.

  4. Navigate to usersazureuserDesktop and select the box next to the TPS Reports folder.

  5. Click OK.

  6. Click Next.

  7. Select the times for the backup to run as 12:00 AM, 6:00 PM, and 12:30 PM.

  8. Click Next.

  9. Under Retain backup copies taken for all times, enter in a value of 30 Days.

  1. Under Weekly Retention Policy, enter a value of 12 Weeks.

  2. Under Yearly Retention Policy, enter a value of 1 Years.

  3. Click Next.

  4. Click Next.

  5. Click Finish.

  6. Click Close.

  7. Click Back Up Now from the right-hand menu.

  8. Click Next.

  9. Click Next.

  10. Verify the settings and then click Back Up.

Delete Some Files and Recover Them Using the MARS Agent

  1. Navigate to the TPS Reports folder and delete TPS2 and TPS3.

  2. Navigate back to Microsoft Azure Backup.

  3. Click Recover Data from the right-hand menu.

  4. Click Next.

  5. Click Next.

  6. Select C from the combo box next to Select the volume.

  7. Click Mount.

  8. Once it finishes mounting the drive, click Browse.

  9. Click OK on the pop-up that appears.

  1. Navigate to usersazureuserDesktopTPS Reports.

  2. Select both TPS2 and TPS3.

  3. Copy the files.

  4. Navigate to the local TPS Reports directory and paste the files.

  5. Back in Microsoft Azure Backup, click Unmount.

  6. Click Yes.

Conclusion

Congratulations, you've completed this hands-on lab!