安装和升级 Azure 备份服务器Install and upgrade Azure Backup Server

适用于:MABS v3。Applies To: MABS v3. (不再支持 MABS v2。(MABS v2 is no longer supported. 如果使用的版本早于 MABS v3,请升级到最新版本。)If you are using a version earlier than MABS v3, please upgrade to the latest version.)

本文介绍如何准备环境,以使用 Microsoft Azure 备份服务器 (MABS) 来备份工作负荷。This article explains how to prepare your environment to back up workloads using Microsoft Azure Backup Server (MABS). 使用 Azure 备份服务器,可以通过一个控制台保护应用程序工作负载,如 Hyper-V VM、Microsoft SQL Server、SharePoint Server、Microsoft Exchange 和 Windows 客户端。With Azure Backup Server, you can protect application workloads such as Hyper-V VMs, Microsoft SQL Server, SharePoint Server, Microsoft Exchange, and Windows clients from a single console.

备注

Azure 备份服务器现在可以保护 VMware VM 并提供改进的安全功能。Azure Backup Server can now protect VMware VMs and provides improved security capabilities. 请按以下各部分所述安装该产品以及最新的 Azure 备份代理。Install the product as explained in the sections below and the latest Azure Backup Agent. 若要详细了解如何使用 Azure 备份服务器备份 VMware 服务器,请参阅使用 Azure 备份服务器备份 VMware 服务器一文。To learn more about backing up VMware servers with Azure Backup Server, see the article, Use Azure Backup Server to back up a VMware server. 若要了解安全功能,请参阅 Azure 备份安全功能文档To learn about security capabilities, refer to Azure backup security features documentation.

部署在 Azure VM 中的 MABS 可以备份 Azure 中的 VM,但它们应位于同一域中以启用备份操作。MABS deployed in an Azure VM can backup VM's in Azure but they should be in same domain to enable backup operation. 备份 Azure VM 的过程仍与在本地备份 VM 的过程相同,但在 Azure 中部署 MABS 有一些限制。The process to back an Azure VM remains same as backing up VMs on premises, however deploying MABS in Azure has some limitations. 有关限制的详细信息,请参阅 DPM 作为 Azure 虚拟机For more information on limitation see DPM as an Azure virtual machine

备注

Azure 有两种用于创建和使用资源的部署模型:资源管理器部署模型和经典部署模型Azure has two deployment models for creating and working with resources: Resource Manager and classic. 本文提供有关还原使用 Resource Manager 模型部署的 VM 的信息和过程。This article provides the information and procedures for restoring VMs deployed using the Resource Manager model.

Azure 备份服务器从 Data Protection Manager (DPM) 继承了大量工作负荷备份功能。Azure Backup Server inherits much of the workload backup functionality from Data Protection Manager (DPM). 本文链接到 DPM 文档,介绍一些共享功能。This article links to DPM documentation to explain some of the shared functionality. 尽管 Azure 备份服务器与 DPM 有许多相同的功能,但 Azure 备份服务器无法备份到磁带,也不与 System Center 集成。Though Azure Backup Server shares much of the same functionality as DPM, Azure Backup Server does not back up to tape, nor does it integrate with System Center.

选择安装平台Choose an installation platform

若要启动并运行 Azure 备份服务器,首先要设置 Windows Server。The first step towards getting the Azure Backup Server up and running is to set up a Windows Server. 服务器可位于 Azure 中,也可位于本地。Your server can be in Azure or on-premises.

使用 Azure 中的服务器Using a server in Azure

选择用于运行 Azure 备份服务器的服务器时,建议从 Windows Server 2016 Datacenter 或 Windows Server 2019 Datacenter 库映像开始。When choosing a server for running Azure Backup Server, it is recommended you start with a gallery image of Windows Server 2016 Datacenter or Windows Server 2019 Datacenter. 在 Azure 门户中创建第一个 Windows 虚拟机一文提供了如何在 Azure 中开始使用建议的虚拟机的教程,即使以前从未使用过 Azure 也没关系。The article, Create your first Windows virtual machine in the Azure portal, provides a tutorial for getting started with the recommended virtual machine in Azure, even if you've never used Azure before. 建议服务器虚拟机 (VM) 最低要求应为:Standard_A4_v2 具有四个核心和 8 GB RAM。The recommended minimum requirements for the server virtual machine (VM) should be: Standard_A4_v2 with four cores and 8-GB RAM.

使用 Azure 备份服务器保护工作负荷有许多细微差异需要注意。Protecting workloads with Azure Backup Server has many nuances. 可通过将 DPM 安装为 Azure 虚拟机一文了解这些细微差异。The article, Install DPM as an Azure virtual machine, helps explain these nuances. 部署计算机前,请先阅读完本文。Before deploying the machine, read this article completely.

使用本地服务器Using an on-premises server

如果不希望在 Azure 中运行基本服务器,则可以在 Hyper-V VM、VMware VM 或物理主机上运行服务器。If you do not want to run the base server in Azure, you can run the server on a Hyper-V VM, a VMware VM, or a physical host. 建议服务器硬件至少必须符合以下要求:双核和 8 GB RAM。The recommended minimum requirements for the server hardware are two cores and 8-GB RAM. 下表列出了支持的操作系统:The supported operating systems are listed in the following table:

操作系统Operating System 平台Platform SKUSKU
Windows Server 2019Windows Server 2019 64 位64 bit Standard、Datacenter、EssentialsStandard, Datacenter, Essentials
Windows Server 2016 和最新的 SPWindows Server 2016 and latest SPs 64 位64 bit Standard、Datacenter、EssentialsStandard, Datacenter, Essentials

可以使用 Windows Server 重复数据删除来删除 DPM 存储中的重复数据。You can deduplicate the DPM storage using Windows Server Deduplication. 了解有关在 Hyper-V VM 中部署时 DPM 和重复数据删除如何配合工作的详细信息。Learn more about how DPM and deduplication work together when deployed in Hyper-V VMs.

备注

Azure 备份服务器设计为在专用的单一用途服务器上运行。Azure Backup Server is designed to run on a dedicated, single-purpose server. 不能在以下计算机上安装 Azure 备份服务器:You cannot install Azure Backup Server on:

  • 作为域控制器运行的计算机A computer running as a domain controller
  • 安装了应用程序服务器角色的计算机A computer on which the Application Server role is installed
  • 作为 System Center Operations Manager 管理服务器的计算机A computer that is a System Center Operations Manager management server
  • 运行 Exchange Server 的计算机A computer on which Exchange Server is running
  • 作为群集节点的计算机A computer that is a node of a cluster

Windows Server Core 或 Microsoft Hyper-V Server 不支持安装 Azure 备份服务器。Installing Azure Backup Server is not supported on Windows Server Core or Microsoft Hyper-V Server.

请始终将 Azure 备份服务器加入域。Always join Azure Backup Server to a domain. 如果计划将服务器移到其他域,请先安装 Azure 备份服务器,然后将服务器加入到新域。If you plan to move the server to a different domain, install Azure Backup Server first, then join the server to the new domain. 部署之后,不支持将现有 Azure 备份服务器计算机移到新域中。Moving an existing Azure Backup Server machine to a new domain after deployment is not supported.

无论是将备份数据发送到 Azure 还是在本地保留,都必须将 Azure 备份服务器注册到恢复服务保管库。Whether you send backup data to Azure, or keep it locally, Azure Backup Server must be registered with a Recovery Services vault.

创建恢复服务保管库Create a Recovery Services vault

恢复服务保管库是用于存储在不同时间创建的备份和恢复点的实体。A Recovery Services vault is an entity that stores the backups and recovery points created over time. 恢复服务保管库还包含与受保护虚拟机关联的备份策略。The Recovery Services vault also contains the backup policies that are associated with the protected virtual machines.

若要创建恢复服务保管库,请执行以下操作:To create a Recovery Services vault:

  1. Azure 门户中登录到自己的订阅。Sign in to your subscription in the Azure portal.

  2. 在左侧菜单中,选择“所有服务”。On the left menu, select All services.

    选择“所有服务”

  3. 在“所有服务”对话框中,输入“恢复服务”。In the All services dialog box, enter Recovery Services. 资源列表根据输入进行筛选。The list of resources filters according to your input. 在资源列表中,选择“恢复服务保管库”。In the list of resources, select Recovery Services vaults.

    输入并选择“恢复服务保管库”

    此时会显示订阅中的恢复服务保管库列表。The list of Recovery Services vaults in the subscription appears.

  4. 在“恢复服务保管库”仪表板上,选择“添加”。On the Recovery Services vaults dashboard, select Add.

    添加恢复服务保管库

    此时会打开“恢复服务保管库”对话框。The Recovery Services vault dialog box opens. 提供“名称”、“订阅”、“资源组”和“位置”的值。Provide values for the Name, Subscription, Resource group, and Location.

    配置恢复服务保管库

    • 名称:输入一个友好名称以标识此保管库。Name: Enter a friendly name to identify the vault. 名称对于 Azure 订阅必须是唯一的。The name must be unique to the Azure subscription. 指定的名称应至少包含 2 个字符,最多不超过 50 个字符。Specify a name that has at least two, but not more than 50 characters. 名称必须以字母开头且只能包含字母、数字和连字符。The name must start with a letter and consist only of letters, numbers, and hyphens.

    • 订阅:选择要使用的订阅。Subscription: Choose the subscription to use. 如果你仅是一个订阅的成员,则会看到该名称。If you're a member of only one subscription, you'll see that name. 如果不确定要使用哪个订阅,请使用默认的(建议的)订阅。If you're not sure which subscription to use, use the default (suggested) subscription. 仅当工作或学校帐户与多个 Azure 订阅关联时,才会显示多个选项。There are multiple choices only if your work or school account is associated with more than one Azure subscription.

    • 资源组:使用现有资源组或创建新组。Resource group: Use an existing resource group or create a new one. 要查看订阅中可用的资源组列表,请选择“使用现有资源”,然后从下拉列表框中选择一个资源。To see the list of available resource groups in your subscription, select Use existing, and then select a resource from the drop-down list box. 若要创建新资源组,请选择“新建”,然后输入名称。To create a new resource group, select Create new and enter the name. 有关资源组的完整信息,请参阅 Azure 资源管理器概述For complete information about resource groups, see Azure Resource Manager overview.

    • 位置:选择保管库的地理区域。Location: Select the geographic region for the vault. 要创建保管库以保护虚拟机,保管库必须与虚拟机位于同一区域中。To create a vault to protect virtual machines, the vault must be in the same region as the virtual machines.

      重要

      如果不确定 VM 的位置,请关闭对话框。If you're not sure of the location of your VM, close the dialog box. 转到门户中的虚拟机列表。Go to the list of virtual machines in the portal. 如果虚拟机位于多个区域,请在每个区域中创建一个恢复服务保管库。If you have virtual machines in several regions, create a Recovery Services vault in each region. 先在第一个位置创建保管库,然后再为其他位置创建保管库。Create the vault in the first location, before you create the vault for another location. 无需指定存储帐户即可存储备份数据。There's no need to specify storage accounts to store the backup data. 恢复服务保管库和 Azure 备份服务会自动处理这种情况。The Recovery Services vault and the Azure Backup service handle that automatically.

  5. 准备好创建恢复服务保管库后,选择“创建”。When you're ready to create the Recovery Services vault, select Create.

    创建恢复服务保管库

    创建恢复服务保管库可能需要一段时间。It can take a while to create the Recovery Services vault. 可在门户右上角“通知”区域监视状态通知。Monitor the status notifications in the Notifications area at the upper-right corner of the portal. 创建保管库后,它会显示在“恢复服务保管库”的列表中。After your vault is created, it's visible in the list of Recovery Services vaults. 如果未看到创建的保管库,请选择“刷新”。If you don't see your vault, select Refresh.

    刷新备份保管库列表

设置存储复制Set Storage Replication

存储复制选项可让你在异地冗余存储与本地冗余存储之间进行选择。The storage replication option allows you to choose between geo-redundant storage and locally redundant storage. 默认情况下,恢复服务保管库使用异地冗余存储。By default, Recovery Services vaults use geo-redundant storage. 如果此保管库是主保管库,请保留异地冗余存储这一存储选项。If this vault is your primary vault, leave the storage option set to geo-redundant storage. 如果想要一个更便宜、但持久性不太高的选项,请选择本地冗余存储。Choose locally redundant storage if you want a cheaper option that isn't quite as durable. 请参阅 Azure 存储复制概述部分,深入了解异地冗余本地冗余存储选项。Read more about geo-redundant and locally redundant storage options in the Azure Storage replication overview.

若要编辑存储复制设置,请执行以下操作:To edit the storage replication setting:

  1. 从“恢复服务保管库”边栏选项卡中,单击新保管库 。From the Recovery Services vaults blade, click the new vault. 在“设置”部分下,单击“属性” 。Under the Settings section, click Properties.

  2. 在“属性” 中的“备份配置” 下,单击“更新” 。In Properties, under Backup Configuration, click Update.

  3. 选择存储复制类型,然后单击“保存” 。Select the storage replication type, and click Save.

    设置新保管库的存储配置

软件包Software package

下载软件包Downloading the software package

  1. 登录到 Azure 门户Sign in to the Azure portal.

  2. 如果已打开恢复服务保管库,请转到步骤 3。If you already have a Recovery Services vault open, proceed to step 3. 如果未打开恢复服务保管库,而是位于 Azure 门户中,请在主菜单中单击“浏览” 。If you do not have a Recovery Services vault open, but are in the Azure portal, on the main menu, click Browse.

    • 在资源列表中,键入“恢复服务” 。In the list of resources, type Recovery Services.

    • 开始键入时,会根据输入内容筛选该列表。As you begin typing, the list will filter based on your input. 出现“恢复服务保管库”时,请单击它 。When you see Recovery Services vaults, click it.

      创建恢复服务保管库步骤 1

      此时会显示恢复服务保管库列表。The list of Recovery Services vaults appears.

    • 在恢复服务保管库列表中选择一个保管库。From the list of Recovery Services vaults, select a vault.

      此时会打开选定的保管库仪表板。The selected vault dashboard opens.

      打开保管库边栏选项卡

  3. 默认情况下会打开“设置” 边栏选项卡。The Settings blade opens up by default. 如果“设置”边栏选项卡已关闭,请单击“设置” 将它打开。If it is closed, click on Settings to open the settings blade.

    打开保管库边栏选项卡

  4. 单击“备份” 打开“开始使用”向导。Click Backup to open the Getting Started wizard.

    备份入门

    在打开的“开始备份” 边栏选项卡中,会自动选择“备份目标” 。In the Getting Started with backup blade that opens, Backup Goals will be auto-selected.

    Backup-goals-default-opened

  5. 在“备份目标” 边栏选项卡中,从“工作负荷的运行位置” 菜单中选择“本地” 。In the Backup Goal blade, from the Where is your workload running menu, select On-premises.

    用作目标的“本地”和“工作负荷”

    从“希望备份什么内容?” 下拉菜单上,选择想要使用 Azure 备份服务器保护的工作负荷,并单击“确定” 。From the What do you want to backup? drop-down menu, select the workloads you want to protect using Azure Backup Server, and then click OK.

    “开始备份” 向导可切换“准备基础结构” 选项以将工作负荷备份到 Azure。The Getting Started with backup wizard switches the Prepare infrastructure option to back up workloads to Azure.

    备注

    如果只想备份文件和文件夹,建议使用 Azure 备份代理,并遵循初步了解:备份文件和文件夹一文中的指南。If you only want to back up files and folders, we recommend using the Azure Backup agent and following the guidance in the article, First look: back up files and folders. 如果要保护的不止是文件和文件夹,或者计划在将来扩大保护需求,请选择这些工作负荷。If you are going to protect more than files and folders, or you are planning to expand the protection needs in the future, select those workloads.

    快速启动向导更改

  6. 在打开的“准备基础结构”边栏选项卡中,单击用于安装 Azure 备份服务器和下载保管库凭据的“下载”链接 。In the Prepare infrastructure blade that opens, click the Download links for Install Azure Backup Server and Download vault credentials. 在将 Azure 备份服务器注册到恢复服务保管库期间,请使用保管库凭据。You use the vault credentials during registration of Azure Backup Server to the recovery services vault. 使用此链接转到“下载中心”,可从中下载软件包。The links take you to the Download Center where the software package can be downloaded.

    为 Azure 备份服务器准备基础结构

  7. 选择所有文件,然后单击“下一步”。 Select all the files and click Next. 下载 Azure 备份下载页中的所有文件,并将所有文件放在同一个文件夹中。Download all the files coming in from the Azure Backup download page, and place all the files in the same folder.

    下载中心 1

    由于所有文件的下载大小合计超过了 3G,在 10-Mbps 下载链接上可能最多需要 60 分钟才能完成下载。Since the download size of all the files together is > 3G, on a 10-Mbps download link it may take up to 60 minutes for the download to complete.

解压缩软件包Extracting the software package

下载所有文件之后,单击 MicrosoftAzureBackupInstaller.exeAfter you've downloaded all the files, click MicrosoftAzureBackupInstaller.exe. 这将启动“Azure 备份安装向导”,并将安装程序文件解压缩到指定的位置。 This will start the Azure Backup Setup Wizard to extract the setup files to a location specified by you. 继续运行向导,然后单击“解压缩” 按钮开始解压缩过程。Continue through the wizard and click on the Extract button to begin the extraction process.

警告

至少需要有 4GB 的可用空间才能解压缩安装程序文件。At least 4GB of free space is required to extract the setup files.

Azure 备份安装向导

解压缩过程完成后,请选中相应的框,以启动刚刚解压缩的 setup.exe 来开始安装 Azure 备份服务器,然后单击“完成”按钮。 Once the extraction process complete, check the box to launch the freshly extracted setup.exe to begin installing Azure Backup Server and click on the Finish button.

安装软件包Installing the software package

  1. 单击“Azure 备份”启动安装向导。 Click Azure Backup to launch the setup wizard.

    Azure 备份安装向导

  2. 在“欢迎”屏幕上单击“下一步”按钮。On the Welcome screen click the Next button. 随即会转到“先决条件检查”部分。 This takes you to the Prerequisite Checks section. 在此屏幕上单击“检查” ,以确定是否符合 Azure 备份服务器的硬件和软件先决条件。On this screen, click Check to determine if the hardware and software prerequisites for Azure Backup Server have been met. 如果完全符合所有先决条件,将看到一条指明计算机符合要求的消息。If all prerequisites are met successfully, you will see a message indicating that the machine meets the requirements. 单击“下一步”按钮。Click on the Next button.

    Azure 备份服务器 - 欢迎页和先决条件检查

  3. Azure 备份服务器需要 SQL Server Enterprise。Azure Backup Server requires SQL Server Enterprise. 此外,如果你不想使用自己的 SQL,Azure 备份服务器安装包还会根据需要随附相应的 SQL Server 二进制文件。Further, the Azure Backup Server installation package comes bundled with the appropriate SQL Server binaries needed if you do not wish to use your own SQL. 在开始全新安装 Azure 备份服务器时,应该选择“使用此安装程序安装新的 SQL Server 实例” ,然后单击“检查并安装” 按钮。When starting with a new Azure Backup Server installation, you should pick the option Install new Instance of SQL Server with this Setup and click the Check and Install button. 成功安装必备组件后,单击“下一步”。Once the prerequisites are successfully installed, click Next.

    Azure 备份服务器 - SQL 检查

    如果发生故障并且系统建议重启计算机,请按说明操作,然后单击“再次检查” 。If a failure occurs with a recommendation to restart the machine, do so and click Check Again. 如果遇到任何 SQL 配置问题,请根据 SQL 指导原则重新配置 SQL,然后使用现有的 SQL 实例重试安装/升级 MABS。In case of any SQL configuration issues, reconfigure SQL as per the SQL guidelines and retry to install/upgrade MABS using the existing instance of SQL.

    手动配置Manual configuration

    使用自己的 SQL 实例时,请务必将 builtin\Administrators 添加到 master 数据库的 sysadmin 角色。When you use your own instance of SQL, make sure you add builtin\Administrators to sysadmin role to master DB.

    使用 SQL 2017 时的 SSRS 配置SSRS Configuration with SQL 2017

    使用自己的 SQL 2017 实例时,需要手动配置 SSRS。When you are using own instance of SQL 2017, you need to manually configure SSRS. 配置 SSRS 后,请确保 SSRS 的 IsInitialized 属性设置为 TrueAfter SSRS configuration, ensure that IsInitialized property of SSRS is set to True. 如果此属性设置为 True,MABS 将假设已配置 SSRS,因此会跳过 SSRS 配置。When this is set to True, MABS assumes that SSRS is already configured and will skip the SSRS configuration.

    对 SSRS 配置使用以下值:Use the following values for SSRS configuration:

    • 服务帐户:“使用内置帐户”应为“网络服务”Service Account: ‘Use built-in account’ should be Network Service
    • Web 服务 URL:“虚拟目录”应为“ReportServer_<SQLInstanceName>”Web Service URL: ‘Virtual Directory’ should be ReportServer_<SQLInstanceName>
    • 数据库:DatabaseName 应为 ReportServer$<SQLInstanceName>Database: DatabaseName should be ReportServer$<SQLInstanceName>
    • Web 门户 URL:“虚拟目录”应为“Reports_<SQLInstanceName>”Web Portal URL: ‘Virtual Directory’ should be Reports_<SQLInstanceName>

    详细了解 SSRS 配置。Learn more about SSRS configuration.

    备注

    用作 MABS 数据库的 SQL Server 的许可受 Microsoft Online Services 条款 (OST) 的约束。Licensing for SQL Server used as the database for MABS is governed by Microsoft Online Services Terms (OST). 根据 OST,与 MABS 捆绑的 SQL Server 只能用作 MABS 数据库。According to OST, SQL Server bundled with MABS can be used only as the database for MABS.

  4. 提供 Microsoft Azure 备份服务器文件的安装位置,并单击“下一步”。Provide a location for the installation of Microsoft Azure Backup server files and click Next.

    Microsoft Azure 备份先决条件 2

    备份到 Azure 需要有暂存位置。The scratch location is a requirement for back up to Azure. 请确保暂存位置的空间至少为要备份到云的数据的 5%。Ensure the scratch location is at least 5% of the data planned to be backed up to the cloud. 在磁盘保护方面,安装完成之后需要配置独立的磁盘。For disk protection, separate disks need to be configured once the installation completes. 有关存储池的详细信息,请参阅配置存储池和磁盘存储For more information regarding storage pools, see Configure storage pools and disk storage.

  5. 为受限的本地用户帐户提供强密码,然后单击“下一步” 。Provide a strong password for restricted local user accounts and click Next.

    Microsoft Azure 备份先决条件 2

  6. 选择是否要使用 Microsoft 更新来检查更新,然后单击“下一步” 。Select whether you want to use Microsoft Update to check for updates and click Next.

    备注

    我们建议让 Windows 更新重定向到 Microsoft 更新,此网站为 Windows 和 Microsoft Azure 备份服务器等其他产品提供了安全更新与重要更新。We recommend having Windows Update redirect to Microsoft Update, which offers security and important updates for Windows and other products like Microsoft Azure Backup Server.

    Microsoft Azure 备份先决条件 2

  7. 复查“设置摘要” ,然后单击“安装” 。Review the Summary of Settings and click Install.

    Microsoft Azure 备份先决条件 2

  8. 安装会分阶段进行。The installation happens in phases. 第一个阶段,会在服务器上安装 Microsoft Azure 恢复服务代理。In the first phase, the Microsoft Azure Recovery Services Agent is installed on the server. 向导还会检查 Internet 连接。The wizard also checks for Internet connectivity. 如果可以连接到 Internet,则可以继续安装,否则需要提供代理详细信息以连接到 Internet。If Internet connectivity is available you can proceed with installation, if not, you need to provide proxy details to connect to the Internet.

    下一个步骤是配置 Microsoft Azure 恢复服务代理。The next step is to configure the Microsoft Azure Recovery Services Agent. 在配置过程中,必须提供保管库凭据,以向恢复服务保管库注册计算机。As a part of the configuration, you will have to provide your vault credentials to register the machine to the recovery services vault. 还需要提供通行短语来加密/解密 Azure 与本地之间发送的数据。You will also provide a passphrase to encrypt/decrypt the data sent between Azure and your premises. 可以自动生成通行短语,或提供自己的通行短语(最少包含 16 个字符)。You can automatically generate a passphrase or provide your own minimum 16-character passphrase. 请继续运行向导,直到代理已完成配置。Continue with the wizard until the agent has been configured.

    Azure 备份服务器先决条件 2

  9. Microsoft Azure 备份服务器注册成功完成后,整个安装向导将继续安装和配置 SQL Server 及 Azure 备份服务器的组件。Once registration of the Microsoft Azure Backup server successfully completes, the overall setup wizard proceeds to the installation and configuration of SQL Server and the Azure Backup Server components. SQL Server 组件安装完成后,会安装 Azure 备份服务器组件。Once the SQL Server component installation completes, the Azure Backup Server components are installed.

    Azure 备份服务器

安装步骤完成后,会一同创建产品的桌面图标。When the installation step has completed, the product's desktop icons will have been created as well. 双击该图标即可启动该产品。Just double-click the icon to launch the product.

添加备份存储Add backup storage

第一个备份副本保存在已附加到 Azure 备份服务器计算机的存储中。The first backup copy is kept on storage attached to the Azure Backup Server machine. 有关添加磁盘的详细信息,请参阅配置存储池和磁盘存储For more information about adding disks, see Configure storage pools and disk storage.

备注

即使你打算将数据发送到 Azure,也需要添加备份存储。You need to add backup storage even if you plan to send data to Azure. 在当前的 Azure 备份服务器体系结构中,Azure 备份保管库将保存数据的第二个副本,而本地存储将保存第一个(必需的)备份副本。In the current architecture of Azure Backup Server, the Azure Backup vault holds the second copy of the data while the local storage holds the first (and mandatory) backup copy.

安装和更新 Data Protection Manager 保护代理Install and update the Data Protection Manager protection agent

MABS 使用 System Center Data Protection Manager 保护代理。MABS uses the System Center Data Protection Manager protection agent. 此处介绍了在保护服务器上安装保护代理的步骤。Here are the steps to install the Protection Agent on your Protection Servers.

以下部分介绍如何更新客户端计算机的保护代理。The following sections describe how to update protection agents for client computers.

  1. 在备份服务器管理员控制台中,选择“管理” > “代理” 。In the Backup Server Administrator Console, select Management > Agents.

  2. 在显示窗格中,选择要为其更新保护代理的客户端计算机。In the display pane, select the client computers for which you want to update the protection agent.

    备注

    “代理更新” 列指示每个受保护计算机何时有保护代理更新可用。The Agent Updates column indicates when a protection agent update is available for each protected computer. 在“操作” 窗格中,仅当选择了受保护计算机并且有可用更新时,“更新” 操作才可用。In the Actions pane, the Update action is available only when a protected computer is selected and updates are available.

  3. 若要在所选计算机上安装更新的保护代理,请在“操作” 窗格中选择“更新” 。To install updated protection agents on the selected computers, in the Actions pane, select Update.

  4. 对于未连接到网络的客户端计算机,在计算机连接到网络之前,“代理状态” 列会显示“待更新” 状态。For a client computer that is not connected to the network, until the computer is connected to the network, the Agent Status column shows a status of Update Pending.

    在客户端计算机连接到网络之后,客户端计算机的“代理更新” 列会显示“正在更新” 状态。After a client computer is connected to the network, the Agent Updates column for the client computer shows a status of Updating.

将 MABS 移到新服务器Move MABS to a new server

如果需要将 MABS 移到新服务器,同时保留存储,请执行以下步骤。Here are the steps if you need to move MABS to a new server, while retaining the storage. 仅当所有数据都在新式备份存储中时,才能执行此操作。This can be done only if all the data is on Modern Backup Storage.

重要

  • 新服务器的名称必须与原始 Azure 备份服务器实例的名称相同。The new server name must be the same name as the original Azure Backup Server instance. 若要使用以前的存储池和 MABS 数据库(DPMDB)保留恢复点,则不能更改新 Azure 备份服务器实例的名称。You can't change the name of the new Azure Backup Server instance if you want to use the previous storage pool and MABS Database (DPMDB) to retain recovery points.
  • 必须有 MABS 数据库 (DPMDB) 的备份。You must have a backup of the MABS Database (DPMDB). 稍后需要还原数据库。You'll need to restore the database.
  1. 在显示窗格中,选择要为其更新保护代理的客户端计算机。In the display pane, select the client computers for which you want to update the protection agent.

  2. 关闭原始 Azure 备份服务器或将其从线路断开。Shut down the original Azure backup server or take it off the wire.

  3. 重置 Active Directory 中的计算机帐户。Reset the machine account in active directory.

  4. 在新计算机上安装 Server 2016 并将其命名为与原始 Azure 备份服务器相同的计算机名称。Install Server 2016 on new machine and name it the same machine name as the original Azure Backup server.

  5. 加入域Join the Domain

  6. 安装 Azure 备份服务器 V3 或更高版本(从旧服务器移出 MABS 存储池磁盘并导入)Install Azure Backup server V3 or later (move MABS Storage pool disks from old server and import)

  7. 还原步骤 1 中创建的 DPMDB。Restore the DPMDB taken in step 1.

  8. 将存储从原始备份服务器连接到新服务器。Attach the storage from the original backup server to the new server.

  9. 从 SQL 还原 DPMDBFrom SQL Restore the DPMDB

  10. 从新服务器 cd 的管理员命令行到 Microsoft Azure 备份安装位置和 bin 文件夹From admin command line on new server cd to Microsoft Azure Backup install location and bin folder

    路径示例:C:\windows\system32>cd "c:\Program Files\Microsoft Azure Backup\DPM\DPM\bin"Path example: C:\windows\system32>cd "c:\Program Files\Microsoft Azure Backup\DPM\DPM\bin"

  11. 若要进行 Azure 备份,请运行 DPMSYNC -SYNCTo Azure backup, Run DPMSYNC -SYNC

    如果已将新磁盘添加到 DPM 存储池(而不是移动旧磁盘),请运行 DPMSYNC -ReallocatereplicaIf you have added NEW disks to the DPM Storage pool instead of moving the old ones, then run DPMSYNC -Reallocatereplica

网络连接Network connectivity

Azure 备份服务器需要连接到 Azure 备份服务才能成功运行。Azure Backup Server requires connectivity to the Azure Backup service for the product to work successfully. 若要验证计算机是否已连接到 Azure,请在 Azure 备份服务器 PowerShell 控制台中使用 Get-DPMCloudConnection cmdlet。To validate whether the machine has the connectivity to Azure, use the Get-DPMCloudConnection cmdlet in the Azure Backup Server PowerShell console. 如果该 cmdlet 的输出为 TRUE,则表示已建立连接,否则表示未建立连接。If the output of the cmdlet is TRUE, then connectivity exists, else there is no connectivity.

同时,Azure 订阅必须处于正常运行状态。At the same time, the Azure subscription needs to be in a healthy state. 若要了解订阅的状态并对其进行管理,请登录到 订阅门户To find out the state of your subscription and to manage it, log in to the subscription portal.

了解 Azure 连接和 Azure 订阅的状态后,可以使用下表来确定提供的备份/还原功能受到了哪些影响。Once you know the state of the Azure connectivity and of the Azure subscription, you can use the table below to find out the impact on the backup/restore functionality offered.

连接状态Connectivity State Azure 订阅Azure Subscription 备份到 AzureBack up to Azure 备份到磁盘Back up to disk 从 Azure 还原Restore from Azure 从磁盘还原Restore from disk
已连接Connected 活动Active 允许Allowed 允许Allowed 允许Allowed 允许Allowed
已连接Connected 已过期Expired 已停止Stopped 已停止Stopped 允许Allowed 允许Allowed
已连接Connected 已取消预配Deprovisioned 已停止Stopped 已停止Stopped 已停止且已删除 Azure 恢复点Stopped and Azure recovery points deleted 已停止Stopped
连接断开超过 15 天Lost connectivity > 15 days 活动Active 已停止Stopped 已停止Stopped 允许Allowed 允许Allowed
连接断开超过 15 天Lost connectivity > 15 days ExpiredExpired 已停止Stopped 已停止Stopped 允许Allowed 允许Allowed
连接断开超过 15 天Lost connectivity > 15 days 已取消预配Deprovisioned 已停止Stopped 已停止Stopped 已停止且已删除 Azure 恢复点Stopped and Azure recovery points deleted 已停止Stopped

连接断开后进行恢复Recovering from loss of connectivity

如果防火墙或代理导致无法访问 Azure,则需要在防火墙/代理配置文件中允许以下域地址:If you have a firewall or a proxy that is preventing access to Azure, you need to allow the following domain addresses in the firewall/proxy profile:

  • http://www.msftncsi.com/ncsi.txt
  • *.Microsoft.com*.Microsoft.com
  • *.WindowsAzure.cn*.WindowsAzure.cn
  • *.partner.microsoftonline.cn*.partner.microsoftonline.cn
  • *.chinacloudapi.cn*.chinacloudapi.cn

在 Azure 备份服务器计算机上还原与 Azure 的连接之后,可执行的操作取决于 Azure 订阅状态。Once connectivity to Azure has been restored to the Azure Backup Server machine, the operations that can be performed are determined by the Azure subscription state. 上表详细列出了有关计算机在“连接”之后允许的操作的信息。The table above has details about the operations allowed once the machine is "Connected".

处理订阅状态Handling subscription states

可以将 Azure 订阅从“已过期” 或“已取消预配” 状态更改为“活动” 状态。It is possible to take an Azure subscription from an Expired or Deprovisioned state to the Active state. 但是,当状态不是“活动”时,此操作对产品的行为会造成某些影响:However this has some implications on the product behavior while the state is not Active:

  • “已取消预配” 的订阅在取消预配的这段期间将失去功能。A Deprovisioned subscription loses functionality for the period that it is deprovisioned. 切换为“活动”后,将恢复产品的备份/还原功能。On turning Active, the product functionality of backup/restore is revived. 此外,只要以够长的保留期来保存本地磁盘上的备份数据,则还可以检索这些数据。The backup data on the local disk also can be retrieved if it was kept with a sufficiently large retention period. 但是,一旦订阅进入“已取消预配”状态,Azure 中的备份数据便会丢失且不可检索。However, the backup data in Azure is irretrievably lost once the subscription enters the Deprovisioned state.
  • 已过期”的订阅只会在恢复“活动”状态之前失去功能。An Expired subscription only loses functionality for until it has been made Active again. 在订阅处于“已过期”期间计划的任何备份都不会运行。Any backups scheduled for the period that the subscription was Expired will not run.

升级 MABSUpgrade MABS

使用以下过程升级 MABS。Use the following procedures to upgrade MABS.

从 MABS V2 升级到 V3Upgrade from MABS V2 to V3

备注

MABS V2 不是安装 MABS V3 的先决条件。MABS V2 is not a prerequisite for installing MABS V3. 但是,只能从 MABS V2 升级到 MABS V3。However, you can upgrade to MABS V3 only from MABS V2.

使用以下步骤升级 MABS:Use the following steps to upgrade MABS:

  1. 若要从 MABS V2 升级到 MABS V3,请根据需要将 OS 升级到 Windows Server 2016 或 Windows Server 2019。To upgrade from MABS V2 to MABS V3, upgrade your OS to Windows Server 2016 or Windows Server 2019 if needed.

  2. 升级服务器。Upgrade your server. 这些步骤类似于安装The steps are similar to installation. 但是,在进行 SQL 设置时,可以通过一个选项将 SQL 实例升级到 SQL 2017,或使用自己的 SQL Server 2017 实例。However, for SQL settings, you will get an option to upgrade your SQL instance to SQL 2017, or to use your own instance of SQL server 2017.

    备注

    升级 SQL 实例期间请不要退出,否则会卸载 SQL 报告实例,导致重新升级 MABS 的尝试失败。Do not exit while your SQL instance is being upgraded, exiting will uninstall the SQL reporting instance and hence an attempt to re-upgrade MABS will fail.

    重要

    在升级到 SQL 2017 的过程中,我们会备份 SQL 加密密钥并卸载报告服务。As part of SQL 2017 upgrade, we backup the SQL encryption keys and uninstall the reporting services. 升级 SQL Server 后,将安装报告服务 (14.0.6827.4788) 并还原加密密钥。After SQL server upgrade, reporting service(14.0.6827.4788) is installed & encryption keys are restored.

    手动配置 SQL 2017 时,请参阅“安装说明”下的“使用 SQL 2017 时的 SSRS 配置”部分。 When configuring SQL 2017 manually, refer to SSRS configuration with SQL 2017 section under Install instructions.

  3. 在受保护的服务器上更新保护代理。Update the protection agents on the protected servers.

  4. 备份应会继续,而无需重启生产服务器。Backups should continue without the need to restart your production servers.

  5. 现在,可以开始保护数据。You can begin protecting your data now. 如果在保护状态下升级到新式备份存储,则还可以选择备份要存储到的卷,并检查预配不足的空间。If you are upgrading to Modern Backup Storage, while protecting, you can also choose the volumes you wish to store the backups in, and check for under provisioned space. 了解详细信息Learn more.

故障排除Troubleshooting

如果 Microsoft Azure 备份服务器在安装阶段(或者备份或还原时)失败并出现错误,请参阅此错误代码文档以获取详细信息。If Microsoft Azure Backup server fails with errors during the setup phase (or backup or restore), refer to this error codes document for more information. 此外,还可以参考 Azure 备份相关的常见问题You can also refer to Azure Backup related FAQs

后续步骤Next steps

可以在 Azure TechNet 站点上获取有关为 DPM 准备环境的详细信息。You can get detailed information about preparing your environment for DPM on the Azure TechNet site. 其中还包含有关可在其上部署和使用 Azure 备份服务器的受支持配置的信息。It also contains information about supported configurations on which Azure Backup Server can be deployed and used. 可以使用一系列 PowerShell cmdlet 来执行各种操作。You can use a series of PowerShell cmdlet for performing various operations.

请参阅这些文章,深入了解如何使用 Azure 备份服务器来保护工作负荷。You can use these articles to gain a deeper understanding of workload protection using Azure Backup server.