3 Tips for Working with the Microsoft Azure Recovery Services Agent

The content below is taken from the original (3 Tips for Working with the Microsoft Azure Recovery Services Agent), to continue reading please visit the site. Remember to respect the Author & Copyright.

In this Ask the Admin, I will show you how to solve some common problems with the Microsoft Azure Recovery Services (MARS) backup agent on servers and Windows devices.

 

 

MARS is a cloud backup solution that supports Windows Server and Windows client OSs. It is a good option if you need a simple, no fuss, offsite backup. For more information about MARS and how to install the agent, see Backing Up Files and Folders Using Azure Backup on the Petri IT Knowledgebase.

Connecting to MARS Service

One of the frustrations I have experienced with the MARS agent is when opening the management console snap-in (MMC). MARS times out while connecting to the backend service. The easiest way to avoid this problem is to install the agent while logged into the server or PC with a local administrator account. Using Run as Administrator from a standard user’s desktop is creating the problem. Once the agent is installed and you have registered the device with Azure, you can switch back to a standard, user-account desktop. Finally, you can open the console using Run as Administrator.

Sponsored

If you have not already guessed, you need local admin privileges to access the console. Make sure you follow best practices by removing admin privileges from users. Therefore, users will not have access to Azure Recovery Services on their devices.

Microsoft Azure Recovery Services (MARS) agent (Image Credit: Russell Smith)

MARS Agent (Image Credit: Russell Smith)

Device Notifications

The MARS agent does not support local notifications but does write to the Event Log (CloudBackup/Operational) on each device. This can be accessed without any special privileges. Because MARS is primarily intended for backing up server workloads, the lack of local device notifications should not be a surprise. Nevertheless, you will need to check the Recovery Services dashboard in the Azure management portal. The other option is to set up email notifications. These strategies will ensure backup jobs are completing successfully.

MARS CloudBackup/Operational log (Image Credit: Russell Smith)

MARS CloudBackup/Operational Log (Image Credit: Russell Smith)

Free Space

On end-user devices, free space can be a particular issue. This is especially true on devices that use low-capacity, solid-state disks (SSDs). It is helpful to understand how the MARS agent backs up files. The first time the MARS agent runs a backup job, it uses a Volume Shadow Copy Service (VSS) snapshot to create a virtual hard disk (VHD) in a scratch folder. You can specify the location of this once the agent is installed. On subsequent runs, the VHD is compared to the current state of the files being backed up. Any differences are stored in a new VHD. Keep in mind, it will also be smaller. This is then sent to the Azure backup vault. Once the backup job is complete, the differential VHD is merged with the VHD that was created the first time the agent ran on the device.

To make the initial backup, you will need between 5 percent and 10 percent of free space on the volume. After the initial backup job has completed, the VHD expands and contracts as needed. If you face errors because of a lack of free space on the volume, gradually add folders to the backup set each time the backup runs.

If you are having problems with free space, you can check the amount of space being used by VSS using the vssadmin cmd. This is shown here:

vssadmin list shadowstorage

It is also possible to change the location of the agent scratch folder after installation by modifying the ScratchLocation value in the following registry keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup\Config]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup\Config\CloudBackupProvider]

Sponsored

In this article, I showed you how to solve some of the common problems with the MARS agent.

The post 3 Tips for Working with the Microsoft Azure Recovery Services Agent appeared first on Petri.