We are trying to get the result of individual server backup status(example: Success/Failure) using REST API. However, we tried below REST APIs and we get multiple API links in the response.
Example:
API 1- (backups): https://xyz.com:1234/api/backups/ (Response below)
Code: Select all
{
"Links": [
{
"Rel": "Up",
"Href": "https://xyz.com:1234/api/backupServers/f8c72d42-1307-48af-a4d4-37ca42ad0fef",
"Name": "xyz.com",
"Type": "BackupServerReference"
},
{
"Rel": "Up",
"Href": "https://xyz.com:1234/api/repositories/bb46742a-3bea-43a3-83bc-7fb330071630",
"Name": "Scale-out Backup Repository",
"Type": "RepositoryReference"
},
{
"Rel": "Alternate",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82?format=Entity",
"Name": "Daily Backup to HDD -IN-GGN002 LA00008B",
"Type": "Backup"
},
{
"Rel": "Down",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82/restorePoints",
"Name": null,
"Type": "RestorePointReferenceList"
},
{
"Rel": "Down",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82/backupFiles",
"Name": null,
"Type": "BackupFileReferenceList"
}
],
"UID": "urn:veeam:Backup:52ac6f4e-5f13-405a-8c54-fe7411b99e82",
"Name": "Daily Backup to HDD -IN-GGN002 LA00008B",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82",
"Type": "BackupReference"
}
API 2 - (backups{ID}): https://xyz.com:1234/api/backups/52ac6f ... 7411b99e82 (Response below)
Code: Select all
{
"Links": [
{
"Rel": "Up",
"Href": "https://xyz.com:1234/api/backupServers/f8c72d42-1307-48af-a4d4-37ca42ad0fef",
"Name": "XYZ.com",
"Type": "BackupServerReference"
},
{
"Rel": "Up",
"Href": "https://xyz.com:1234/api/repositories/bb46742a-3bea-43a3-83bc-7fb330071630",
"Name": "Scale-out Backup Repository",
"Type": "RepositoryReference"
},
{
"Rel": "Alternate",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82?format=Entity",
"Name": "Daily Backup to HDD -IN-GGN002 LA00008B",
"Type": "Backup"
},
{
"Rel": "Down",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82/restorePoints",
"Name": null,
"Type": "RestorePointReferenceList"
},
{
"Rel": "Down",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82/backupFiles",
"Name": null,
"Type": "BackupFileReferenceList"
}
],
"UID": "urn:veeam:Backup:52ac6f4e-5f13-405a-8c54-fe7411b99e82",
"Name": "Daily Backup to HDD -IN-GGN002 LA00008B",
"Href": "https://xyz.com:1234/api/backups/52ac6f4e-5f13-405a-8c54-fe7411b99e82",
"Type": "BackupReference"
}
Concern over here is, we aren’t able to narrow down to the correct API where we can get individual server VEM backup status e.g., (success/failure).
Could you please help me to get the correct API where I can get just the Individual server VEM backup status only.
Thanking you with Anticipation.
Regards
Swaroop Yellayi