在 Azure Stack 上备份 SharePoint 场Back up a SharePoint farm on Azure Stack

在 Azure Stack 上使用 Azure 备份服务器 (MABS) 将 SharePoint 场备份到 Azure,其方法与备份其他数据源极为类似。You back up a SharePoint farm on Azure Stack to Azure by using Azure Backup Server (MABS) in much the same way that you back up other data sources. Azure 备份提供灵活的备份计划来创建每日、每周、每月或每年备份点,并提供适用于各种备份点的保留策略选项。Azure Backup provides flexibility in the backup schedule to create daily, weekly, monthly, or yearly backup points and gives you retention policy options for various backup points. 利用该技术,不仅可以存储本地磁盘副本以实现快速的恢复时间目标 (RTO),还可以将副本存储到 Azure 以进行经济高效的长期保留。It also provides the capability to store local disk copies for quick recovery-time objectives (RTO) and to store copies to Azure for economical, long-term retention.

MABS 的 Azure 备份支持以下方案:Azure Backup for MABS supports the following scenarios:

工作负载Workload 版本Version Sharepoint 部署SharePoint deployment 保护和恢复Protection and recovery
SharePointSharePoint SharePoint 2016、SharePoint 2013、SharePoint 2010SharePoint 2016, SharePoint 2013, SharePoint 2010 部署为 Azure Stack 虚拟机的 SharePointSharePoint deployed as an Azure Stack virtual machine
--------------
SQL AlwaysOnSQL AlwaysOn
保护 SharePoint 场恢复选项:从磁盘恢复点恢复场、数据库、文件或列表项。Protect SharePoint Farm recovery options: Recovery farm, database, and file or list item from disk recovery points. 从 Azure 恢复点恢复场和数据库。Farm and database recovery from Azure recovery points.

开始之前Before you start

在将 SharePoint 场备份到 Azure 之前,需要确保满足几个条件。There are a few things you need to confirm before you back up a SharePoint farm to Azure.

不支持的功能What's not supported

  • 保护 SharePoint 场的 MABS 不会保护搜索索引或应用程序服务数据库。MABS that protects a SharePoint farm doesn't protect search indexes or application service databases. 需要单独为这些数据库配置保护。You'll need to configure the protection of these databases separately.

  • MABS 不提供横向扩展文件服务器 (SOFS) 共享托管的 SharePoint SQL Server 数据库备份。MABS doesn't provide backup of SharePoint SQL Server databases that are hosted on scale-out file server (SOFS) shares.

先决条件Prerequisites

在继续下一步之前,请确保符合使用 Azure 备份保护工作负载的所有先决条件Before you continue, make sure that you've met all the prerequisites for using Azure Backup to protect workloads. 先决条件包括如下任务:创建备份保管库、下载保管库凭据、安装 Azure 备份代理,以及在保管库中注册 Azure 备份服务器。Some tasks for prerequisites include: create a backup vault, download vault credentials, install Azure Backup Agent, and register the Azure Backup Server with the vault.

其他先决条件和限制:Additional prerequisites and limitations:

  • 默认情况下,在保护 SharePoint 时,所有内容数据库(以及 SharePoint_Config 和 SharePoint_AdminContent* 数据库)都将受到保护。By default when you protect SharePoint, all content databases (and the SharePoint_Config and SharePoint_AdminContent* databases) will be protected. 如果要添加自定义项,(如搜索索引、模板、应用程序服务数据库或用户配置文件服务),则需要单独配置这些项以进行保护。If you want to add customizations such as search indexes, templates or application service databases, or the user profile service you'll need to configure these for protection separately. 确保为包括这些类型的功能或自定义文件的所有文件夹启用保护。Be sure that you enable protection for all folders that include these types of features or customization files.

  • 无法将 SharePoint 数据库作为 SQL Server 数据源进行保护。You can't protect SharePoint databases as a SQL Server data source. 可以从场备份恢复单个数据库。You can recover individual databases from a farm backup.

  • 请记住,MABS 以本地系统的形式运行,并备份 SQL Server 数据库,它需要对帐户具有 SQL Server 的 sysadmin 权限。Remember that MABS runs as Local System, and to back up SQL Server databases it needs sysadmin privileges on that account for the SQL server. 在想要备份的 SQL Server 上,将 NT AUTHORITY\SYSTEM 设置为 sysadmin。On the SQL Server you want to back up, set NT AUTHORITY\SYSTEM to sysadmin.

  • 针对场中的每 1000 万个项,必须有至少 2 GB 的卷空间用于放置 MABS 文件夹。For every 10 million items in the farm, there must be at least 2 GB of space on the volume where the MABS folder is located. 此空间对目录生成是必要的。This space is required for catalog generation. 为了使你能够使用 MABS 恢复特定项(网站集、站点、列表、文档库、文件夹、单个文档与列表项),目录生成将创建一个包含在每个内容数据库中的 URL 列表。To enable you to use MABS to perform a specific recovery of items (site collections, sites, lists, document libraries, folders, individual documents, and list items), catalog generation creates a list of the URLs contained within each content database. 可以在 MABS 管理员控制台的“恢复”任务区域中,查看“可恢复项”窗格中的 URL 列表。You can view the list of URLs in the recoverable item pane in the Recovery task area of the MABS Administrator Console.

  • 在 SharePoint 场中,如果你具有使用 SQL Server 别名配置的 SQL Server 数据库,请在 MABS 将要保护的前端 Web 服务器上安装 SQL Server 客户端组件。In the SharePoint farm, if you have SQL Server databases that are configured with SQL Server aliases, install the SQL Server client components on the front-end Web server that MABS will protect.

  • SharePoint 2013 不支持保护应用程序存储项。Protecting application store items isn't supported with SharePoint 2013.

  • MABS 不支持保护远程 FILESTREAM。MABS doesn't support protecting remote FILESTREAM. FILESTREAM 应是数据库的一部分。The FILESTREAM should be part of the database.

配置备份Configure backup

若要备份 SharePoint 场,请使用 ConfigureSharePoint.exe 配置 SharePoint 保护,然后在 MABS 中创建保护组。To back up the SharePoint farm, configure protection for SharePoint by using ConfigureSharePoint.exe and then create a protection group in MABS.

  1. 运行 ConfigureSharePoint.exe - 此工具将配置 SharePoint VSS 编写器服务 (WSS) 并为保护代理提供 SharePoint 场的凭据。Run ConfigureSharePoint.exe - This tool configures the SharePoint VSS Writer service (WSS) and provides the protection agent with credentials for the SharePoint farm. 部署保护代理之后,可在前端 Web 服务器上的 <MABS Installation Path\>\bin 文件夹中找到 ConfigureSharePoint.exe 文件。After you've deployed the protection agent, the ConfigureSharePoint.exe file can be found in the <MABS Installation Path\>\bin folder on the front-end Web server. 如果有多台 WFE 服务器,只需在其中一台服务器上安装它即可。If you have multiple WFE servers, you only need to install it on one of them. 请按如下所述运行:Run as follows:

    • 在 WFE 服务器上的命令提示符处,导航到 \<MABS installation location\>\\bin\\ 并运行 ConfigureSharePoint \[\-EnableSharePointProtection\] \[\-EnableSPSearchProtection\] \[\-ResolveAllSQLAliases\] \[\-SetTempPath <path>\],其中:On the WFE server, at a command prompt navigate to \<MABS installation location\>\\bin\\ and run ConfigureSharePoint \[\-EnableSharePointProtection\] \[\-EnableSPSearchProtection\] \[\-ResolveAllSQLAliases\] \[\-SetTempPath <path>\], where:

      • EnableSharePointProtection 启用对 SharePoint 场的保护、启用 VSS 编写器,并注册 DCOM 应用程序 WssCmdletsWrapper 的标识,以采用其凭据随此选项一起输入的用户身份运行。EnableSharePointProtection enables protection of the SharePoint farm, enables the VSS writer, and registers the identity of the DCOM application WssCmdletsWrapper to run as a user whose credentials are entered with this option. 此帐户应该是场管理员,也是前端 Web 服务器上的本地管理员。This account should be a farm admin and also local admin on the front-end Web Server.

      • EnableSPSearchProtection 通过使用前端 Web 服务器上的 HKLM\Software\Microsoft\ Microsoft Data Protection Manager\Agent\2.0\ 下的注册表项 SharePointSearchEnumerationEnabled 来保护 WSS 3.0 SP 搜索,并注册 DCOM 应用程序 WssCmdletsWrapper 的标识,以采用其凭据随此选项一起输入的用户身份运行。EnableSPSearchProtection enables the protection of WSS 3.0 SP Search by using the registry key SharePointSearchEnumerationEnabled under HKLM\Software\Microsoft\ Microsoft Data Protection Manager\Agent\2.0\ on the front-end Web Server, and registers the identity of the DCOM application WssCmdletsWrapper to run as a user whose credentials are entered with this option. 此帐户应该是场管理员,也是前端 Web 服务器上的本地管理员。This account should be a farm admin and also local admin on the front-end Web Server.

      • ResolveAllSQLAliases 显示 SharePoint VSS 编写器报告的所有别名,并将它们解析为对应的 SQL Server。ResolveAllSQLAliases displays all the aliases reported by the SharePoint VSS writer and resolves them to the corresponding SQL server. 它还显示这些别名解析的实例名称。It also displays their resolved instance names. 如果服务器已建立镜像,它还将显示镜像服务器。If the servers are mirrored, it will also display the mirrored server. 它报告未解析为 SQL Server 的所有别名。It reports all the aliases that aren't being resolved to a SQL Server.

      • SetTempPath 将环境变量 TEMP 和 TMP 设置为指定的路径。SetTempPath sets the environment variable TEMP and TMP to the specified path. 如果正在恢复大网站集、站点、列表或项目,并且场管理员临时文件夹中的空间不足,则项目级恢复将失败。Item level recovery fails if a large site collection, site, list, or item is being recovered and there's insufficient space in the farm admin Temporary folder. 通过此选项,你可以将临时文件的文件夹路径更改为具有充足空间来存储所恢复的网站集或站点的卷。This option allows you to change the folder path of the temporary files to a volume that has sufficient space to store the site collection or site being recovered.

    • 输入场管理员凭据。Enter the farm administrator credentials. 此帐户应是 WFE 服务器上本地管理员组的成员。This account should be a member of the local Administrator group on the WFE server. 如果场管理员不是本地管理员,请在 WFE 服务器上授予以下权限:If the farm administrator isn't a local admin, grant the following permissions on the WFE server:

      • 向 WSS_Admin_WPG 组授予对 MABS 文件夹 (%Program Files%\Data Protection Manager\DPM\) 的完全控制权限。Grant the WSS_Admin_WPG group full control to the MABS folder (%Program Files%\Data Protection Manager\DPM\).

      • 向 WSS_Admin_WPG 组授予对 MABS 注册表项 (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager) 的读取访问权限。Grant the WSS_Admin_WPG group read access to the MABS Registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager).

      运行 ConfigureSharePoint.exe 后,如果 SharePoint 场管理员凭据发生更改,则需要重新运行。After running ConfigureSharePoint.exe, you'll need to rerun it if there's a change in the SharePoint farm administrator credentials.

  2. 若要创建保护组,请在 MABS 控制台中选择“保护” > “操作” > “创建保护组”,打开“创建新保护组”向导 。To create a protection group, select Protection > Actions > Create Protection Group to open the Create New Protection Group wizard in the MABS console.

  3. 在“选择保护组类型”中,选择“服务器” 。In Select Protection Group Type, select Servers.

  4. 在“选择组成员”中,展开包含 WFE 角色的服务器。In Select Group Members, expand the server that holds the WFE role. 如果有多个 WFE 服务器,请选择在其上安装 ConfigureSharePoint.exe 的服务器。If there's more than one WFE server, select the one on which you installed ConfigureSharePoint.exe.

    展开 SharePoint 服务器时,MABS 会查询 VSS,以查看 MABS 可以保护的数据。When you expand the SharePoint server MABS queries VSS to see what data MABS can protect. 如果 SharePoint 数据库是远程数据库,则 MABS 将连接到该数据库。If the SharePoint database is remote, MABS connects to it. 如果未显示 SharePoint 数据源,请检查 VSS 编写器是否在 SharePoint 服务器和任何远程 SQL Server 上运行,并确保 MABS 代理同时安装在 SharePoint 服务器和远程 SQL Server 上。If SharePoint data sources don't appear, check that the VSS writer is running on the SharePoint server and any remote SQL Server, and ensure the MABS agent is installed on both the SharePoint server and remote SQL Server. 此外,请确保不会像 SQL Server 数据库一样在其他位置保护 SharePoint 数据库。Also, ensure that SharePoint databases aren't being protected elsewhere as SQL Server databases.

  5. 在“选择数据保护方法”中,指定要如何处理短期和长期备份。In Select data protection method, specify how you want to handle short and long-term backup. 短期备份始终是磁盘优先,可以选择使用 Azure 备份从磁盘备份到 Azure 云(短期或长期)。Short-term back up is always to disk first, with the option of backing up from the disk to the Azure cloud with Azure Backup (for short or long-term).

  6. 在“选择短期目标”中,指定要如何备份到磁盘上的短期存储。In Select short-term goals, specify how you want to back up to short-term storage on disk. 在“保持期”中,指定要在磁盘上保留数据的时间长度。In Retention range you specify how long you want to keep the data on disk. 在“同步频率”中,指定要对磁盘运行增量备份的频率。In Synchronization frequency, you specify how often you want to run an incremental backup to disk. 如果不想设置备份间隔,可以选中“就在恢复点之前”,以便 MABS 将计划在每个恢复点之前运行快速完整备份。If you don't want to set a backup interval, you can check just before a recovery point so that MABS will run an express full backup just before each recovery point is scheduled.

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

    “总数据大小”是要备份的数据大小,“要在 MABS 上预配的磁盘空间”是 MABS 为保护组建议的空间 。Total Data size is the size of the data you want to back up, and Disk space to be provisioned on MABS is the space that MABS recommends for the protection group. MABS 根据设置选择理想的备份卷。MABS 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. 预配不足的空间是 MABS 建议添加到卷以便将来继续顺利备份的存储量。Underprovisioned space is the amount of storage MABS suggests you add to the volume, to continue with backups smoothly in the future.

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

  9. 在“选择一致性检查选项”中,选择要如何自动执行一致性检查。In Choose consistency check options, select how you want to automate consistency checks. 可以仅在副本数据变得不一致时执行检查,或者按计划执行检查。You can enable a check to run only when replica data becomes inconsistent, or according to a schedule. 如果不想配置自动的一致性检查,你可以随时运行手动检查,可以右键单击 MABS 控制台的“保护”区域中的保护组,然后选择“执行一致性检查” 。If you don't want to configure automatic consistency checking, you can run a manual check at any time by right-clicking the protection group in the Protection area of the MABS console, and selecting Perform Consistency Check.

  10. 如果选择使用 Azure 备份来备份到云,则在“指定在线保护数据”页上,确保选择要备份到 Azure 的工作负荷。If you've selected to back up to the cloud with Azure Backup, on the Specify online protection data page make sure the workloads you want to back up to Azure are selected.

  11. 在“指定在线备份计划”中,指定增量备份到 Azure 的频率。In Specify online backup schedule, specify how often 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. 每次备份运行时,会通过 MABS 磁盘上存储的备份数据的副本在 Azure 中创建数据恢复点。Each time a backup runs, a data recovery point is created in Azure from the copy of the backed-up data stored on the MABS disk.

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

  13. 在“选择在线复制”中,指定如何进行数据的初始完整复制。In Choose online replication, specify how the initial full replication of data will occur. 可以通过网络复制,也可以执行脱机备份(脱机设定种子)。You can replicate over the network, or do an offline backup (offline seeding). 脱机备份使用 Azure 导入功能。Offline backup uses the Azure Import feature. 了解详细信息Read more.

  14. 在“摘要”页上,查看设置。On the Summary page, review your settings. 选择“创建组”**** 之后,就会进行数据的初始复制。After you select Create Group, initial replication of the data occurs. 完成后,“状态”页上的保护组状态将显示为“正常” 。When it finishes, the protection group status will show as OK on the Status page. 然后,将根据保护组设置开始进行备份。Backup then takes place in line with the protection group settings.

监视Monitoring

创建保护组之后,将进行初始复制,且 MABS 将开始备份和同步 SharePoint 数据。After the protection group's been created, the initial replication occurs and MABS starts backing up and synchronizing the SharePoint data. MABS 将监视初始同步和后续备份。MABS monitors the initial synchronization and subsequent backups. 可以通过以下几种方式监视 SharePoint 数据:You can monitor the SharePoint data in a couple of ways:

  • 使用默认 MABS 监视,可以通过发布警报和配置通知为主动监视设置通知。Using default MABS monitoring, you can set up notifications for proactive monitoring by publishing alerts and configuring notifications. 可通过电子邮件发送关于关键警报、警告警报或信息警报以及实例化恢复的状态的通知。You can send notifications by e-mail for critical, warning, or informational alerts, and for the status of instantiated recoveries.

  • 如果使用 Operations Manager,则可以集中发布警报。If you use Operations Manager, you can centrally publish alerts.

设置监视通知Set up monitoring notifications

  1. 在 MABS 管理员控制台中,选择“监视” > “操作” > “选项” 。In the MABS Administrator Console, select Monitoring > Action > Options.

  2. 选择“SMTP 服务器”,键入服务器名称、端口以及用于发送通知的电子邮件地址。Select SMTP Server, type the server name, port, and email address from which notifications will be sent. 该地址必须为有效地址。The address must be valid.

  3. 在“经过身份验证的 SMTP 服务器”中,键入用户名和密码。In Authenticated SMTP server, type a user name and password. 用户名和密码必须是其“发件人”地址在上一步中进行了描述的用户的域帐户名。The user name and password must be the domain account name of the person whose "From" address is described in the previous step. 否则,发送通知将失败。Otherwise, the notification delivery fails.

  4. 若要测试 SMTP 服务器设置,请选择“发送测试电子邮件”,键入 MABS 要发送测试邮件的目标电子邮件地址,然后选择“确定” 。To test the SMTP server settings, select Send Test E-mail, type the e-mail address where you want MABS to send the test message, and then select OK. 选择“选项” > “通知”,并选择收件人希望收到的警报类型 。Select Options > Notifications and select the types of alerts about which recipients want to be notified. 在“收件人”中,键入 MABS 要发送通知副本的每位收件人的电子邮件地址。In Recipients type the e-mail address for each recipient to whom you want MABS to send copies of the notifications.

发布 Operations Manager 警报Publish Operations Manager alerts

  1. 在 MABS 管理员控制台中,选择“监视” > “操作” > “选项” > “警报发布” > “发布活动警报” In the MABS Administrator Console, select Monitoring > Action > Options > Alert Publishing > Publish Active Alerts

  2. 启用“警报发布”后,用户可能需要将所有现有 MABS 警报将发布到“MABS 警报”事件日志 。After you enable Alert Publishing, all existing MABS alerts that might require a user action are published to the MABS Alerts event log. 在 MABS 服务器上安装的 Operations Manager 代理随后会将这些警报发布到 Operations Manager,并在生成新警报时继续更新控制台。The Operations Manager agent that's installed on the MABS server then publishes these alerts to the Operations Manager and continues to update the console as new alerts are generated.

使用 MABS 从磁盘还原 SharePoint 项Restore a SharePoint item from disk by using MABS

在以下示例中,“恢复 SharePoint 项”被意外删除,需要恢复。In the following example, the Recovering SharePoint item has been accidentally deleted and needs to be recovered. MABS SharePoint 保护 4MABS SharePoint Protection4

  1. 打开“MABS 管理员控制台”。Open the MABS Administrator Console. MABS 保护的所有 SharePoint 场都在“保护”选项卡中显示。All SharePoint farms that are protected by MABS are shown in the Protection tab.

    MABS SharePoint 保护 3

  2. 若要开始恢复该项,请选择“恢复”选项卡。To begin to recover the item, select the Recovery tab.

    MABS SharePoint 保护 5

  3. 可以通过在恢复点范围内执行基于通配符的搜索,在 SharePoint 中搜索“恢复 SharePoint 项”。You can search SharePoint for Recovering SharePoint item by using a wildcard-based search within a recovery point range.

    MABS SharePoint 保护 6

  4. 从搜索结果中选择相应的恢复点,单击右键该项,并选择“恢复”。Select the appropriate recovery point from the search results, right-click the item, and then select Recover.

  5. 还可以浏览各个恢复点,并选择要恢复的数据库或项。You can also browse through various recovery points and select a database or item to recover. 选择“日期 > 恢复时间”,并选择正确的“数据库 > SharePoint 场 > 恢复点 > 项”。Select Date > Recovery time, and then select the correct Database > SharePoint farm > Recovery point > Item.

    MABS SharePoint 保护 7

  6. 右键单击该项,并选择“恢复”打开“恢复向导”。Right-click the item, and then select Recover to open the Recovery Wizard. 选择“下一页”。Select Next.

    复查恢复选择

  7. 选择用户要执行的恢复类型,然后选择“下一步”。Select the type of recovery that you want to perform, and then select Next.

    恢复类型

    备注

    示例中所选的“恢复到原始”会将该项恢复到原始 SharePoint 站点。The selection of Recover to original in the example recovers the item to the original SharePoint site.

  8. 选择要使用的“恢复过程”。Select the Recovery Process that you want to use.

    • 如果 SharePoint 场未更改,并且与正在还原的恢复点相同,请选择“不使用恢复场进行恢复”。Select Recover without using a recovery farm if the SharePoint farm hasn't changed and is the same as the recovery point that's being restored.

    • 如果 SharePoint 场自创建恢复点后已更改,请选择“使用恢复场进行恢复” 。Select Recover using a recovery farm if the SharePoint farm has changed since the recovery point was created.

      恢复过程

  9. 提供暂时恢复数据库的暂存 SQL Server 实例位置,并在要恢复该项的 MABS 和运行 SharePoint 的服务器上提供暂存文件共享。Provide a staging SQL Server instance location to recover the database temporarily, and provide a staging file share on MABS and the server that's running SharePoint to recover the item.

    暂存位置 1

    MABS 会将托管 SharePoint 项的内容数据库附加到临时 SQL Server 实例。MABS attaches the content database that's hosting the SharePoint item to the temporary SQL Server instance. MABS 将从内容数据库恢复该项,并将它放在 MABS 上的暂存文件位置。From the content database, it recovers the item and puts it on the staging file location on MABS. 现在,需要将暂存位置中的已恢复项导出到 SharePoint 场上的暂存位置。The recovered item that's on the staging location now needs to be exported to the staging location on the SharePoint farm.

    暂存位置 2

  10. 选择“指定恢复选项”,并将安全设置应用到 SharePoint 场,或应用恢复点的安全设置。Select Specify recovery options, and apply security settings to the SharePoint farm or apply the security settings of the recovery point. 选择“下一页”。Select Next.

    恢复选项

    备注

    可以选择限制网络带宽使用率。You can choose to throttle the network bandwidth usage. 这可以在生产时段最大程度地降低对生产服务器的影响。This minimizes impact to the production server during production hours.

  11. 复查摘要信息,并选择“恢复”以开始恢复文件。Review the summary information, and then select Recover to begin recovery of the file.

    恢复摘要

  12. 现在,在“MABS 管理员控制台”中选择“监视”选项卡以查看恢复的“状态”。 Now select the Monitoring tab in the MABS Administrator Console to view the Status of the recovery.

    恢复状态

    备注

    文件现已还原。The file is now restored. 可以刷新 SharePoint 站点来检查已还原的文件。You can refresh the SharePoint site to check the restored file.

使用 MABS 从 Azure 还原 SharePoint 数据库Restore a SharePoint database from Azure by using MABS

  1. 若要恢复 SharePoint 内容数据库,请浏览各个恢复点(如上所示),并选择要还原的恢复点。To recover a SharePoint content database, browse through various recovery points (as shown previously), and select the recovery point that you want to restore.

    MABS SharePoint 保护 8

  2. 双击 SharePoint 恢复点以显示可用的 SharePoint 目录信息。Double-click the SharePoint recovery point to show the available SharePoint catalog information.

    备注

    由于 SharePoint 场在 Azure 中受长期保留保护,因此 MABS 服务器上没有可用的目录信息(元数据)。Because the SharePoint farm is protected for long-term retention in Azure, no catalog information (metadata) is available on the MABS server. 这样,每当需要恢复时间点 SharePoint 内容数据库时,都需要重新编录 SharePoint 场。As a result, whenever a point-in-time SharePoint content database needs to be recovered, you need to catalog the SharePoint farm again.

  3. 选择“重新编录”。Select Re-catalog.

    MABS SharePoint 保护 10

    此时显示“云重新编录”状态窗口。The Cloud Recatalog status window opens.

    MABS SharePoint 保护 11

    完成编录后,状态更改为“成功” 。After cataloging is finished, the status changes to Success. 选择“关闭” 。Select Close.

    MABS SharePoint 保护 12

  4. 选择 MABS“恢复”选项卡中显示的 SharePoint 对象,以获取内容数据库结构。Select the SharePoint object shown in the MABS Recovery tab to get the content database structure. 右键单击相应的项,并选择“恢复”。Right-click the item, and then select Recover.

    MABS SharePoint 保护 13

  5. 此时,请按照本文前面介绍的恢复步骤,从磁盘恢复 Sharepoint 内容数据库。At this point, follow the recovery steps earlier in this article to recover a SharePoint content database from disk.

切换前端 Web 服务器Switching the Front-End Web Server

如果你有多个前端 Web 服务器,并且希望切换 MABS 用于保护场的服务器,请按照说明进行操作:If you have more than one front-end web server, and want to switch the server that MABS uses to protect the farm, follow the instructions:

以下过程使用具有两个前端 Web 服务器(Server1 和 Server2)的服务器场的示例 。The following procedure uses the example of a server farm with two front-end Web servers, Server1 and Server2. MABS 使用 Server1 保护场。MABS uses Server1 to protect the farm. 将 MABS 使用的前端 Web 服务器更改为 Server2,以便可以从场中删除 Server1 。Change the front-end Web server that MABS uses to Server2 so that you can remove Server1 from the farm.

备注

如果 MABS 用于保护场的前端 Web 服务器不可用,请使用以下过程,从步骤 4 开始操作来更改前端 Web 服务器。If the front-end Web server that MABS uses to protect the farm is unavailable, use the following procedure to change the front-end Web server by starting at step 4.

更改 MABS 用于保护场的前端 Web 服务器To change the front-end Web server that MABS uses to protect the farm

  1. 通过在命令提示符处运行以下命令,在 Server1 上停止 SharePoint VSS 编写器服务:Stop the SharePoint VSS Writer service on Server1 by running the following command at a command prompt:

    stsadm -o unregisterwsswriter
    
  2. 在 Server1 上,打开“注册表编辑器”并导航到以下项:On Server1, open the Registry Editor and navigate to the following key:

    HKLM\System\CCS\Services\VSS\VssAccessControlHKLM\System\CCS\Services\VSS\VssAccessControl

  3. 检查 VssAccessControl 子项中列出的所有值。Check all values listed in the VssAccessControl subkey. 如果任何条目的数值数据为 0,并且另一个 VSS 编写器正在关联的帐户凭据下运行,请将数值数据更改为 1。If any entry has a value data of 0 and another VSS writer is running under the associated account credentials, change the value data to 1.

  4. 在 Server2 上安装保护代理。Install a protection agent on Server2.

    警告

    如果两个服务器位于同一域中,则只能切换 Web 前端服务器。You can only switch Web front-end servers if both the servers are on the same domain.

  5. 在 Server2 上的命令提示符处,将目录更改为 _MABS installation location_\bin\ 并运行 ConfigureSharepoint。On Server2, at a command prompt, change the directory to _MABS installation location_\bin\ and run ConfigureSharepoint. 有关 ConfigureSharePoint 的详细信息,请参阅配置备份For more information about ConfigureSharePoint, see Configure backup.

  6. 选择服务器场所属的保护组,然后选择“修改保护组”。Select the protection group that the server farm belongs to, and then select Modify protection group.

  7. 在“修改组”向导中,在“选择组成员”页上展开 Server2 并选择服务器场,然后完成向导。In the Modify Group Wizard, on the Select Group Members page, expand Server2 and select the server farm, and then complete the wizard.

    这将启动一致性检查。A consistency check will start.

  8. 如果执行了步骤 6,那么现在可以从保护组中删除该卷。If you performed step 6, you can now remove the volume from the protection group.

后续步骤Next steps