Get Backup Servers
You can get a representation of a collection of all backup servers
Request
To get a representation of all backup servers in available infrastructures, send the GET HTTPS request to the URL of the /backupServers collection.
HTTPS Request
Request Headers
The request header must contain the authorization token.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Response Body
In the response body, Veeam Service Provider Console returns a representation of the /backupServers collection.
Example
The following request returns a representation of all backup servers.
Request: GET https://localhost:1281/v2/backupServers
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: [ { "id": 2, "name": "BACKUP02", "siteName": "BetaSite2", "serverUid": "34796504-9f99-4937-921e-639c60b88e5d", "agentUid": "75352794-ee98-479e-959e-7f52deea3d73", "isCloudConnect": false, "_links": { "self": { "href": "https://vac:1281/v2/backupServers/2" }, "backupRepositories": [ { "href": "https://vac:1281/v2/backupRepositories/2" }, { "href": "https://vac:1281/v2/backupRepositories/3" } ], "jobs": [ { "href": "https://vac:1281/v2/jobs/2" }, { "href": "https://vac:1281/v2/jobs/1" }, { "href": "https://vac:1281/v2/jobs/3" } ] } }, { "id": 3, "name": "BACKUP01", "siteName": "BetaSite1", "serverUid": "08cc05f5-b0fb-4e63-832c-e3a8d8fe3f96", "agentUid": "4398cecc-8768-474f-8512-8799178cc6df", "isCloudConnect": false, "_links": { "self": { "href": "https://vac:1281/v2/backupServers/3" }, "backupRepositories": [ { "href": "https://vac:1281/v2/backupRepositories/5" }, { "href": "https://vac:1281/v2/backupRepositories/6" } ], "jobs": [ { "href": "https://vac:1281/v2/jobs/7" }, { "href": "https://vac:1281/v2/jobs/8" }, { "href": "https://vac:1281/v2/jobs/6" }, { "href": "https://vac:1281/v2/jobs/9" }, { "href": "https://vac:1281/v2/jobs/10" }, { "href": "https://vac:1281/v2/jobs/5" } ] } } ] |