在 Azure Stack 上备份文件和应用程序Back up files and applications on Azure Stack

可以使用 Azure 备份保护(或备份)Azure Stack 上的文件和应用程序。You can use Azure Backup to protect (or back up) files and applications on Azure Stack. 若要备份文件和应用程序,请将 Microsoft Azure 备份服务器安装为 Azure Stack 上运行的虚拟机。To back up files and applications, install Microsoft Azure Backup Server as a virtual machine running on Azure Stack. 可以保护相同虚拟网络中任何 Azure Stack 服务器上的文件。You can protect the files on any Azure Stack server in the same virtual network. 安装 Azure 备份服务器后,可添加 Azure 磁盘以增加可用于短期备份数据的本地存储。Once you have installed Azure Backup Server, add Azure disks to increase the local storage available for short-term backup data. Azure 备份服务器将 Azure 存储用于长期保留。Azure Backup Server uses Azure storage for long-term retention.

Note

尽管 Azure 备份服务器与 System Center Data Protection Manager (DPM) 类似,但不支持将 DPM 与 Azure Stack 配合使用。Though Azure Backup Server and System Center Data Protection Manager (DPM) are similar, DPM is not supported for use with Azure Stack.

本文不介绍如何在 Azure Stack 环境中安装 Azure 备份服务器。This article does not cover installing Azure Backup Server in the Azure Stack environment. 若要在 Azure Stack 中安装 Azure 备份服务器,请参阅安装 Azure 备份服务器一文。To install Azure Backup Server on Azure Stack, see the article, Installing Azure Backup Server.

将 Azure Stack VM 中的文件和文件夹备份到 AzureBack up Files and Folders in Azure Stack VMs to Azure

若要将 Azure 备份服务器配置为保护 Azure Stack 虚拟机中的文件,请打开 Azure 备份服务器控制台。To configure Azure Backup Server to protect Files in Azure Stack virtual machines, open the Azure Backup Server console. 将使用控制台配置保护组,以及保护虚拟机上的数据。You'll use the console to configure protection groups and to protect the data on your virtual machines.

  1. 在 Azure 备份服务器控制台中单击“保护”,并在工具栏中,单击“新建”打开“创建新保护组”向导。In the Azure Backup Server console, click Protection and in the toolbar, click New to open the Create New Protection Group wizard.

    在 Azure 备份服务器控制台中配置保护

    打开向导可能需要花费几秒钟。It may take a few seconds for the wizard to open. 打开向导后,单击“下一步”转到“选择保护组类型”屏幕。Once the wizard opens, click Next to advance to the Select Protection Group Type screen.

    “新建保护组”向导打开

  2. 在“选择保护组类型”屏幕上,选择“服务器”并单击“下一步”。On the Select Protection Group Type screen, choose Servers and click Next.

    “新建保护组”向导打开

    此时会打开“选择组成员”屏幕。The Select Group Members screen opens.

    “新建保护组”向导打开

  3. 在“选择组成员”屏幕中,单击 + 展开子项列表。In the Select Group Members screen, click + to expand the list of subitems. 选中想要保护的所有项对应的复选框。For all items that you want to protect, select the check box. 选择所有项后,单击“下一步”。Once all items have been selected, click Next.

    “新建保护组”向导打开

    Microsoft 建议将共用保护策略的所有数据放入同一个保护组。Microsoft recommends putting all data that will share a protection policy, into one protection group. 有关规划和部署保护组的完整信息,请参阅 System Center DPM 文章部署保护组For complete information about planning and deploying protection groups, see the System Center DPM article, Deploy Protection Groups.

  4. 在“选择数据保护方法”屏幕中,键入保护组的名称。In the Select Data Protection Method screen, type a name for the protection group. 选中“我想使用以下介质进行短期保护:”和“我需要在线保护”对应的复选框。Select the checkbox for I want short-term protection using: and I want online protection. 单击“下一步”。Click Next.

    “新建保护组”向导打开

    若要选择“我需要在线保护”,必须先选中“我想使用以下介质进行短期保护: 磁盘”。To select I want online protection, you must first select I want short-term protection using: Disk. 由于 Azure 备份服务器不保护磁带,因此磁盘是短期保护的唯一选项。Azure Backup Server does not protect to tape, so disk is the only choice for short-term protection.

  5. 在“指定短期目标”屏幕中,选择要在磁盘中保存恢复点的时间长短,以及何时保存增量备份。In the Specify Short-Term Goals screen, choose how long to retain the recovery points saved to disk, and when to save incremental backups. 单击“下一步”。Click Next.

    Important

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

    “新建保护组”向导打开

    无需选择增量备份的间隔,只需单击“直接在恢复点之前”,即可在每个计划的恢复点之前运行快速完整备份。Instead of selecting an interval for incremental backups, to run an express full backup just before each scheduled recovery point, click Just before a recovery point. 如果保护的是应用程序工作负荷,Azure 备份服务器会根据同步频率计划创建恢复点(前提是应用程序支持增量备份)。If you're protecting application workloads, Azure Backup Server creates recovery points per the Synchronization frequency schedule (provided the application supports incremental backups). 如果应用程序不支持增量备份,Azure 备份服务器会运行快速完整备份。If the application doesn't support incremental backups, Azure Backup Server runs an express full backup.

    对于“文件恢复点”,请指定何时创建恢复点。For File recovery points, specify when to create recovery points. 单击“修改”设置创建恢复点的时间和星期日期。Click Modify to set the times and days of the week when recovery points are created.

  6. 在“检查磁盘分配”屏幕中,检查为保护组分配的存储池磁盘空间。In the Review disk allocation screen, review the storage pool disk space allocated for the protection group.

    “总数据大小”是要备份的数据大小,“要在 Azure 备份服务器上预配的磁盘空间”是为保护组建议的空间。Total Data size is the size of the data you want to back up and Disk space to be provisioned on Azure Backup Server is the recommended space for the protection group. Azure 备份服务器会根据设置选择理想的备份卷。Azure Backup Server chooses the ideal backup volume, based on the settings. 但是,可以在“磁盘分配详细信息”中编辑备份卷选项。However, you can edit the backup volume choices in the Disk allocation details. 对于工作负荷,请在下拉菜单中选择首选的存储。For the workloads, select the preferred storage in the dropdown menu. 编辑操作会更改“可用磁盘存储”窗格中的“存储总量”和“可用存储”值。Your edits change the values for Total Storage and Free Storage in the Available Disk Storage pane. 预配不足的空间是 Azure 备份服务器建议添加到卷以便将来继续顺利备份的存储量。Underprovisioned space is the amount of storage Azure Backup Server suggests you add to the volume, to continue with backups smoothly in the future.

  7. 在“选择副本创建方法”中,选择要如何处理初始完整数据复制。In Choose replica creation method, select how you want to handle the initial full data replication. 如果确定通过网络复制,Azure 建议选择非高峰时间。If you decide to replicate over the network, Azure recommends you choose an off-peak time. 如果数据量很大或网络状态欠佳,请考虑使用可移动媒体复制数据。For large amounts of data or less than optimal network conditions, consider replicating the data using removable media.

  8. 在“选择一致性检查选项”中,选择要如何自动执行一致性检查。In Choose consistency check options, select how you want to automate consistency checks. 使一致性检查仅在数据复制变得不一致时才运行,或根据计划运行。Enable consistency checks to run only when data replication becomes inconsistent, or according to a schedule. 如果不想配置自动一致性检查,可随时通过以下方式运行手动检查:If you don't want to configure automatic consistency checking, run a manual check at any time by:

    • 在 Azure 备份服务器控制台的“保护”区域中,右键单击保护组,并选择“执行一致性检查”。In the Protection area of the Azure Backup Server console, right-click the protection group and select Perform Consistency Check.
  9. 如果选择备份到 Azure,请在“指定在线保护数据”页上,确保选择要备份到 Azure 的工作负荷。If you choose to back up to Azure, on the Specify online protection data page make sure the workloads you want to back up to Azure are selected.

  10. 在“指定在线备份计划”中,指定何时增量备份到 Azure。In Specify online backup schedule, specify when incremental backups to Azure should occur.

    可将备份计划为每日/每周/每月/每年运行,并指定运行备份的时间/日期。You can schedule backups to run every day/week/month/year and the time/date at which they should run. 备份一天最多可以进行两次。Backups can occur up to twice a day. 每次备份作业运行时,会通过 Azure 备份服务器磁盘上存储的备份数据的副本在 Azure 中创建数据恢复点。Each time a backup job runs, a data recovery point is created in Azure from the copy of the backed-up data stored on the Azure Backup Server disk.

  11. 在“指定在线保留策略”中,指定如何在 Azure 中保留通过每日/每周/每月/每年备份创建的恢复点。In Specify online retention policy, specify how the recovery points created from the daily/weekly/monthly/yearly backups are retained in Azure.

  12. 在“选择在线复制”中,指定如何进行数据的初始完整复制。In Choose online replication, specify how the initial full replication of data occurs.

  13. 在“摘要”中检查设置。On Summary, review your settings. 单击“创建组”时,会进行初始数据复制。When you click Create Group, the initial data replication occurs. 数据复制完成后,在“状态”页上,保护组状态显示为“正常”。When the data replication finishes, on the Status page, the protection group status shows as OK. 初始备份作业根据保护组设置运行。The initial backup job takes place in line with the protection group settings.

恢复文件数据Recover file data

使用 Azure 备份服务器控制台将数据恢复到虚拟机。Use Azure Backup Server console to recover data to your virtual machine.

  1. 在 Azure 备份服务器控制台中的导航栏上单击“恢复”,并浏览到想要恢复的数据。In the Azure Backup Server console, on the navigation bar, click Recovery and browse for the data you want to recover. 在结果窗格中选择数据。In the results pane, select the data.

  2. 在恢复点部分的日历上,以粗体显示的日期表示可用的恢复点。On the calendar in the recovery points section, dates in bold indicate recovery points are available. 选择要恢复的日期。Select the date to recover.

  3. 在“可恢复的项”窗格中,选择要恢复的项。In the Recoverable item pane, select the item you want to recover.

  4. 在“操作”窗格中,单击“恢复”打开“恢复向导”。In the Actions pane, click Recover to open the Recovery Wizard.

  5. 可按如下所述恢复数据:You can recover data as follows:

    • 恢复到原始位置 - 如果已通过 VPN 连接客户端计算机,则此选项不起作用。Recover to the original location - If the client computer is connected over VPN, this option doesn't work. 请改用备用位置,然后从该位置复制数据。Instead use an alternate location, and then copy data from that location.
    • 恢复到备用位置Recover to an alternate location
  6. 指定恢复选项:Specify the recovery options:

    • 对于“现有版本恢复行为”,请选择“创建副本”、“跳过”或“覆盖”。For Existing version recovery behavior, select Create copy, Skip, or Overwrite. 仅当恢复到原始位置时才能使用“覆盖”。Overwrite is available only when recovering to the original location.
    • 对于“还原安全性”,请选择“应用目标计算机的设置”或“应用恢复点版本的安全设置”。For Restore security, choose Apply settings of the destination computer or Apply the security settings of the recovery point version.
    • 对于“网络带宽使用限制”,请单击“修改”启用网络带宽使用限制。For Network bandwidth usage throttling, click Modify to enable network bandwidth usage throttling.
    • 通知单击“恢复完成时发送电子邮件”,并指定通知的收件人。Notification Click Send an e-mail when the recovery completes, and specify the recipients who will receive the notification. 使用逗号分隔电子邮件地址。Separate the e-mail addresses with commas.
    • 完成选择后,单击“下一步”After making the selections, click Next
  7. 检查恢复设置,单击“恢复”。Review your recovery settings, and click Recover.

    Note

    恢复作业正在进行时,会取消针对选定恢复项运行的所有同步作业。While the recovery job is in progress, all synchronization jobs for the selected recovery items are canceled.

如果使用新式备份存储 (MBS),则不支持文件服务器最终用户恢复 (EUR)。If you're using Modern Backup Storage (MBS), File Server end-user recovery (EUR) isn't supported. 文件服务器 EUR 依赖于卷影复制服务 (VSS),而新式备份存储并不使用该服务。File Server EUR has a dependency on Volume Shadow Copy Service (VSS), which Modern Backup Storage doesn't use. 如果启用了 EUR,请使用以下步骤恢复数据:If EUR is enabled, use the following steps to recover data:

  1. 导航到受保护的文件,右键单击文件名并选择“属性”。Navigate to the protected files, and right-click the file name and select Properties.

  2. 在“属性”菜单中单击“旧版”,然后选择要恢复的版本。On the Properties menu, click Previous Versions and choose the version you want to recover.

使用保管库查看 Azure 备份服务器View Azure Backup Server with a vault

若要在 Azure 门户中查看 Azure 备份服务器实体,可以按照下列步骤操作:To view Azure Backup Server entities in the Azure portal, you can follow the following steps:

  1. 打开恢复服务保管库。Open Recovery Services vault.
  2. 单击“备份基础结构”。Click Backup Infrastructure.
  3. 查看备份管理服务器。View Backup Management Servers.

另请参阅See also

有关使用 Azure 备份服务器保护其他工作负荷的信息,请参阅以下文章之一:For information on using Azure Backup Server to protect other workloads, see one of the following articles: