运行 Azure 备份服务器的无人参与安装Run an unattended installation of Azure Backup Server

了解如何运行 Azure 备份服务器的无人参与安装。Learn how to run an unattended installation of Azure Backup Server.

如果是安装 Azure 备份服务器 V1,则这些步骤不适用。These steps do not apply if you are installing Azure Backup Server V1.

安装备份服务器Install Backup Server

  1. 在承载 Azure 备份服务器 V2 或更高版本的服务器上,创建一个文本文件。On the server that hosts Azure Backup Server V2 or later, create a text file. (可以在记事本或其他文本编辑器中创建该文件。)将该文件保存为 MABSSetup.ini。(You can create the file in Notepad or in another text editor.) Save the file as MABSSetup.ini.

  2. 将以下代码粘贴在 MABSSetup.ini 文件中。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:

    [OPTIONS]
    UserName=administrator
    CompanyName=<Microsoft Corporation>
    SQLMachineName=localhost
    SQLInstanceName=<SQL instance name>
    SQLMachineUserName=administrator
    SQLMachinePassword=<admin password>
    SQLMachineDomainName=<machine domain>
    ReportingMachineName=localhost
    ReportingInstanceName=<reporting instance name>
    SqlAccountPassword=<admin password>
    ReportingMachineUserName=<username>
    ReportingMachinePassword=<reporting admin password>
    ReportingMachineDomainName=<domain>
    VaultCredentialFilePath=<vault credential full path and complete name>
    SecurityPassphrase=<passphrase>
    PassphraseSaveLocation=<passphrase save location>
    UseExistingSQL=<1/0 use or do not use existing SQL>
    
  3. 保存文件。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 文件路径/f: .ini file path
/l:日志路径/l: Log path
/i:安装路径/i: Installation path
/x:卸载路径/x: Uninstall path

后续步骤Next steps

安装备份服务器之后,了解如何准备服务器或开始保护工作负荷。After you install Backup Server, learn how to prepare your server, or begin protecting a workload.