Getting Backup Copy Job

You can get a resource representation of a backup copy job created for the backup job with the specified ID.

Request

GET https://<hostname>:4443/v6/Jobs/{jobId}/CopyJob

Request Headers

The request header must contain an authorization token of the current session.

Request Parameters

The following parameter must be specified in the URL of the request:

Parameter

Type

Description

jobId

string

Specifies the identification number of the backup job. For more information on how to get this parameter, see Getting Backup Jobs.

Request Body

None.

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns a response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the response body message: application/json; charset=utf-8

Response Body

In the response body, the server returns a resource representation of the /CopyJobs/{id} resource. For more information, see Getting Backup Copy Jobs.

Example

The example returns a resource representation of the backup copy job created for the backup job with the ID 50f5eff0-9575-451d-8712-ed6439be9b34.

Request:

GET https://abc.tech.local:4443/v6/Jobs/50f5eff0-9575-451d-8712-ed6439be9b34/CopyJob

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

{

 "backupJobId": "50f5eff0-9575-451d-8712-ed6439be9b34",

 "schedulePolicy": {

   "type": "DailyAtTime",

   "dailyType": "Everyday",

   "dailyTime": "22:00:00",

   "backupCopyWindowEnabled": false

 },

 "id": "9d445cce-c81b-4b4d-9c10-a8326f7bb616",

 "repositoryId": "f93dc1b5-5ecd-45ce-b4dd-5519160b6713",

 "name": "Backup2 - copy job",

 "lastRun": "2022-01-20T17:15:53.5378787Z",

 "nextRun": "2022-01-22T22:00:00Z",

 "isEnabled": true,

 "lastStatus": "Success",

 "_links": {

   "self": {

     "href": "/v6/copyJobs/9d445cce-c81b-4b4d-9c10-a8326f7bb616"

   },

   "organization": {

     "href": "/v6/organizations/e60dfb9c-ac58-4463-879f-9855ac35576b"

   },

   "backupJob": {

     "href": "/v6/job/50f5eff0-9575-451d-8712-ed6439be9b34"

   },

   "backupRepository": {

     "href": "/v6/backuprepositories/f93dc1b5-5ecd-45ce-b4dd-5519160b6713"

   }

 }

}