Question

XRFLIVE on Wed, 12 Jul 2017 11:03:13


hello, I have configured a Backup to Azure restore service vault through the agent. I am doing a backup of Files and Folders. I have also configured the email alerts for every single alert. If i go to Monitoring and reportds > Jobs > Backup Jobs I can see a task failed (But I haven't received any email). If I go to Monitoring and Reportds > Backup Alerts > I don't see any alert. Is it possible to configure and receive an email when a task is failed?

Sponsored



Replies

Stanislav Zhelyazkov on Wed, 12 Jul 2017 11:36:46


Hi,

Only alerts will be send via e-mail so in your case because you do not have alerts you are not receiving e-mails. 

You can configure alerts for jobs as well. One option is to forward Backup reports data to OMS and use OMS alerts to e-mail on failed job. I've touched briefly on this subject in my blog post here: https://cloudadministrator.wordpress.com/2017/06/27/backup-reports-in-azure-backup/

Two additional docs about Backup reports:

https://docs.microsoft.com/en-us/azure/backup/backup-azure-configure-reports

https://docs.microsoft.com/en-us/azure/backup/backup-azure-reports-data-model

Second option is to use Azure Alerts. Every Vault has activity log and in it you can see failed operation. In the example below I have failed Backup operation. I can create Activity log alert as shown. Next time an operation fails in my vault I will have e-mail send.

More on Activity alerts:

https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-activity-log-alerts

The advantage of OMS is that you can have all the data at one place and create more granular alerts.

XRFLIVE on Wed, 12 Jul 2017 13:05:22


Thank you for your help :)

vikranth s on Wed, 12 Jul 2017 14:25:19


In addition to Stanislav.

Q.2 When a backup job fails, how long does it take to raise an alert?


A.2 An alert is raised within 20 mins of the Azure backup failure.


Reference: https://docs.microsoft.com/en-us/azure/backup/backup-azure-manage-windows-server#frequently-asked-questions  

As per new monitoring and alerting feature, job status and updates on job won’t be alerted on as well as user cancelled jobs won’t trigger the alerts.

Alert notification will be sent out only for job which has failed (not user cancelled) or completed with warning.

For more information refer the below link:

Monitor and manage Azure recovery services vaults and servers for Windows machines

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

Stanislav Zhelyazkov on Wed, 12 Jul 2017 15:41:40


I am not sure Alerts work for backup and restore of Azure VMs. Last time I've tested alerts were working only for MAB protected servers.

vikranth s on Thu, 13 Jul 2017 15:34:00


You can configure the alerts for Azure VMs as well. Refer the below link for more information.

Monitor alerts for Azure virtual machine backups

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.