Home > Net >  Is there a way to create an alert when an Azure SQL Database backup fails?
Is there a way to create an alert when an Azure SQL Database backup fails?

Time:06-30

Does anyone know how to create an alert when, for whatever reason, an Azure SQL Database backup fails to complete?

CodePudding user response:

You can use Azure Monitor service to create alert for Backup failure.

  1. Search for Monitor in Azure Portal. Click on alerts under Monitor.

enter image description here

  1. Click on Create -> Alert rule.

  2. Click Scope and select the required fields.

enter image description here

  1. Under Condition tab, select the option Activity log and select Signal name as Export an existing database as shown in below image.

enter image description here

  1. Select the alert logic.

enter image description here

  1. Under Action tab, create a New action group or use existing group.

  2. In the action group, create an alerts like Email, SMS or Voice call and click on OK.

enter image description here

  • Related