Run an unattended installation of Azure Backup Server

Learn how to run an unattended installation of Azure Backup Server.

These steps don't apply if you're installing older version of Azure Backup Server like MABS V1, V2 and V3.

Install Backup Server

  1. Ensure that there's a directory under Program Files called "Microsoft Azure Recovery Services Agent" by running the following command in an elevated command prompt.

    mkdir "C:\Program Files\Microsoft Azure Recovery Services Agent"
  2. Install the pre-requisites for MABS ahead of time in an elevated command prompt. The following command can result in an automatic server restart, but if that does not happen, a manual restart is recommended.

    start /wait dism.exe /Online /Enable-feature /All /FeatureName:Microsoft-Hyper-V /FeatureName:Microsoft-Hyper-V-Management-PowerShell /quiet
  3. On the server that hosts Azure Backup Server V4 or later, create a text file. (You can create the file in Notepad or in another text editor.) Save the file as MABSSetup.ini.

  4. Paste the following code in the MABSSetup.ini file. Replace the text inside the brackets (< >) with values from your environment. The following text is an example:

    CompanyName=<Microsoft Corporation>
    SQLInstanceName=<SQL instance name>
    SQLMachinePassword=<admin password>
    SQLMachineDomainName=<machine domain>
    SqlAccountPassword=<admin password>
    ReportingMachinePassword=<reporting admin password>
    VaultCredentialFilePath=<vault credential full path and complete name, without spaces in both>
    PassphraseSaveLocation=<passphrase save location, an existing directory where the passphrase file can be created>
    UseExistingSQL=<1/0 use or do not use existing SQL>
  5. Save the file. Then, at an elevated command prompt on the installation server, enter this command:

    start /wait <cdlayout path>/Setup.exe /i  /f <.ini file path>/setup.ini /L <log path>/setup.log

You can use these flags for the installation:
/f: .ini file path
/l: Log path
/i: Installation path
/x: Uninstall path

Next steps

After you install Backup Server, learn how to prepare your server, or begin protecting a workload.