RestAPI Query SQL Server BackupJobs

tbgangav-MSFT 10,416 Reputation points
2020-05-14T07:44:37.877+00:00

I want to monitor all my backup jobs with size information and error messages so i use the endpoint "backupJobs" from the recovery services.

https://learn.microsoft.com/en-us/rest/api/backup/backupjobs/list

I get all my VM backups and also backups from my MARS Agents. My problem is, i am not getting any output for my SQL server backups or transaction log backups.

How can I get information about the SQL backups that include at least server name/database, backup amount, return code and error messages?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question] Source: BackupJobs FAQ

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,281 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 46,036 Reputation points Microsoft Employee
    2020-05-14T08:15:19.303+00:00
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.