- Install Amazon WorkSpaces: Virtual Linux or Windows desktop in AWS - Tue, Nov 30 2021
- Reserved EC2 Instances vs. AWS Savings Plans - Thu, Oct 21 2021
- Amazon EC2 on-demand Capacity Reservations: A step-by-step guide - Thu, Oct 7 2021
With MABS you can back up files and folders, volumes, applications, and Hyper-V and VMware virtual machines (VMs). It offers most of the common System Center Data Protection Manager features with the exception that it does not integrate with other System Center family products and does not support backup tapes. Best of all, it is totally free.
In this article, we will be using MABS v2, the latest version of the product released May 31, 2017.
Before you start, make sure you meet the following prerequisites:
- The server OS should be at least Windows Server 2012.
- You have installed .NET 3.5 SP1 and the Hyper-V PowerShell module.
You can use this PowerShell command to install both:
Install-WindowsFeature Net-Framework-Core, Hyper-V-PowerShell -source <the path of the sxs folder>
- The server is an Active Directory domain member.
Create a Recovery Service vault ^
The Recovery Service vault is a storage container where you store the backup data. So first, you have to create a Recovery Service vault:
- Navigate to Recovery Service vaults and click Add, as shown on the following screen.
- A new blade opens up wherein you need to specify the following:
- Name: Specify a descriptive name for the recovery service vault.
- Subscription: Select the subscription to charge for using this service if you have multiple subscriptions.
- Resource group: Specify the resource group in which the recovery service vault will exist as a resource.
- Location: Specify the region wherein you want to deploy this resource.
- Click on Create, which will create the Recovery Service vault within a moment.
Download Azure Backup Server ^
- Navigate to the Recovery Service vault created earlier. Under Getting Started, click on Backup.
- This will open a new blade wherein you have to specify where your workload is running and what you want to back up. Just specify the parameters according to your needs and click on Prepare Infrastructure.
- You have to click on Download under Install Microsoft Azure Backup Server and the vault credentials, as you will need it later.
- For the Microsoft Azure Backup Server, it will navigate you to another web page where you can download the product.
Install Microsoft Azure Backup Server ^
- After the download, you will have seven compressed .bin files and one .exe file. You can extract the product by running the .exe file and specify the path to extract MABS to.
- After completing the extraction, run setup.exe
- From the installation splash screen, click on Microsoft Azure Backup Server, as shown in the following screenshot.
- A new wizard opens with a welcome screen. Click Next to proceed to the next step.
- The next step will ask you to check for the prerequisites of Azure Backup Server, as shown in the following screenshot.
- The next screen will ask you either to install a new SQL instance or select an existing one. Note that this step will check for the prerequisites defined earlier, so make sure you've met them to avoid any errors. Note that you can't use a remote SQL instance—only a local instance will work.
- You then need to specify the installation path for MABS files, as per the requirements shown in the next screenshot.
- On the next screen, you have to specify a strong password to use for a restricted local user that will run SQL services, as shown on the following screen.
- After that, you need to specify whether you want to use Microsoft Update for the MABS or not. The recommended setting is to enable it for the latest updates.
- Finally, it will summarize all the settings you specified, as shown on the following screen.
- After you click Install, the wizard will install the Microsoft Azure Recovery Services Agent. This will open another wizard to specify the proxy settings (if applicable), as shown in the following screenshots.
- A new wizard opens up to register the server to the Recovery Services vault wherein you have to specify the vault credentials you downloaded earlier.
- On the next screen, you need to provide a passphrase to use for encrypting and decrypting backups on this server. Note that the passphrase should be at least 16 characters long. You can enter it manually or click Generate Passphrase to generate a complex passphrase. You then need to specify a location to save the passphrase to.
- After you click Next, the server registration will start.
- After this, you will return to the main installation wizard to complete the installation.
- After the installation completes, you will receive a confirmation of the successful installation.
Troubleshooting tips ^
When checking the prerequisites in the SQL Settings steps, you might encounter the error ".Net 3.5 SP1 is not installed on this machine" and "The missing prerequisite (Hyper-VPowerShell) has been installed" if you didn't meet the prerequisites mentioned at the beginning of the article.
During the server registration to the Recovery Services vault, you might encounter the following error: "Invalid vault credentials provided. The file is either corrupted or does not have the latest credentials associated with recovery service." This error may occur for one of the following reasons:
- You might have downloaded the vault credentials from more than two days ago. In this case, you need to redownload the vault credentials and use the new downloaded file.
- The vault credentials file is located at a network location. You need to change it to a local path.
- The folder C:\Windows\Temp contains more than 60,000 files. You then have to delete some of the unneeded files to free up space for the Azure agent.
- The date and time of your server are incorrect.
During the installation, you might face some of the following issues:
- Setup could not update the registry metadata. This update failure could lead to overuse of storage consumption. To avoid this, update the Resilient File System (ReFS) trimming registry entry: Set the SYSTEM\CurrentControlSet\Control\FileSystem\RefsEnableInlineTrim dword value to 1.
- With the above issue, you also have to create the registry key SOFTWARE\Microsoft Data Protection Manager\Configuration\VolSnapOptimization\WriteIdswith an empty string value.
Microsoft Azure Backup Server is a free tool that allows you to back up your files, folders, applications, VMs, and so on to local disks for short-term retention and to Azure for long-tearm retention. Of course, you have to pay for storage consumption in Azure. In my next post I will explain how to configure MABS.
Subscribe to 4sysops newsletter!
In my next post I will discuss a few post installation tasks.