您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

监视和管理恢复服务保管库Monitor and manage Recovery Services vaults

本文介绍如何使用恢复服务保管库的“概述”仪表板来监视和管理恢复服务保管库。This article explains how to use the Recovery Services vault Overview dashboard to monitor and manage your Recovery Services vaults. 从列表中打开恢复服务保管库时,将打开所选保管库的“概述”仪表板。When you open a Recovery Services vault from the list, the Overview dashboard for the selected vault, opens. 仪表板提供有关该保管库的各种详细信息。The dashboard provides various details about the vault. 其中的磁贴显示:严重和警告性警报的状态、正在进行的和失败的备份作业,以及本地冗余存储 (LRS) 和异地冗余存储 (GRS) 使用量。There are tiles that show: the status of critical and warning alerts, in-progress and failed backup jobs, and the amount of locally redundant storage (LRS) and geo redundant storage (GRS) used. 如果将 Azure VM 备份到保管库,则“备份预检查状态”磁贴将显示所有严重或警告项If you back up Azure VMs to the vault, the Backup Pre-Check Status tile displays any critical or warning items. 下图是 Contoso-vault 的“概述”仪表板。The following image is the Overview dashboard for Contoso-vault. “备份项”磁贴显示有九个项已注册到保管库。The Backup Items tile shows there are nine items registered to the vault.

恢复服务保管库仪表板

本文的先决条件是:一个 Azure 订阅、一个恢复服务保管库,并且至少为该保管库配置了一个备份项。The prerequisites for this article are: an Azure subscription, a Recovery Services vault, and that there is at least one backup item configured for the vault.

备注

Azure 具有可用于创建和处理资源的两个不同的部署模型:Azure 资源管理器部署模型和经典部署模型Azure has two different deployment models you can use to create and work with resources: Azure Resource Manager and classic. 本文介绍如何使用 Resource Manager 部署模型。This article covers the use of the Resource Manager deployment model. 我们建议新部署,而不是经典部署模型资源管理器部署模型。We recommend the Resource Manager deployment model for new deployments instead of the classic deployment model.

打开恢复服务保管库Open a Recovery Services vault

若要监视警报或查看有关某个恢复服务保管库的管理数据,请打开该保管库。To monitor alerts, or view management data about a Recovery Services vault, open the vault.

  1. 使用 Azure 订阅登录到 Azure 门户Sign in to the Azure Portal using your Azure subscription.

  2. 在门户中,单击“所有服务”。In the portal, click All services.

    打开恢复服务保管库列表步骤 1

  3. 在“所有服务”对话框中,键入“恢复服务”。In the All services dialog box, type Recovery Services. 开始键入时,会根据输入筛选该列表。As you begin typing, the list filters based on your input. 当“恢复服务保管库”选项出现时,请单击它,以打开订阅中恢复服务保管库的列表。When the Recovery Services vaults option appears, click it to open the list of Recovery Services vaults in your subscription.

    创建恢复服务保管库步骤 1

  4. 在保管库列表中,单击某个保管库打开其“概述”仪表板。From the list of vaults, click a vault to open its Overview dashboard.

    恢复服务保管库仪表板

    “概述”仪表板使用磁贴来提供警报和备份作业数据。The Overview dashboard uses tiles to provide alerts and backup job data.

监视备份作业和警报Monitor backup jobs and alerts

恢复服务保管库的“概述”仪表板提供磁贴来显示“监视”和“使用情况”信息。The Recovery Services vault Overview dashboard provides tiles for Monitoring and Usage information. “监视”部分的磁贴显示“严重”和“警告”警报,以及“正在进行”和“失败”的作业。The tiles in the Monitoring section display Critical and Warning alerts, and In progress and Failed jobs. 单击特定的警报或作业可打开已根据该作业或警报进行筛选的“备份警报”或“备份作业”菜单。Click a particular alert or job to open the Backup Alerts or Backup Jobs menu, filtered for that job or alert.

备份仪表板任务

“监视”部分显示预定义的“备份警报”和“备份作业”查询的结果。The Monitoring section shows the results of predefined Backup Alerts and Backup Jobs queries. “监视”磁贴提供有关以下项的最新信息:The Monitoring tiles provide up-to-date information about:

  • 备份作业的“严重”和“警告”警报(过去 24 小时)Critical and Warning alerts for Backup jobs (in the last 24 hours)
  • Azure VM 的预检查状态 - 有关预检查状态的完整信息,请参阅有关备份预检查状态的博客文章Pre-check status for Azure VMs - For complete information on the pre-check status, see the Backup blog on Backup Pre-check status.
  • 正在进行的备份作业,以及失败的作业(过去 24 小时)。The Backup jobs in progress, and jobs that have failed (in the last 24 hours).

“使用情况”磁贴提供:The Usage tiles provide:

  • 为保管库配置的备份项数。The number of Backup items configured for the vault.
  • 保管库消耗的 Azure 存储量(按 LRS 和 GRS 划分)。The Azure storage (separated by LRS and GRS) consumed by the vault.

单击磁贴(“备份存储”除外)可打开关联的菜单。Click the tiles (except Backup Storage) to open the associated menu. 在上图中,“备份警报”磁贴显示了三个“严重”警报。In the image above, the Backup Alerts tile shows three Critical alerts. 在“备份警报”磁贴中单击“严重”警报行会打开根据“严重”警报筛选的“备份警报”。Clicking the Critical alerts row in the Backup Alerts tile, opens the Backup Alerts filtered for Critical alerts.

根据严重警报筛选的“备份警报”菜单

上图中的“备份警报”菜单按以下条件筛选:“状态”为“活动”,“严重性”为“严重”,时间为前 24 小时。The Backup Alerts menu, in the image above, is filtered by: Status is Active, Severity is Critical, and time is the previous 24 hours.

管理备份警报Manage Backup alerts

若要访问“备份警报”菜单,请在恢复服务保管库菜单中单击“备份警报”。To access the Backup Alerts menu, in the Recovery Services vault menu, click Backup Alerts.

备份警报

“备份警报”报告列出保管库的警报。The Backup Alerts report lists the alerts for the vault.

备份警报

警报Alerts

“备份警报”列表显示已筛选的警报的选定信息。The Backup Alerts list displays the selected information for the filtered alerts. 在“备份警报”菜单中,可根据“严重”或“警告”警报进行筛选。In the Backup Alerts menu, you can filter for Critical or Warning alerts.

警报级别Alert Level 生成警报的事件Events that generate alerts
严重Critical 出现以下情况时,会收到严重警报:备份作业失败、恢复作业失败,以及在服务器上停止保护但保留了数据时。You receive critical alerts when: Backup jobs fail, recovery jobs fail, and when you stop protection on a server, but retain the data.
警告Warning 出现以下情况时,会收到警告性警报:备份作业完成但出现警告,例如,由于出现损坏问题,有 100 个以下的文件未备份;或者成功备份了 1,000,000 个以上的文件。You receive warning alerts when: Backup jobs complete with warnings, for example when fewer than 100 files are not backed up due to corruption issues, or when greater than 1,000,000 files are successfully backed up).
信息性Informational 目前未使用信息性警报。currently, no informational alerts are in use.

查看警报详细信息Viewing alert details

“备份警报”报告跟踪每条警报的八项详细信息。The Backup Alerts report tracks eight details about each alert. 使用“选择列”按钮可以编辑报告中的详细信息。Use the Choose columns button to edit the details in the report.

备份警报

默认情况下,除“最近发生时间”以外所有的详细信息会显示在报告中。By default, all details, except Latest Occurrence Time, appear in the report.

  • 警报Alert
  • 备份项Backup Item
  • 受保护的服务器Protected Server
  • 严重性Severity
  • DurationDuration
  • 创建时间Creation Time
  • 状态Status
  • 最近发生时间Latest Occurrence Time

更改警报报告中的详细信息Change the details in alerts report

  1. 若要更改报告信息,请在“备份警报”菜单中单击“选择列”。To change the report information, in the Backup Alerts menu, click Choose columns.

    备份警报

    此时会打开“选择列”菜单。The Choose columns menu opens.

  2. 在“选择列”菜单中,选择要在报告中显示的详细信息。In the Choose columns menu, choose the details you want to appear in the report.

    “选择列”菜单

  3. 单击“完成”以保存更改,并关闭“选择列”菜单。Click Done to save your changes and close the Choose columns menu.

    如果做了更改但不想要保留更改,请单击“重置”以将选定的设置还原到上次保存的配置。If you make changes, but don't want to keep the changes, click Reset to return the selected to the last saved configuration.

更改警报报告中的筛选器Change the filter in alerts report

使用“筛选器”菜单可以更改警报的“严重性”、“状态”、“开始时间”和“结束时间”。Use the Filter menu to change the Severity, Status, Start time and End time for the alerts.

备注

编辑“备份警报”筛选器不会更改保管库“概述”仪表板中的“严重”或“警告”警报。Editing the Backup Alerts filter doesn't change the Critical or Warning alerts in the vault Overview dashboard.

  1. 若要更改“备份警报”筛选器,请在“备份警报”菜单中单击“筛选器”。To change the Backup Alerts filter, in the Backup Alerts menu, click Filter.

    选择筛选器菜单

    此时会显示“筛选器”菜单。The Filter menu appears.

    选择筛选器菜单

  2. 编辑“严重性”、“状态”、“开始时间”或“结束时间”,然后单击“完成”以保存更改。Edit the Severity, Status, Start time, or End time, and click Done to save your changes.

配置警报的通知Configuring notifications for alerts

配置通知可在发生“警告”或“严重”警报时生成电子邮件。Configure notifications to generate emails when a Warning or Critical alert occurs. 可以每隔一小时或者在发生特定的警报时发送电子邮件警报。You can send email alerts each hour, or when a particular alert occurs.

筛选警报

电子邮件通知默认已打开By default, Email notifications are On. 单击“关闭”会停止电子邮件通知。Click Off to stop the email notifications.

如果不想要分组,或者没有许多可能生成警报的项,请在“通知”控件上选择“按警报”。On the Notify control, choose Per Alert if don't want grouping or don't have many items that could generate alerts. 每个警报均会发送一条通知(默认设置),此外还会立即发送解决方法电子邮件。Every alert results in one notification (the default setting), and a resolution email is sent immediately.

如果选择“每小时摘要”,则会向收件人发送一封电子邮件,解释过去一小时生成的未解决警报。If you select Hourly Digest, an email is sent to the recipients explaining the unresolved alerts generated in the last hour. 在该小时结束时,会发送解决方法电子邮件。A resolution email is sent out at the end of the hour.

选择用于生成电子邮件的警报严重性(“严重”或“警告”)。Choose the alert severity (Critical or Warning) used to generate email. 当前没有“信息”警报。Currently there are no Information alerts.

管理备份项Manage Backup items

恢复服务保管库保存许多类型的备份数据。A Recovery Services vault holds many types of backup data. 有关备份类型的完整列表,请参阅可以备份的应用程序和工作负荷For a complete list of backup types, see Which applications and workloads can be backed up. 若要管理各种服务器、计算机、数据库和工作负荷,请单击“备份项”磁贴查看保管库的内容。To manage the various servers, computers, databases, and workloads, click the Backup Items tile to view the contents of the vault.

备份项磁贴

此时会打开已按“备份管理类型”组织的“备份项”列表。The list of Backup Items, organized by Backup Management Type, opens.

备份项列表

若要浏览特定类型的受保护实例,请在“备份管理类型”列中单击该项。To explore a specific type of protected instance, click the item in the Backup Management Type column. 例如,上图的保管库中保护了两个 Azure 虚拟机。For example, in the above image, there are two Azure virtual machines protected in this vault. 单击“Azure 虚拟机”会打开此保管库中受保护虚拟机的列表。Clicking Azure Virtual Machine, opens the list of protected virtual machines in this vault.

备份类型列表

虚拟机列表包含有用的数据:关联的资源组、以前的备份预检查、上次备份状态,以及最近还原点的日期。The list of virtual machines has helpful data: the associated Resource Group, previous Backup Pre-Check, Last Backup Status, and date of the most recent Restore Point. 单击最后一列中的省略号会打开用于触发常见任务的菜单。The ellipsis, in the last column, opens the menu to trigger common tasks. 列中提供的有用数据根据备份类型的不同而异。The helpful data provided in columns, is different for each backup type.

备份类型列表

管理备份作业Manage Backup jobs

保管库仪表板中的“备份作业”磁贴显示过去 24 小时“正在进行”或“失败”的作业数。The Backup Jobs tile in the vault dashboard shows the number of jobs that are In Progress, or Failed in the last 24 hours. 磁贴提供“备份作业”菜单的概览。The tile provides a glimpse into the Backup Jobs menu.

设置中的备份项

若要查看有关作业的其他详细信息,请单击“正在进行”或“失败”,打开根据该状态筛选的“备份作业”菜单。To see additional details about the jobs, click In Progress or Failed to open the Backup Jobs menu filtered for that state.

“备份作业”菜单Backup jobs menu

“备份作业”菜单显示有关“项类型”、“操作”、“状态”、“开始时间”和“持续时间”的信息。The Backup Jobs menu displays information about the Item type, Operation, Status, Start Time, and Duration.

若要打开“备份作业”菜单,请在保管库的主菜单中单击“备份作业”。To open the Backup Jobs menu, in the vault's main menu, click Backup Jobs.

设置中的备份项

此时会打开备份作业的列表。The list of Backup jobs opens.

设置中的备份项

“备份作业”菜单显示过去 24 小时针对所有备份类型执行的所有操作的状态。The Backup Jobs menu shows the status for all operations, on all backup types, for the last 24 hours. 使用“筛选器”可更改筛选器。Use Filter to change the filters. 后续部分将介绍筛选器。The filters are explained in the following sections.

若要更改筛选器:To change the filters:

  1. 在保管库的“备份作业”菜单中单击“筛选器”。In the vault Backup Jobs menu, click Filter.

    设置中的备份项

    此时会打开“筛选器”菜单。The Filter menu opens.

    设置中的备份项

  2. 选择筛选器设置,并单击“完成”。Choose the filter settings and click Done. 筛选的列表会根据新设置刷新。The filtered list refreshes based on the new settings.

项类型Item type

“项类型”是受保护实例的备份管理类型。The Item type is the backup management type of the protected instance. 有四种类型,请参阅以下列表。There are four types; see the following list. 可以查看所有项类型,或查看一个项类型。You can view all item types, or one item type. 不能选择两个或三个项类型。You can't select two or three item types. 可用的“项类型”包括:The available Item types are:

  • 所有项类型All item types
  • Azure 虚拟机Azure virtual machine
  • 文件和文件夹Files and folders
  • Azure 存储Azure Storage
  • Azure 工作负荷Azure workload

OperationOperation

可以查看一个操作或所有操作。You can view one operation, or all operations. 不能选择两个或三个操作。You can't select two or three operations. 可用的操作包括:The available Operations are:

  • 所有操作All Operations
  • 注册Register
  • 配置备份Configure backup
  • 备份Backup
  • 还原Restore
  • 禁用备份Disable backup
  • 删除备份数据Delete backup data

状态Status

可以查看所有状态或一种状态。You can view All Status or one. 不能选择两种或三种状态。You can't select two or three statuses. 可用的状态包括:The available statuses are:

  • 所有状态All Status
  • 已完成Completed
  • 正在进行In progress
  • 已失败Failed
  • 已取消Canceled
  • 已完成但出现警告Completed with warnings

开始时间Start time

查询的开始日期和时间。The day and time that the query begins. 默认值为 24 小时。The default is a 24-hour period.

结束时间End time

查询的结束日期和时间。The day and time when the query ends.

导出作业Export jobs

使用“导出作业”可以创建一个包含所有“作业”菜单信息的电子表格。Use Export jobs to create a spreadsheet containing all Jobs menu information. 该电子表格包含一个工作表,其中保存了所有作业的摘要,每个作业有单独的工作表。The spreadsheet has one sheet that holds a summary of all jobs, and individual sheets for each job.

若要将作业信息导出到电子表格,请单击“导出作业”。To export the jobs information to a spreadsheet, click Export jobs. 服务使用保管库名称和日期创建电子表格,但你可以更改名称。The service creates a spreadsheet using the name of the vault and date, but you can change the name.

监视备份使用情况Monitor Backup usage

仪表板中的“备份存储”磁贴显示 Azure 中消耗的存储量。The Backup Storage tile in the dashboard shows the storage consumed in Azure. 具体提供以下存储使用情况:Storage usage is provided for:

  • 与保管库关联的 Cloud LRS 存储使用情况Cloud LRS storage usage associated with the vault
  • 与保管库关联的 Cloud GRS 存储使用情况Cloud GRS storage usage associated with the vault

常见问题Frequently asked questions

多长时间后,门户中会反映 Azure 备份代理作业状态?How long does it take for the Azure backup agent job status to reflect in the portal?

最长可能需要 15 分钟,Azure 门户才会反映 Azure 备份代理作业状态。The Azure portal can take up to 15 mins to reflect the Azure backup agent job status.

备份作业失败后,需要多长时间才会引发警报?When a backup job fails, how long does it take to raise an alert?

Azure 备份失败后,会在 20 分钟内引发警报。An alert is raised within 20 mins of the Azure backup failure.

是否存在配置了通知却不发送电子邮件的情况?Is there a case where an email won’t be sent if notifications are configured?

可以。Yes. 在以下情况下,不会发送通知:In the following situations, notifications are not sent.

  • 已将通知配置为每小时发送,并且在一小时内引发并解决了警报If notifications are configured hourly, and an alert is raised and resolved within the hour
  • 取消了作业When a job is canceled
  • 由于原始备份作业正在进行,另一个备份作业失败If a second backup job fails because the original backup job is in progress

监视问题疑难解答Troubleshooting Monitoring Issues

问题: Azure 备份代理的作业和/或警报未在门户中出现。Issue: Jobs and/or alerts from the Azure Backup agent do not appear in the portal.

故障排除步骤:OBRecoveryServicesManagementAgent 进程将作业和警报数据发送到 Azure 备份服务。Troubleshooting steps: The process, OBRecoveryServicesManagementAgent, sends the job and alert data to the Azure Backup service. 此进程偶尔会被阻塞或关闭。Occasionally this process can become stuck or shutdown.

  1. 若要验证此进程是否未运行,请打开“任务管理器”并检查 OBRecoveryServicesManagementAgent 是否正在运行。To verify the process isn't running, open Task Manager, and check OBRecoveryServicesManagementAgent is running.

  2. 如果此进程未运行,请打开“控制面板”,并浏览服务列表。If the process isn't running, open Control Panel, and browse the list of services. 启动或重启 Microsoft Azure 恢复服务管理代理Start or restart Microsoft Azure Recovery Services Management Agent.

    有关详细信息,请浏览位于以下位置的日志:For further information, browse the logs at:
    <AzureBackup_agent_install_folder>\Microsoft Azure Recovery Services Agent\Temp\GatewayProvider* 例如:<AzureBackup_agent_install_folder>\Microsoft Azure Recovery Services Agent\Temp\GatewayProvider* For example:
    C:\Program Files\Microsoft Azure Recovery Services Agent\Temp\GatewayProvider0.errlog

后续步骤Next steps