powershell - azure recovery services notifications -


i have set microsoft azure backup protect windows servers under recovery services. know can setup retention schedules , schedules via local gui , powershell does know of way have azure send email notifications of successful and/or failed backups through service. of servers local , not azure vms.

last section in article. should allow emails azure protect jobs (yes, i'm calling azure protect, , wish ms - azure backup whole different product, , combine classic/arm, , nigh impossible find right information)

seems way. i'm sure ms have feature implemented eventually.

ps c:\> $actionemail = new-azurermalertruleemail -customemail contoso@microsoft.com ps c:\> add-azurermlogalertrule -name backupfailedalert -location "east us" -resourcegroup recoveryservices-dp2rcxugws3mljf4lkpi3a3omj2di4srjk6hijh22hfihzvvelrq-east-us -operationname microsoft.backup/backupvault/backup -status failed -targetresourceid /subscriptions/86eeac34-eth9a-4de3-84db-7a27d121967e/resourcegroups/recoveryservices-dp2rcxugws3mljf4lkpi3a3omj2di4srjk6hijh22hfihzvvelrq-east-us/providers/microsoft.backupbvtd2/backupvault/trinadhvault -actions $actionemail 

https://azure.microsoft.com/en-us/documentation/articles/backup-azure-manage-vms-classic/


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -