Forum Discussion
Lucas Chies
Jul 20, 2020Copper Contributor
Query for Azure Backup
Hello All, I'm using the below script to get the backup information, but in this script I can't found were or how can I get the error message, error code and the recommendations message. Can any...
- Jul 24, 2020AddonAzureBackupJobs
| where JobOperation=="Backup"
| summarize arg_max(TimeGenerated,*) by JobUniqueId
| where JobStatus=="Completed"
| join kind=inner
(
CoreAzureBackup
| where OperationName == "BackupItem"
| where BackupItemType=="VM" and BackupManagementType=="IaaSVM"
| distinct BackupItemUniqueId, BackupItemFriendlyName
)
on BackupItemUniqueId
I hope this code helps you out.
GBADARO
Jul 27, 2020Copper Contributor
Tried the same, but neither Error Message nor Recommended action are returned by this query.
GBADARO
Jul 29, 2020Copper Contributor
Hi Everyone,
just to make sure, this thread should be re-opened until a working solution is achieved, right?
just to make sure, this thread should be re-opened until a working solution is achieved, right?
- CliveWatsonJul 30, 2020Former Employee
That's correct, question is still open until you are happy or our collective knowledge is exhausted. I see this data with the query I provided. You can see it working in the demo data set here:
Go to Log Analytics and run query
As to why you don't have it, perhaps its the back up type or other issue. I'm not familiar with backup, so perhaps others will comment?