Azure Backup Center – Azure虚拟机中的SQL – 用于监视的备份警报

huangapple go评论44阅读模式
英文:

Azure Backup Center - SQL in Azure VM - Backup Alerts for monitoring

问题

在Azure备份中心,我们已经为我们的SQL数据库在Azure虚拟机上设置了备份作业。我可以在备份中心中看到备份作业。此外,在恢复服务保管库中,我可以在“备份项 - Azure VM中的SQL”下找到这些作业。
在Azure监视 - 活动日志中,我只能获取有关Azure虚拟机备份的(成功和/或失败)信息。要获取有关SQL作业的成功信息,除非我们手动启动作业,否则无法找到。
是否有办法在监视中获取有关SQL备份作业的成功信息?也许通过诊断设置或Log Analytics工作区?

英文:

In Azure Backup Center, we have set up SQL in Azure VM backup jobs for our sql databases. I can see the backup jobs in the backup center. Also in the Recovery Services vault I find the jobs under Backup Items - Sql in Azure VM.
In Azure Monitor - Activity log, I only get (success and/or failure) information about the Azure Virtual machines backup. Succes information about the SQL jobs can't be found, unless we start the job manually.

Is there a way to get success information about SQL backup jobs in monitor?
Maybe through Diagnostic setting or Log Analytics workspace?   

答案1

得分: 0

根据您的要求,以下是翻译好的部分:

  • AFAIK Azure Monitor does provide success information for SQL backup jobs.
    (根据我所知,Azure Monitor确实提供了SQL备份作业的成功信息。)

  • To obtain success information regarding SQL backup jobs in Azure Monitor you can use the Diagnostic Settings or Log Analytics workspace.
    (要获取有关Azure Monitor中SQL备份作业的成功信息,您可以使用诊断设置或Log Analytics工作区。)

  • It may helps refer this document and use this query as mentioned in the document.
    (您可以参考此文档,并按照文档中提到的方式使用此查询。)

  • All successful SQL log backup jobs
    (所有成功的SQL日志备份作业)

英文:

AFAIK Azure Monitor does provide success information for SQL backup jobs.

To obtain success information regarding SQL backup jobs in Azure Monitor you can use the Diagnostic Settings or Log Analytics workspace.

Azure Backup Center – Azure虚拟机中的SQL – 用于监视的备份警报
It may helps refer this document and use this query as mentioned in document.

  • All successful SQL log backup jobs

   AddonAzureBackupJobs
      | where JobOperation=="Backup" and JobOperationSubType=="Log"
      | summarize arg_max(TimeGenerated,*) by JobUniqueId
      | where JobStatus=="Completed"
      | join kind=inner
      (
          CoreAzureBackup
          | where OperationName == "BackupItem"
          | where BackupItemType=="SQLDataBase" and BackupManagementType=="AzureWorkload"
          | distinct BackupItemUniqueId, BackupItemFriendlyName
      )
      on BackupItemUniqueId

huangapple
  • 本文由 发表于 2023年2月16日 16:59:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/75469863.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定