question

tbgangav-MSFT avatar image
0 Votes"
tbgangav-MSFT asked ·

RestAPI Query SQL Server BackupJobs

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://docs.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
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered ·
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.