DPM 和 Azure 备份服务器 (MABS) 的脱机备份工作流Offline backup workflow for DPM and Azure Backup Server (MABS)

重要

这些步骤适用于 DPM 2019 UR1(或更高版本)和 MABS v3 UR1(或更高版本)。These steps are applicable for DPM 2019 UR1 (or above) and MABS v3 UR1 (or above).

System Center Data Protection Manager 和 Microsoft Azure 备份服务器 (MABS) 与 Azure 备份集成,并使用多个可提升效率的内置功能,可在将数据初始完整备份到 Azure 时节省网络和存储成本。System Center Data Protection Manager and Microsoft Azure Backup Server (MABS) integrate with Azure Backup and use several built-in efficiencies that save network and storage costs during the initial full backups of data to Azure. 与仅传输增量/增量的后续备份相比,初始完整备份通常传输大量数据,并且需要更多的网络带宽。Initial full backups typically transfer large amounts of data and require more network bandwidth when compared to subsequent backups that transfer only the deltas/incrementals. Azure 备份会压缩初始备份。Azure Backup compresses the initial backups. 通过脱机种子设定过程,Azure 备份可以使用磁盘将压缩后的初始备份数据脱机上传到 Azure。Through the process of offline seeding, Azure Backup can use disks to upload the compressed initial backup data offline to Azure.

Azure 备份的脱机种子设定过程与 Azure 导入/导出服务紧密集成。The offline-seeding process of Azure Backup is tightly integrated with the Azure Import/Export service. 可以借助此服务使用磁盘将数据传输到 Azure。You can use this service to transfer data to Azure by using disks. 如果要通过高延迟、低带宽网络传输 TB 计的初始备份数据,可以使用脱机种子设定工作流将一个或多个硬盘驱动器中的初始备份副本传送到 Azure 数据中心。If you have terabytes (TBs) of initial backup data that need to be transferred over a high-latency and low-bandwidth network, you can use the offline-seeding workflow to ship the initial backup copy on one or more hard drives to an Azure datacenter. 本文将会概述如何对 System Center Data Protection Manager (DPM) 和 Azure 备份服务器 (MABS) 完成此工作流,并提供其他相关步骤。This article provides an overview and further steps that finish this workflow for System Center Data Protection Manager (DPM) and Microsoft Azure Backup Server (MABS).

备注

Microsoft Azure 恢复服务 (MARS) 代理的脱机备份过程不同于 DPM 和 MABS。The process of offline backup for the Microsoft Azure Recovery Services (MARS) Agent is distinct from DPM and MABS. 有关使用 MARS 代理进行脱机备份的信息,请参阅 Azure 备份中的脱机备份工作流For information on using offline backup with the MARS Agent, see Offline backup workflow in Azure Backup. 使用 Azure 备份代理完成的系统状态备份不支持脱机备份。Offline backup isn't supported for system state backups done by using the Azure Backup Agent.

概述Overview

借助 Azure 备份的脱机种子设定功能及 Azure 导入/导出服务,可以方便地通过磁盘将数据脱机上传到 Azure。With the offline-seeding capability of Azure Backup and the Azure Import/Export service, it's simple to upload the data offline to Azure by using disks. 脱机备份过程涉及以下步骤:The offline backup process involves the following steps:

  • 备份数据不会通过网络发送,而是写入到暂存位置。The backup data is written to a staging location instead of being sent over the network.
  • 然后使用 AzureOfflineBackupDiskPrep 实用工具将暂存位置上的数据写入到一个或多个 SATA 磁盘。The data on the staging location is then written to one or more SATA disks by using the AzureOfflineBackupDiskPrep utility.
  • 该实用工具会自动创建 Azure 导入作业。An Azure import job is automatically created by the utility.
  • 然后将 SATA 驱动器发送到最近的 Azure 数据中心。The SATA drives are then sent to the nearest Azure datacenter.
  • 将备份数据上传到 Azure 的操作完成之后,Azure 备份将备份数据复制到备份保管库,并计划进行增量备份。After the upload of the backup data to Azure is finished, Azure Backup copies the backup data to the backup vault and the incremental backups are scheduled.

先决条件Prerequisites

确保在启动脱机备份工作流之前满足以下先决条件:Ensure that the following prerequisites are met before you start the offline backup workflow:

  • 已创建恢复服务保管库A Recovery Services vault has been created. 若要创建一个,请按照创建恢复服务保管库中的步骤进行操作。To create one, follow the steps in Create a Recovery Services vaulttutorial-backup-windows-server-to-azure#create-a-recovery-services-vault).

  • 请确保在 SC DPM 或 MABS 上仅安装最新版本的 Azure 恢复服务代理并向恢复服务保管库注册该代理。Ensure that only the latest version of Azure Recovery Services agent is installed on the SC DPM or MABS and registered to Recovery Services vault.

  • 更新汇总 1 安装在 SC DPM 2019 或 MABS v3 上。Update Rollup 1 is installed on SC DPM 2019 or MABS v3.

    备注

    借助 DPM 2019 UR1 和 MABS v3 UR1,脱机种子设定使用 Azure Active Directory 进行身份验证。With DPM 2019 UR1 and MABS v3 UR1 the offline seeding authenticates using Azure Active Directory.

  • 在 DPM 或 MABS 服务器上,确保已安装 Microsoft Edge 或 Internet Explorer 11,并已启用 JavaScript。On the DPM or MABS server, make sure Microsoft Edge or Internet Explorer 11 is installed, and JavaScript is enabled.

  • 在与恢复服务保管库相同的订阅中创建一个 Azure 存储帐户。Create an Azure Storage account in the same subscription as the Recovery Services vault.

  • 确保你具有创建 Azure Active Directory 应用程序的必要权限Make sure you have the necessary permissions to create the Azure Active Directory application. 脱机备份工作流在与 Azure 存储帐户关联的订阅中创建一个 Azure Active Directory 应用程序。The Offline Backup workflow creates an Azure Active Directory application in the subscription associated with the Azure Storage account. 该应用程序的目的是为 Azure 备份提供脱机备份工作流所需的对 Azure 导入服务的安全且范围内的访问。The goal of the application is to provide Azure Backup with secure and scoped access to the Azure Import Service, required for the Offline Backup workflow.

  • 使用包含 Azure 存储帐户的订阅注册 Microsoft.ImportExport 资源提供程序。Register the Microsoft.ImportExport resource provider with the subscription containing the Azure Storage account. 要注册资源提供程序,请执行以下操作:To register the resource provider:

    1. 在主菜单中选择“订阅”。In the main menu, select Subscriptions.

    2. 如果你订阅了多个订阅,请选择用于脱机备份的订阅。If you're subscribed to multiple subscriptions, select the subscription you're using for the offline backup. 如果仅使用一个订阅,则会显示你的订阅。If you use only one subscription, then your subscription appears.

    3. 在订阅菜单中,选择“资源提供程序”以查看提供程序列表。In the subscription menu, select Resource Providers to view the list of providers.

    4. 在提供程序列表中,向下滚动到 Microsoft.ImportExport。In the list of providers scroll down to Microsoft.ImportExport. 如果状态为“NotRegistered”,请选择“注册”。If the Status is NotRegistered, select Register.

      注册资源提供程序

  • 创建了一个暂存位置,它可以是计算机上的网络共享或任何其他内部或外部驱动器,并且有足够的磁盘空间来保存初始副本。A staging location, which might be a network share or any additional drive on the computer, internal or external, with enough disk space to hold your initial copy, is created. 例如,若要备份 500 GB 文件服务器,请确保暂存区域至少有 500 GB 空间。For example, if you want to back up a 500-GB file server, ensure that the staging area is at least 500 GB. (由于压缩,实际使用量更少)。(A smaller amount is used due to compression.)

  • 对于发送到 Azure 的磁盘,请确保仅使用 2.5 英寸 SSD 或 2.5 英寸或 3.5 英寸 SATA II/III 内部硬盘驱动器。For disks sent to Azure, ensure that only 2.5-inch SSD or 2.5-inch or 3.5-inch SATA II/III internal hard drives are used. 可以使用容量最高为 10 TB 的硬盘驱动器。You can use hard drives up to 10 TB. 查看 Azure 导入/导出服务文档,了解服务支持的最新驱动器集。Check the Azure Import/Export service documentation for the latest set of drives that the service supports.

  • SATA 驱动器必须连接到一台计算机(称为“副本计算机”),将在这台计算机上完成将备份数据从暂存位置复制到 SATA 驱动器的过程。The SATA drives must be connected to a computer (referred to as a copy computer) from where the copy of backup data from the staging location to the SATA drives is done. 请确保已在副本计算机上启用 BitLocker。Ensure that BitLocker is enabled on the copy computer.

工作流Workflow

本部分中的信息有助于完成“脱机备份工作流”,以便可以将你的数据传输到 Azure 数据中心并上转到 Azure 存储。The information in this section helps you complete the offline-backup workflow so that your data can be delivered to an Azure datacenter and uploaded to Azure Storage. 如果你对导入服务或该过程的任何方面有疑问,请参阅上面引用的导入服务概述If you have questions about the Import service or any aspect of the process, see the Import service overview documentation referenced earlier.

启动脱机备份Initiate offline backup

  1. 在创建具有联机保护的新保护组或将联机保护添加到现有保护组时,将看到以下屏幕。When you create a new protection group with online protection or add online protection to existing protection group, you see the following screen. 若要选择初始在线复制方法,请选择“使用我自己的磁盘传输”并选择“下一步”。To select Initial online Replication method, select Transfer using my own disk and select Next.

    导入屏幕

  2. Azure 登录页面随即打开。The Azure sign-in page will open. 使用 Azure 用户帐户登录,该帐户对 Azure 订阅具有所有者角色权限。Sign in using your Azure user account, which has owner role permission on the Azure Subscription.

    Azure 登录页面

  3. 在“使用自己的磁盘”页上提供输入。Provide the inputs on the Use your Own Disk page.

    “使用自己的磁盘”的输入

    输入说明如下所示:The description of the inputs is as follows:

    • 暂存位置:写入初始备份副本的临时存储位置。Staging Location: The temporary storage location to which the initial backup copy is written. 暂存位置可以是网络共享或本地计算机。The staging location might be on a network share or a local computer. 如果副本计算机与源计算机不同,请指定暂存位置的完整网络路径。If the copy computer and source computer are different, specify the full network path of the staging location.
    • Azure 资源管理器存储帐户:任何 Azure 订阅中的资源管理器类型存储帐户(常规用途 v1 或常规用途 v2)的名称。Azure Resource Manager Storage Account: The name of the Resource Manager type storage account (general purpose v1 or general purpose v2) in any Azure subscription.
    • Azure 存储容器:导入备份数据的 Azure 存储帐户中目标 blob 存储容器的名称。Azure Storage Container: The name of the destination blob storage container in the Azure storage account where the backup data is imported.
    • Azure 订阅 ID:在其中创建 Azure 存储帐户的 Azure 订阅的 ID。Azure Subscription ID: The ID for the Azure subscription where the Azure storage account is created.
    • Azure 导入作业名称:Azure 导入服务和 Azure 备份用来跟踪在磁盘上发送到 Azure 的数据传输的唯一名称。Azure Import Job Name: The unique name by which Azure Import service and Azure Backup track the transfer of data sent on disks to Azure.

    保存提供的“暂存位置”和“Azure 导入作业名称”信息。 Save the Staging Location and the Azure Import Job Name information you provided. 准备磁盘时需要用到这些信息。It's required to prepare the disks.

  4. 完成工作流以创建或更新保护。Complete the workflow to create or update the protection. 要启动脱机备份副本,请右键单击“保护组”,然后选择“创建恢复点”选项。And to initiate the offline-backup copy, right-click the Protection Group, and then choose the Create recovery point option. 然后,选择“联机保护”选项。You then choose the Online Protection option.

    创建恢复点

  5. 在“监视”窗格中监视“联机副本创建”作业。Monitor the Online Replica Creation job in the monitoring pane. 该作业应成功完成,但显示警告“等待 Azure 导入作业完成”。The job should complete successfully with the warning Waiting for Azure Import job to finish.

    完成恢复点

  6. 操作完成后,暂存位置已准备就绪,可用于磁盘准备。After the operation finishes, the staging location is ready to be used for disk preparation.

准备好 SATA 驱动器并寄送到 AzurePrepare SATA drives and ship to Azure

AzureOfflineBackupDiskPrep 实用工具准备好要发送到最近的 Azure 数据中心的 SATA 驱动器。The AzureOfflineBackupDiskPrep utility prepares the SATA drives that are sent to the nearest Azure datacenter. 位于以下路径的 Azure 备份代理安装目录中提供了此实用工具:*\Azure Recovery Services Agent\Utils\\*This utility is available in the Azure Backup agent installation directory (in the following path): *\Azure Recovery Services Agent\Utils\\*

  1. 转到目录,将 AzureOfflineBackupDiskPrep 目录复制到连接 SATA 驱动器的另一台计算机上。Go to the directory and copy the AzureOfflineBackupDiskPrep directory to another computer where the SATA drives are connected. 在连接了 SATA 驱动器的计算机上,确保:On the computer with the connected SATA drives, ensure:

    • 副本计算机可以使用“启动脱机备份”部分的工作流中提供的相同网络路径,来访问脱机种子设定工作流的暂存位置。The copy computer can access the staging location for the offline-seeding workflow by using the same network path that was provided in the workflow in the "Initiate offline backup" section.

    • 已在副本计算机上启用 BitLocker。BitLocker is enabled on the copy computer.

    • 在副本计算机上安装 Azure PowerShell 3.7.0(如果你在 DPM 或 MABS 服务器上运行 AzureOfflineBackupDiskPrep 实用工具,则没有此要求)。Azure PowerShell 3.7.0 is installed on the Copy computer (not required if you're running the AzureOfflineBackupDiskPrep utility on the DPM or MABS server).

    • 安装最新的兼容浏览器(Microsoft Edge 或 Internet Explorer 11)并启用 JavaScript。The latest compatible browsers (Microsoft Edge or Internet Explorer 11) are installed and JavaScript is enabled.

    • 复制计算机可以访问 Azure 门户。The copy computer can access the Azure portal. 必要时,副本计算机可与源计算机相同。If necessary, the copy computer can be the same as the source computer.

      重要

      如果源计算机是虚拟机,则它必须使用其他物理服务器或客户端计算机作为副本计算机。If the source computer is a virtual machine, then it's mandatory to use a different physical server or client machine as the copy computer.

  2. 使用 AzureOfflineBackupDiskPrep 实用工具目录作为当前目录,在副本计算机上打开权限提升的命令提示符。Open an elevated command prompt on the copy computer with the AzureOfflineBackupDiskPrep utility directory as the current directory. 运行以下命令:Run the following command:

    .\AzureOfflineBackupDiskPrep.exe s:<Staging Location Path>
    
    参数Parameter 说明Description
    s:<Staging Location Path>s:<Staging Location Path> 此项必需的输入用于提供在“启动脱机备份”部分的工作流中所输入的暂存位置的路径。This mandatory input is used to provide the path to the staging location that you entered in the workflow in the "Initiate offline backup" section.
    p:<Path to PublishSettingsFile>p:<Path to PublishSettingsFile> 此可选输入用于提供 Azure 发布设置文件的路径。This optional input is used to provide the path to the Azure publish settings file.

    运行命令时,该实用工具会请求选择与需要准备的驱动器相对应的 Azure 导入作业。When you run the command, the utility requests the selection of the Azure Import job that corresponds to the drives that need to be prepared. 如果仅单个导入作业与提供的暂存位置相关联,则会看到类似下面的屏幕。If only a single import job is associated with the provided staging location, you see a screen like the one that follows.

    磁盘准备控制台

  3. 输入要准备传输到 Azure 的载入磁盘的驱动器号,不包含尾随冒号。Enter the drive letter without the trailing colon for the mounted disk that you want to prepare for transfer to Azure.

  4. 提示时,请确认驱动器的格式。Provide confirmation for the formatting of the drive when prompted.

  5. 系统会提示你登录到 Azure 订阅。You're prompted to sign into your Azure subscription. 提供凭据。Provide your credentials.

    Azure 登录屏幕

    该工具随后便开始准备磁盘和复制备份数据。The tool then begins to prepare the disk and copy the backup data. 可能需要根据工具的提示附加其他磁盘,以防提供的磁盘没有足够空间来容纳备份数据。You might need to attach additional disks when prompted by the tool if the provided disk doesn't have sufficient space for the backup data.

    成功结束该工具的执行时,命令提示符会提供三段信息:At the end of successful execution of the tool, the command prompt provides three pieces of information:

    • 所提供的一个或多个磁盘已准备好寄送到 Azure。One or more disks you provided are prepared for shipping to Azure.
    • 你会收到确认已创建导入作业。You receive confirmation that your import job has been created. 导入作业使用你提供的名称。The import job uses the name you provided.
    • 该工具显示 Azure 数据中心的送货地址。The tool displays the shipping address for the Azure datacenter.

    Azure 磁盘准备完成

  6. 命令执行完成后,还会看到用于更新发货信息的选项。At the end of the command execution, you also see the option to update shipping information.

  7. 将磁盘寄送到工具提供的地址,保留跟踪号码供日后参考。Ship the disks to the address that the tool provided and keep the tracking number for future reference.

    重要

    不能有两个 Azure 导入作业使用同一个跟踪号。No two Azure import jobs can have the same tracking number. 确保使用一个包裹寄送实用工具在单次 Azure 导入作业中准备的驱动器,该包裹有一个唯一的跟踪号。Ensure that drives prepared by the utility under a single Azure import job are shipped together in a single package and that there's a single unique tracking number for the package. 请勿在一个包裹中混合不同 Azure 导入作业中准备的驱动器。Don't combine drives prepared as part of different Azure import jobs in a single package.

更新 Azure 导入作业的送货详细信息Update shipping details on the Azure Import job

以下过程会更新 Azure 导入作业的送货详细信息。The following procedure updates the Azure Import job shipping details. 该信息包括以下内容的详细信息:This information includes details about:

  • 将磁盘交付到 Azure 的运营商的名称the name of the carrier who delivers the disks to Azure

  • 返回磁盘的送货详细信息return shipping details for your disks

    1. 登录到你的 Azure 订阅。Sign in to your Azure subscription.

    2. 在主菜单中选择“所有服务”,然后在“所有服务”对话框中键入“导入”。In the main menu, select All services and in the All services dialog, type Import. 看到“导入/导出作业”时,请选择它。When you see Import/Export jobs, select it. 输入送货信息Entering Shipping Information

      “导入/导出作业”菜单列表将打开,并显示所选订阅中所有导入/导出作业的列表。The list of Import/export jobs menu opens, and the list of all Import/export jobs in the selected subscription appears.

    3. 如果有多个订阅,请确保选中用于导入备份数据的订阅。If you have multiple subscriptions, be sure to select the subscription used to import the backup data. 然后,选择新创建的导入作业以打开其详细信息。Then select the newly created Import job to open its details.

      查看送货信息

    4. 在导入作业的“设置”菜单中,选择“管理寄送信息”并输入回件寄送详细信息。On the Settings menu for the Import job, select Manage Shipping Info and enter the return shipping details.

      存储送货信息

    5. 在收到快递公司提供的跟踪号后,请选择 Azure 导入作业概述页中的横幅,并输入以下详细信息:When you have the tracking number from your shipping carrier, select the banner in the Azure Import job overview page and enter the following details:

      重要

      确保在创建 Azure 导入作业后的两周内更新承运人信息和跟踪号。Ensure that the carrier information and tracking number are updated within two weeks of Azure import job creation. 两周内未能验证此信息可能导致删除作业,且不会处理驱动器。Failure to verify this information within two weeks can result in the job being deleted, and drives not being processed.

      作业概述

      跟踪信息

处理驱动器的时间Time to process the drives

处理 Azure 导入作业的时间是不确定的。The amount of time it takes to process an Azure import job varies. 处理时间取决于发货时间、作业类型、要复制的数据的类型和大小,以及所提供磁盘的大小等因素。The process time depends on factors like shipping time, job type, type and size of the data being copied, and the size of the disks provided. Azure 导入/导出服务不附带 SLA。The Azure Import/Export service doesn't have an SLA. 收到磁盘之后,该服务力求在 7 到 10 天内完成将备份数据复制到 Azure 存储帐户的过程。After disks are received, the service strives to finish the backup data copy to your Azure storage account in 7 to 10 days. 下一部分将介绍如何监视 Azure 导入作业的状态。The next section describes how you can monitor the status of the Azure import job.

监视 Azure 导入作业状态Monitor Azure import job status

可以通过导航到“导入/导出作业”页面并选中你的作业,从 Azure 门户监视导入作业的状态。You can monitor the status of your Import job from the Azure portal by navigating to the Import/Export jobs page and selecting your job. 有关导入作业状态的详细信息,请参阅存储导入导出服务一文。For more information on the status of the Import jobs, see the Storage Import Export service article.

完成工作流Complete the workflow

导入作业完成后,存储帐户中将提供初始备份数据。After the import job finishes, initial backup data is available in your storage account. 下一次运行计划的备份时,Azure 备份会将数据内容从存储帐户复制到恢复服务保管库。At the time of the next scheduled backup, Azure Backup copies the contents of the data from the storage account to the Recovery Services vault.

在下一个计划的联机副本创建作业时,Data Protection Manager 会对初始备份复制执行增量备份。At the time of the next scheduled online replica creation job, Data Protection Manager performs incremental backup over the initial backup copy.

后续步骤Next steps