在 Azure Stack 上安装 Azure 备份服务器Install Azure Backup Server on Azure Stack

本文介绍如何在 Azure Stack 上安装 Azure 备份服务器。This article explains how to install Azure Backup Server on Azure Stack. 使用 Azure 备份服务器可以保护 Azure Stack 中运行的基础结构即服务 (IaaS) 工作负荷,例如虚拟机。With Azure Backup Server, you can protect Infrastructure as a Service (IaaS) workloads such as virtual machines running in Azure Stack. 使用 Azure 备份服务器保护工作负荷的优势是可以从单个控制台管理所有工作负荷的保护。A benefit of using Azure Backup Server to protect your workloads is you can manage all workload protection from a single console.

Note

若要了解安全功能,请参阅 Azure 备份安全功能文档To learn about security capabilities, refer to Azure Backup security features documentation.

Azure 备份服务器保护矩阵Azure Backup Server protection matrix

Azure 备份服务器保护以下 Azure Stack 虚拟机工作负荷。Azure Backup Server protects the following Azure Stack virtual machine workloads.

受保护的数据源Protected data source 保护和恢复Protection and recovery
Windows Server 半年频道 - Datacenter/Enterprise/StandardWindows Server Semi Annual Channel - Datacenter/Enterprise/Standard 卷、文件、文件夹Volumes, files, folders
Windows Server 2016 - Datacenter/Enterprise/StandardWindows Server 2016 - Datacenter/Enterprise/Standard 卷、文件、文件夹Volumes, files, folders
Windows Server 2012 R2 - Datacenter/Enterprise/StandardWindows Server 2012 R2 - Datacenter/Enterprise/Standard 卷、文件、文件夹Volumes, files, folders
Windows Server 2012 - Datacenter/Enterprise/StandardWindows Server 2012 - Datacenter/Enterprise/Standard 卷、文件、文件夹Volumes, files, folders
Windows Server 2008 R2 - Datacenter/Enterprise/StandardWindows Server 2008 R2 - Datacenter/Enterprise/Standard 卷、文件、文件夹Volumes, files, folders
SQL Server 2016SQL Server 2016 数据库Database
SQL Server 2014SQL Server 2014 数据库Database
SQL Server 2012 SP1SQL Server 2012 SP1 数据库Database
SharePoint 2016SharePoint 2016 场、数据库、前端、Web 服务器Farm, database, frontend, web server
SharePoint 2013SharePoint 2013 场、数据库、前端、Web 服务器Farm, database, frontend, web server
SharePoint 2010SharePoint 2010 场、数据库、前端、Web 服务器Farm, database, frontend, web server

Azure 备份服务器环境的先决条件Prerequisites for the Azure Backup Server environment

在 Azure Stack 环境中安装 Azure 备份服务器时,请考虑本部分中的建议。Consider the recommendations in this section when installing Azure Backup Server in your Azure Stack environment. Azure 备份服务器安装程序会检查环境中是否安装必备组件,但在安装之前做好准备可以节省时间。The Azure Backup Server installer checks that your environment has the necessary prerequisites, but you'll save time by preparing before you install.

确定虚拟机大小Determining size of virtual machine

若要在 Azure Stack 虚拟机上运行 Azure 备份服务器,请使用 A2 大小或更大大小。To run Azure Backup Server on an Azure Stack virtual machine, use size A2 or larger. 为了帮助选择虚拟机大小,请下载 Azure Stack VM 大小计算器For assistance in choosing a virtual machine size, download the Azure Stack VM size calculator.

Azure Stack 虚拟机上的虚拟网络Virtual Networks on Azure Stack virtual machines

Azure Stack 工作负荷中使用的所有虚拟机都必须属于同一 Azure 虚拟网络和 Azure 订阅。All virtual machines used in an Azure Stack workload must belong to the same Azure virtual network and Azure Subscription.

Azure 备份服务器 VM 性能Azure Backup Server VM performance

如果与其他虚拟机共享,存储帐户大小和 IOPS 限制会影响 Azure 备份服务器 VM 的性能。If shared with other virtual machines, the storage account size and IOPS limits impact Azure Backup Server VM performance. 出于这个原因,应该对 Azure 备份服务器虚拟机使用单独的存储帐户。For this reason, you should use a separate storage account for the Azure Backup Server virtual machine. 在 Azure 备份服务器上运行的 Azure 备份代理需要临时存储,以便:The Azure Backup agent running on the Azure Backup Server needs temporary storage for:

  • 供自己使用(一个缓存位置),its own use (a cache location),
  • 存储从云中还原的数据(本地临时区域)data restored from the cloud (local staging area)

配置 Azure 备份临时磁盘存储Configuring Azure Backup temporary disk storage

每个 Azure Stack 虚拟机都附带临时磁盘存储,该磁盘存储可作为卷 D:\ 供用户使用。Each Azure Stack virtual machine comes with temporary disk storage, which is available to the user as volume D:\. 可将 Azure 备份所需的本地临时区域配置为位于 D:\ 中,并且可将缓存位置置于 C:\ 上。The local staging area needed by Azure Backup can be configured to reside in D:\, and the cache location can be placed on C:\. 这样,就不需要从附加到 Azure 备份服务器虚拟机的数据磁盘划分出任何存储。In this way, no storage needs to be carved away from the data disks attached to the Azure Backup Server virtual machine.

将备份数据存储在本地磁盘和 Azure 中Storing backup data on local disk and in Azure

Azure备份服务器将备份数据存储在附加到虚拟机的 Azure 磁盘上,以便进行操作恢复。Azure Backup Server stores backup data on Azure disks attached to the virtual machine, for operational recovery. 将磁盘和存储空间附加到虚拟机后,Azure 备份服务器将为你管理存储。Once the disks and storage space are attached to the virtual machine, Azure Backup Server manages storage for you. 备份数据存储量取决于附加到每个 Azure Stack 虚拟机的磁盘的数量和大小。The amount of backup data storage depends on the number and size of disks attached to each Azure Stack virtual machine. Azure Stack VM 的每个大小都有可以附加到虚拟机的最大磁盘数。Each size of Azure Stack VM has a maximum number of disks that can be attached to the virtual machine. 例如,A2 是四个磁盘。For example, A2 is four disks. A3 是八个磁盘。A3 is eight disks. A4 是 16 个磁盘。A4 is 16 disks. 同样,磁盘的大小和数量决定了整个备份存储池。Again, the size and number of disks determines the total backup storage pool.

Important

应在 Azure 备份服务器附加的磁盘上保留操作恢复(备份)数据超过 5 天。You should not retain operational recovery (backup) data on Azure Backup Server-attached disks for more than five days.

在 Azure 中存储备份数据会缩减 Azure Stack 上的备份基础结构。Storing backup data in Azure reduces backup infrastructure on Azure Stack. 如果数据的存在已超过五天,应将其存储在 Azure 中。If data is more than five days old, it should be stored in Azure.

若要将备份数据存储在 Azure 中,请创建或使用恢复服务保管库。To store backup data in Azure, create or use a Recovery Services vault. 准备备份 Azure 备份服务器工作负荷时,请配置恢复服务保管库When preparing to back up the Azure Backup Server workload, you configure the Recovery Services vault. 配置后,每次运行备份作业时,都会在保管库中创建恢复点。Once configured, each time a backup job runs, a recovery point is created in the vault. 每个恢复服务保管库最多可容纳 9999 个恢复点。Each Recovery Services vault holds up to 9999 recovery points. 根据所创建的恢复点数量以及保留期限,可以将备份数据保留多年。Depending on the number of recovery points created, and how long they are retained, you can retain backup data for many years. 例如,可以每月创建恢复点,并将其保留五年。For example, you could create monthly recovery points, and retain them for five years.

扩展部署Scaling deployment

如果想要扩展部署,可以使用以下选项:If you want to scale your deployment, you have the following options:

  • 纵向扩展 - 将 Azure 备份服务器虚拟机的大小从 A 系列增加到 D 系列,并根据 Azure Stack 虚拟机说明增加本地存储。Scale up - Increase the size of the Azure Backup Server virtual machine from A series to D series, and increase the local storage per the Azure Stack virtual machine instructions.
  • 卸载数据 - 将旧数据发送到 Azure,并仅保留附加到 Azure 备份服务器的存储上的最新数据。Offload data - send older data to Azure and retain only the newest data on the storage attached to the Azure Backup Server.
  • 横向扩展 - 添加更多 Azure 备份服务器来保护工作负荷。Scale out - Add more Azure Backup Servers to protect the workloads.

.NET framework.NET Framework

必须在虚拟机上安装 .NET Framework 3.5 SP1 或更高版本。.NET Framework 3.5 SP1 or higher must be installed on the virtual machine.

加入域Joining a domain

Azure 备份服务器虚拟机必须加入域。The Azure Backup Server virtual machine must be joined to a domain. 拥有管理员特权的域用户必须在虚拟机上安装 Azure 备份服务器。A domain user with administrator privileges must install Azure Backup Server on the virtual machine.

在 Azure Stack 中使用 IaaS VMUsing an IaaS VM in Azure Stack

为 Azure 备份服务器选择服务器时,请从 Windows Server 2012 R2 Datacenter 或 Windows Server 2016 Datacenter 库映像着手。When choosing a server for Azure Backup Server, start with a Windows Server 2012 R2 Datacenter or Windows Server 2016 Datacenter gallery image. 在 Azure 门户中创建第一个 Windows 虚拟机一文提供了使用建议的虚拟机的入门教程。The article, Create your first Windows virtual machine in the Azure portal, provides a tutorial for getting started with the recommended virtual machine. 建议服务器虚拟机 (VM) 最低要求应为:包含 2 核、3.5 GB RAM 的 A2 标准。The recommended minimum requirements for the server virtual machine (VM) should be: A2 Standard with two cores and 3.5-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.

Note

Azure 备份服务器设计为在专用的单一用途虚拟机上运行。Azure Backup Server is designed to run on a dedicated, single-purpose virtual machine. 不能在以下计算机上安装 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
  • 运行 Exchange Server 的计算机A computer on which Exchange Server is running
  • 作为群集节点的计算机A computer that is a node of a cluster

请始终将 Azure 备份服务器加入域。Always join Azure Backup Server to a domain. 如果需要将 Azure 备份服务器移到其他域,请先安装 Azure 备份服务器,然后将其加入新域。If you need to move Azure Backup Server to a different domain, first install Azure Backup Server, then join it to the new domain. 部署 Azure 备份服务器后,无法将其移到新域。Once you deploy Azure Backup Server, you can't move it to a new domain.

创建恢复服务保管库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.

      Important

      如果不确定 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 Recovery Services vault 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 is less 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. 选择保管库以打开保管库仪表板和“设置”菜单。Select your vault to open the vault dashboard and the Settings menu. 如果“设置”菜单未打开,请在保管库仪表板中单击“所有设置”。If the Settings menu doesn't open, click All settings in the vault dashboard.

  2. 在“设置”菜单中,单击“备份基础结构” > “备份配置”,打开“备份配置”菜单。On the Settings menu, click Backup Infrastructure > Backup Configuration to open the Backup Configuration menu. 在“备份配置”菜单中,选择保管库的存储复制选项。On the Backup Configuration menu, choose the storage replication option for your vault.

    备份保管库列表

下载 Azure 备份服务器安装程序Download Azure Backup Server installer

可通过两种方式下载 Azure 备份服务器安装程序。There are two ways to download the Azure Backup Server installer. Microsoft 下载中心下载 Azure 备份服务器安装程序。You can download the Azure Backup Server installer from the Microsoft Download Center. 也可以在配置恢复服务保管库时下载 Azure 备份服务器安装程序。You can also download Azure Backup Server installer as you are configuring a Recovery Services vault. 以下步骤引导你在配置恢复服务保管库时从 Azure 门户下载安装程序。The following steps walk you through downloading the installer from the Azure portal while configuring a Recovery Services vault.

  1. 在 Azure 门户中,从 Azure Stack 虚拟机登录到自己的 Azure 订阅From your Azure Stack virtual machine, sign in to your Azure subscription in the Azure portal.

  2. 在左侧菜单中,选择“所有服务”。In the left-hand menu, select All Services.

    在主菜单中选择“所有服务”选项

  3. 在“所有服务”对话框中,键入“恢复服务”。In the All services dialog, type Recovery Services. 开始键入时,会根据输入筛选资源列表。As you begin typing, your input filters the list of resources. 出现“恢复服务保管库”时,请选择它。Once you see it, select Recovery Services vaults.

    在“所有服务”对话框中键入“恢复服务”

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

  4. 在恢复服务保管库列表中,选择保管库以打开其仪表板。From the list of Recovery Services vaults, select your vault to open its dashboard.

    在“所有服务”对话框中键入“恢复服务”

  5. 在保管库的“开始使用”菜单中,单击“备份”打开“开始使用”向导。In the vault's Getting Started menu, click Backup to open the Getting Started wizard.

    备份入门

    此时会打开备份菜单。The backup menu opens.

    Backup-goals-default-opened

  6. 在备份菜单中,从“工作负荷的运行位置”菜单中选择“本地”。In the backup menu, 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. 如果不确定要选择哪个工作负荷,请选择“Hyper-V 虚拟机”,然后单击“准备基础结构”。If you aren't sure which workloads to select, choose Hyper-V Virtual Machines and then click Prepare Infrastructure.

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

    此时会打开“准备基础结构”菜单。The Prepare infrastructure menu opens.

  7. 在“准备基础结构”菜单中,单击“下载”打开用于下载 Azure 备份服务器安装文件的网页。In the Prepare infrastructure menu, click Download to open a web page to download Azure Backup Server installation files.

    快速启动向导更改

    此时会打开存放了 Azure 备份服务器可下载文件的 Microsoft 网页。The Microsoft web page that hosts the downloadable files for Azure Backup Server, opens.

  8. 在 Azure 备份服务器下载页中选择一种语言,然后单击“下载”。In the Azure Backup Server download page, select a language, and click Download.

    下载中心打开

  9. Azure 备份服务器安装程序由 8 个文件组成 - 1 个安装程序,以及 7 个 .bin 文件。The Azure Backup Server installer is composed of eight files - an installer and seven .bin files. 检查“文件名”选择全部所需的文件,然后单击“下一步”。Check File Name to select all required files and click Next. 将所有文件下载到同一个文件夹。Download all files to the same folder.

    下载中心 1

    所有安装文件的下载大小超过 3-GB。The download size of all installation files is larger than 3-GB. 通过 10-Mbps 的下载链路下载所有安装文件可能需要长达 60 分钟时间。On a 10-Mbps download link, downloading all installation files may take up to 60 minutes. 文件将下载到指定的下载位置。The files download to your specified download location.

提取 Azure 备份服务器安装文件Extract Azure Backup Server install files

将所有文件下载到 Azure Stack 虚拟机后,请转到下载位置。After you've downloaded all files to your Azure Stack virtual machine, go to the download location. 安装 Azure 备份服务器的第一阶段是提取文件。The first phase of installing Azure Backup Server is to extract the files.

下载中心 1

  1. 若要开始安装,请在下载的文件列表中单击“MicrosoftAzureBackupserverInstaller.exe”。To start the installation, from the list of downloaded files, click MicrosoftAzureBackupserverInstaller.exe.

    Warning

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

  2. 在 Azure 备份服务器向导中,单击“下一步”继续。In the Azure Backup Server wizard, click Next to continue.

    Azure 备份安装向导

  3. 选择 Azure 备份服务器文件的路径,然后单击“下一步”。Choose the path for the Azure Backup Server files, and click Next.

    Azure 备份安装向导

  4. 验证提取位置,然后单击“提取”。Verify the extraction location, and click Extract.

    Azure 备份安装向导

  5. 向导会提取文件,并为安装过程做好准备。The wizard extracts the files and readies the installation process.

    Azure 备份安装向导

  6. 提取过程完成后,单击“完成”。Once the extraction process completes, click Finish. 默认已选择“执行 setup.exe”。By default, Execute setup.exe is selected. 单击“完成”后,Setup.exe 会将 Azure 备份服务器安装到指定的位置。When you click Finish, Setup.exe installs Azure Backup Server to the specified location.

    Azure 备份安装向导

安装软件包Install the software package

在前一步骤中,我们已单击“完成”退出了提取阶段,并启动了 Azure 备份服务器安装向导。In the previous step, you clicked Finish to exit the extraction phase, and start the Azure Backup Server setup wizard.

Azure 备份安装向导

Azure 备份服务器与 Data Protection Manager 共享代码。Azure Backup Server shares code with Data Protection Manager. 在 Azure 备份服务器安装程序中会看到对 Data Protection Manager 和 DPM 的引用。You will see references to Data Protection Manager and DPM in the Azure Backup Server installer. 尽管 Azure 备份服务器和 Data Protection Manager 属于不同的产品,但两者密切相关。Though Azure Backup Server and Data Protection Manager are separate products, these products are closely related.

  1. 若要启动安装向导,请单击“Azure 备份服务器”。To launch the setup wizard, click Azure Backup Server.

    Azure 备份安装向导

  2. 在“欢迎”屏幕上,单击“下一步”。On the Welcome screen, click Next.

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

  3. 在“先决条件检查”屏幕上,单击“检查”以确定是否符合 Azure 备份服务器的硬件和软件先决条件。On the Prerequisite Checks screen, click Check to determine if the hardware and software prerequisites for Azure Backup Server have been met.

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

    如果环境符合先决条件,则会显示一条消息,指出计算机符合要求。If your environment has the necessary prerequisites, you will see a message indicating that the machine meets the requirements. 单击“下一步”。Click Next.

    Azure 备份服务器 - 已通过先决条件检查

    如果环境不符合先决条件,屏幕上会指明问题。If your environment doesn't meet the necessary prerequisites, the issues will be specified. 不符合的先决条件也会列在 DpmSetup.log 中。The prerequisites that were not met are also listed in the DpmSetup.log. 解决先决条件错误,然后运行“再次检查”。Resolve the prerequisite errors, and then run Check Again. 只有在符合所有先决条件之后,安装才能继续。Installation can't proceed until all prerequisites are met.

    Azure 备份服务器 - 不符合安装先决条件

  4. Azure 备份服务器需要 SQL Server。Azure Backup Server requires SQL Server. Azure 备份服务器安装包与相应的 SQL Server 二进制文件捆绑在一起。The Azure Backup Server installation package comes bundled with the appropriate SQL Server binaries. 可以根据需要使用自己的 SQL 安装。If you want to use your own SQL installation, you can. 但是,建议的选项是让安装程序添加新的 SQL Server 实例。However, the recommended choice is let the installer add a new instance of SQL Server. 为了确保选项符合环境,请单击“检查并安装”。To ensure your choice works with your environment, click Check and Install.

    Note

    Azure 备份服务器不能与远程 SQL Server 实例配合使用。Azure Backup Server will not work with a remote SQL Server instance. Azure 备份服务器使用的实例必须在本地。The instance used by Azure Backup Server must be local.

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

    检查后,如果虚拟机满足安装 Azure 备份服务器的先决条件,请单击“下一步”。After checking, if the virtual machine has the necessary prerequisites to install Azure Backup Server, click Next.

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

    如果发生失败并出现重启计算机的建议,请重启计算机。If a failure occurs with a recommendation to restart the machine, then restart the machine. 重新启动计算机之后重启安装程序,出现“SQL 设置”屏幕时,单击“再次检查”。After restarting the machine, restart the installer, and when you get to the SQL Settings screen, click Check Again.

  5. 在“安装设置”中,提供 Azure 备份服务器文件的安装位置,然后单击“下一步”。In the Installation Settings, provide a location for the installation of Azure Backup server files and click Next.

    Azure 备份先决条件 2

    备份到 Azure 需有暂存位置。The scratch location is required to back up to Azure. 确保暂存位置的大小至少为要备份到 Azure 的数据的 5%。Ensure the size of the scratch location is equivalent to at least 5% of the data planned to be backed up to Azure. 在磁盘保护方面,安装完成之后需要配置独立的磁盘。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.

  6. 在“安全设置”屏幕上,为受限的本地用户帐户提供强密码,然后单击“下一步”。On the Security Settings screen, provide a strong password for restricted local user accounts and click Next.

    Azure 备份先决条件 2

  7. 在“选择使用 Microsoft 更新”屏幕上选择是否要使用“Microsoft 更新”来检查更新,然后单击“下一步”。On the Microsoft Update Opt-In screen, select whether you want to use Microsoft Update to check for updates and click Next.

    Note

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

    Azure 备份先决条件 2

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

    Azure 备份先决条件 2

    Azure 备份服务器完成安装时,安装程序会立即启动 Azure 恢复服务代理安装程序。When Azure Backup Server finishes installing, the installer immediately launches the Azure Recovery Services agent installer.

  9. Azure 恢复服务代理安装程序将打开,并检查是否已建立 Internet 连接。The Azure Recovery Services Agent installer opens, and checks for Internet connectivity. 如果已建立 Internet 连接,则继续安装。If Internet connectivity is available, proceed with the installation. 如果未建立连接,则提供代理详细信息用于连接到 Internet。If there is no connectivity, provide proxy details to connect to the Internet. 指定代理设置后,单击“下一步”。Once you've specified your proxy settings, click Next.

    Azure 备份先决条件 2

  10. 若要安装 Azure 恢复服务代理,请单击“安装”。To install the Azure Recovery Services Agent, click Install.

    Azure 备份服务器先决条件 2

    Azure 恢复服务代理(也称为 Azure 备份代理)会将 Azure 备份服务器配置为恢复服务保管库。The Azure Recovery Services agent, also called the Azure Backup agent, configures the Azure Backup Server to the Recovery Services vault. 配置后,Azure 备份服务器始终将数据备份到同一个恢复服务保管库。Once configured, Azure Backup Server will always backup data to the same Recovery Services vault.

  11. 完成 Azure 恢复服务代理安装后,单击“下一步”开始下一阶段:将 Azure 备份服务器注册到恢复服务保管库。Once the Azure Recovery Services agent finishes installing, click Next to start the next phase: registering Azure Backup Server with the Recovery Services vault.

    Azure 备份服务器先决条件 2

    安装程序启动“注册服务器向导”。The installer launches the Register Server Wizard.

  12. 切换到自己的 Azure 订阅和恢复服务保管库。Switch to your Azure subscription and your Recovery Services vault. 在“准备基础结构”菜单中,单击“下载”以下载保管库凭据。In the Prepare Infrastructure menu, click Download to download vault credentials. 如果步骤 2 中的“下载”按钮处于非活动状态,请选择“已下载或使用最新的 Azure 备份服务器安装”激活该按钮。If the Download button in step 2 is not active, select Already downloaded or using the latest Azure Backup Server installation to activate the button. 保管库凭据将下载到存储下载内容的位置。The vault credentials download to the location where you store downloads. 请记住此位置,因为下一步骤需要指定它。Be aware of this location because you'll need it for the next step.

    Azure 备份服务器先决条件 2

  13. 在“保管库标识”菜单中,单击“浏览”找到恢复服务保管库凭据。In the Vault Identification menu, click Browse to find the Recovery Services vault credentials.

    Azure 备份服务器先决条件 2

    在“选择保管库凭据”对话框中转到下载位置,选择保管库凭据,然后单击“打开”。In the Select Vault Credentials dialog, go to the download location, select your vault credentials, and click Open.

    凭据的路径会显示在保管库标识菜单中。The path to the credentials appears in the Vault Identification menu. 单击“下一步”转到“加密设置”。Click Next to advance to the Encryption Setting.

  14. 在“加密设置”对话框中,提供用于备份加密的通行短语,以及用于存储通行短语的位置,然后单击“下一步”。In the Encryption Setting dialog, provide a passphrase for the backup encryption, and a location to store the passphrase, and click Next.

    Azure 备份服务器先决条件 2

    可以提供自己的通行短语,或使用通行短语生成器来创建一个。You can provide your own passphrase, or use the passphrase generator to create one for you. 通行短语属于你本人,Microsoft 不会保存或管理此通行短语。The passphrase is yours, and Microsoft does not save or manage this passphrase. 为了应对灾难,请将通行短语保存在易于访问的位置。To prepare for a disaster, save your passphrase to an accessible location.

    单击“下一步”后,Azure 备份服务器将注册到恢复服务保管库。Once you click Next, the Azure Backup Server is registered with the Recovery Services vault. 安装程序继续安装 SQL Server 和 Azure 备份服务器。The installer continues installing SQL Server and the Azure Backup Server.

    Azure 备份服务器先决条件 2

  15. 安装程序完成后,“状态”会显示已成功安装所有软件。When the installer completes, the Status shows that all software has been successfully installed.

    Azure 备份服务器先决条件 2

    安装完成后,会在服务器桌面上创建 Azure 备份服务器控制台和 Azure 备份服务器 PowerShell 的图标。When installation completes, the Azure Backup Server console and the Azure Backup Server PowerShell icons are created on the server desktop.

添加备份存储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 Add Modern Backup storage.

Note

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

网络连接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 a firewall or a proxy is preventing access to Azure, whitelist 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 is restored to the Azure Backup Server, the Azure subscription state determines the operations that can be performed. 服务器变为“已连接”状态后,请使用“网络连接”中的表查看可用操作。Once the server is Connected, use the table in Network connectivity to see the available operations.

处理订阅状态Handling subscription states

可将 Azure 订阅从“已过期”或“已取消预配”状态更改为“活动”状态。It's possible to change an Azure subscription from Expired or Deprovisioned state to Active state. 当订阅状态不是“活动”时:While the subscription state is not Active:

  • 订阅处于“已取消预配”状态时,会失去功能。While a subscription is Deprovisioned, it loses functionality. 将订阅还原到“活动”状态可以挽回备份/还原功能。Restoring the subscription to Active, revives the backup/restore functionality. 如果以够长的保留期来保存本地磁盘上的备份数据,则可以检索这些备份数据。If backup data on the local disk was retained with a sufficiently large retention period, that backup data can be retrieved. 但是,一旦订阅进入“已取消预配”状态,Azure 中的备份数据便会丢失且不可检索。However, backup data in Azure is irretrievably lost once the subscription enters the Deprovisioned state.
  • 订阅处于“已过期”状态时,会失去功能。While a subscription is Expired, it loses functionality. 当订阅处于“已过期”状态时,计划的备份不会运行。Scheduled backups do not run while a subscription is Expired.

故障排除Troubleshooting

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

后续步骤Next steps

为 DPM 准备环境一文包含了有关受支持 Azure 备份服务器配置的信息。The article, Preparing your environment for DPM, contains information about supported Azure Backup Server configurations.

可以使用以下文章深入了解如何使用 Azure 备份服务器来保护工作负荷。You can use the following articles to gain a deeper understanding of workload protection using Azure Backup Server.