将文件从 Azure 恢复到 Windows ServerRecover files from Azure to a Windows Server

使用 Azure 备份可以从 Windows Server 备份中恢复个别项目。Azure Backup enables the recovery of individual items from backups of your Windows Server. 如果必须快速还原意外删除的文件,恢复个别文件会很有帮助。Recovering individual files is helpful if you must quickly restore files that are accidentally deleted. 本教程介绍如何使用 Azure 恢复服务 (MARS) 代理从已在 Azure 中执行的备份中恢复项目。This tutorial covers how you can use the Azure Recovery Services Agent (MARS) agent to recover items from backups you have already performed in Azure. 本教程介绍如何执行下列操作:In this tutorial you learn how to:

  • 启动个别项目的恢复Initiate recovery of individual items
  • 选择恢复点Select a recovery point
  • 从恢复点还原项目Restore items from a recovery point

本教程假定已经执行了将 Windows Server 备份到 Azure 的步骤,并且在 Azure 中拥有至少一个 Windows Server 文件的备份。This tutorial assumes you have already performed the steps to Back up a Windows Server to Azure and have at least one backup of your Windows Server files in Azure.

启动个别项目的恢复Initiate recovery of individual items

使用 Azure 恢复服务 (MARS) 代理安装名为“Azure 备份”的有用用户界面向导。A helpful user interface wizard named Azure Backup is installed with the Azure Recovery Services (MARS) agent. Azure 备份向导与 Azure 恢复服务 (MARS) 代理协同工作,从存储在 Azure 中的恢复点检索备份数据。The Azure Backup wizard works with the Azure Recovery Services (MARS) agent to retrieve backup data from recovery points stored in Azure. 使用 Azure 备份向导确定要还原到 Windows Server 的文件或文件夹。Use the Azure Backup wizard to identify the files or folders you want to restore to Windows Server.

  1. 打开“Azure 备份”管理单元。Open the Azure Backup snap-in. 可以通过在计算机中搜索“Azure 备份”找到该代理。You can find it by searching your machine for Azure Backup.

    等待中的备份

  2. 在向导中,单击代理控制台的“操作窗格”中的“恢复数据”,启动“恢复数据”向导。In the wizard, click Recover Data in the Actions Pane of the agent console to start the Recover Data wizard.

    等待中的备份

  3. 在“入门”页上,选择“此服务器(服务器名称)”,然后单击“下一步”。On the Getting Started page, select This server (server name) and click Next.

  4. 在“选择恢复模式”页上,选择“个别文件和文件夹”,然后单击“下一步”以开始恢复点选择过程。On the Select Recovery Mode page, select Individual files and folders and then click Next to begin the recovery point selection process.

  5. 在“选择卷和日期”页上,选择包含想要还原的文件或文件夹的卷,然后单击“装载”。On the Select Volume and Date page, select the volume that contains the files or folders you want to restore, and click Mount. 选择日期,然后从下拉菜单中选择与恢复点相对应的时间。Select a date, and select a time from the drop-down menu that corresponds to a recovery point. 粗体显示的日期指示当天至少有一个可用的恢复点。Dates in bold indicate the availability of at least one recovery point on that day.

    等待中的备份

    单击“装载”时,Azure 备份会将恢复点用作磁盘。When you click Mount, Azure Backup makes the recovery point available as a disk. 从磁盘浏览和恢复文件。Browse and recover files from the disk.

从恢复点还原项目Restore items from a recovery point

  1. 装载恢复卷后,单击“浏览”打开 Windows 资源管理器,并查找希望恢复的文件和文件夹。Once the recovery volume is mounted, click Browse to open Windows Explorer and find the files and folders you wish to recover.

    等待中的备份

    可以从恢复卷直接打开文件,并验证这些文件。You can open the files directly from the recovery volume and verify the files.

  2. 在 Windows 资源管理器中,复制想要还原的文件和/或文件夹,然后将它们粘贴到服务器的任何所需位置。In Windows Explorer, copy the files and/or folders you want to restore and paste them to any desired location on the server.

    等待中的备份

  3. 完成还原文件和/或文件夹后,在“恢复数据”向导的“浏览和恢复文件”页上,单击“卸载”。When you are finished restoring the files and/or folders, on the Browse and Recovery Files page of the Recover Data wizard, click Unmount.

    等待中的备份

  4. 单击“是”,确认要卸载该卷。Click Yes to confirm that you want to unmount the volume.

    卸载快照后,代理控制台的“作业”窗格中将显示“作业已完成”。Once the snapshot is unmounted, Job Completed appears in the Jobs pane in the agent console.

后续步骤Next steps

这将完成有关将 Windows Server 数据备份和还原到 Azure 的教程。This completes the tutorials on backing up and restoring Windows Server data to Azure. 若要了解有关 Azure 备份的详细信息,请参阅备份加密虚拟机的 PowerShell 示例。To learn more about Azure Backup, see the PowerShell sample for backing up encrypted virtual machines.