Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
本文介绍了如何进行Microsoft Azure 备份 Server(MABS)V4及更高版本的静默无人值守安装。 你创建一个 MABSSetup.ini 配置文件,并从提升命令提示符运行 Setup.exe,无需交互式设置即可部署 MABS。
该程序不适用于MABS V1、V2或V3。
安装备份服务器
若要安装备份服务器,请运行以下命令:
通过在提升的命令提示符下运行以下命令,确保 Program Files 下有一个名为“Microsoft Azure Recovery Services Agent”的目录。
mkdir "C:\Program Files\Microsoft Azure Recovery Services Agent"请预先在提升权限的命令提示符中安装 MABS 的必备组件。 以下命令可能会导致服务器自动重启,但如果未发生,建议手动重启。
start /wait dism.exe /Online /Enable-feature /All /FeatureName:Microsoft-Hyper-V /FeatureName:Microsoft-Hyper-V-Management-PowerShell /quiet在承载 Azure 备份服务器 V4 或更高版本的服务器上,创建一个文本文件。 (可以在记事本或其他文本编辑器中创建该文件。)将该文件保存为 MABSSetup.ini。
将以下代码粘贴在 MABSSetup.ini 文件中。 将括号 (<>) 内的文本替换为来自你环境的值。 以下文本是一个示例:
注意
Azure 建议使用最安全的可用身份验证流。 本步骤中描述的身份验证流程要求对该应用程序具有极高的信任,并且存在其他流程中不存在的风险。 确保在安装完成后删除 MABSSetup.ini 文件。
[OPTIONS] UserName=administrator CompanyName=<Microsoft Corporation> SQLMachineName=localhost SQLInstanceName=<SQL instance name> SQLMachineUserName=administrator SQLMachinePassword=<admin password> SQLMachineDomainName=<machine domain> ReportingMachineName=localhost ReportingInstanceName=SSRS SqlAccountPassword=<admin password> ReportingMachineUserName=<username> ReportingMachinePassword=<reporting admin password> ReportingMachineDomainName=<domain> VaultCredentialFilePath=<vault credential full path and complete name, without spaces in both> SecurityPassphrase=<passphrase> PassphraseSaveLocation=<passphrase save location, an existing directory where the passphrase file can be created> UseExistingSQL=<1/0 use or do not use existing SQL>保存文件。 然后,在安装服务器上以管理员身份打开的命令提示符中,输入以下命令:
start /wait <cdlayout path>/Setup.exe /i /f <.ini file path>/setup.ini /L <log path>/setup.log
可以使用以下参数进行安装:
/f:.ini 文件路径
/l:日志路径
/i:安装路径/x:卸载路径
后续步骤
安装备份服务器之后,了解如何准备服务器或开始保护工作负载。