This is an archive version of the document. To get the most up-to-date information, see the current version.

(GET) /backups/{ID}

On This Page

Returns a resource representation of a backup having the specified ID. The backup is created on or imported to the Veeam backup server connected to Veeam Backup Enterprise Manager.

Request

To get a backup, you need to send the GET HTTP request to the URL of the /backups/{ID} resource.

HTTP Request

GET http://<Enterprise-Manager>:9399/api/backups/{ID}

Request Headers

The request contains the following headers:

Header

Required

Description

X-RestSvcSessionId

True

The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. To learn more, see Authentication and Security.

Request Body

None.

Query Parameters

The following parameters can be used in queries.

Parameter

Type

Description

Can Be Used for Filtering

Can Be Used for Sorting

Uid

URN

ID of the backup resource, for example: urn:veeam:Backup:58c917c7-7b7a-41ff-8676-226656c35c05.

True

True

Name

String

Name of the backup job parent to the backup, for example: SQL Backup.

True

True

JobUid

URN

ID of the backup job parent to the backup, for example:urn:veeam:Job:da736815-4fea-4c8e-b0e1-5ecdbca1c512.

True

True

JobName

String

Name of the backup job parent to the backup, for example: DNS Backup.

True

True

RepositoryUid

URN

ID of the backup repository parent to the backup, for example: urn:veeam:Repository:b609c947-dd30-4295-8b57-cc880329dbd6.

True

True

RepositoryName

Name

Name of the backup repository parent to the backup, for example: Backup Vol 1.

True

True

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns response code 200 Success.

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/xml.

Response Body

In the response body, Veeam Backup Enterprise Manager returns a representation of the /backups/{ID} resource.

Example

The example below returns a resource representation of a backup having ID d5311600-78a5-48d3-8e69-0fed4d3b5744:

Request:

GET http://localhost:9399/api/backups/d5311600-78a5-48d3-8e69-0fed4d3b5744

 

Request Header:

X-RestSvcSessionId   NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj

 

Response:

200 Success

 

Response Body:

<EntityRef xmlns="http://www.veeam.com/ent/v1.0" Type="BackupReference" Href="http://localhost:9399/api/backups/d5311600-78a5-48d3-8e69-0fed4d3b5744" Name="Oracle Backup" UID="urn:veeam:Backup:d5311600-78a5-48d3-8e69-0fed4d3b5744">
 <Links>
   <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02.veeam.local" />
   <Link Rel="Up" Type="RepositoryReference" Href="http://localhost:9399/api/repositories/cbd9a4b6-b9ed-4cd6-a091-75b6481c9d55" Name="Default Backup Repository" />
   <Link Rel="Alternate" Type="Backup" Href="http://localhost:9399/api/backups/d5311600-78a5-48d3-8e69-0fed4d3b5744?format=Entity" Name="Oracle Backup" />
   <Link Rel="Down" Type="RestorePointReferenceList" Href="http://localhost:9399/api/backups/d5311600-78a5-48d3-8e69-0fed4d3b5744/restorePoints" />
 </Links>
</EntityRef>