Getting Backup Job

In this article

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

    Request

    GET https://<hostname>:4443/v6/CopyJobs/{id}/BackupJob

    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

    id

    string

    Specifies the identification number of the backup copy job. For more information on how to get this parameter, see Getting Backup Copy 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 /Jobs/{jobId} resource. For more information, see Getting Backup Jobs.

    Example

    The example returns a resource representation of the backup job for which the backup copy job with the ID 9d445cce-c81b-4b4d-9c10-a8326f7bb616 was created.

    Request:

    GET https://abc.tech.local:4443/v6/CopyJobs/9d445cce-c81b-4b4d-9c10-a8326f7bb616/BackupJob

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "description": "",

     "backupType": "SelectedItems",

     "schedulePolicy": {

       "scheduleEnabled": false,

       "backupWindowEnabled": false,

       "retryEnabled": false

     },

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

     "repositoryId": "5f7c94d0-c339-46f1-9b0f-2b9763ba83de",

     "name": "Backup2",

     "lastRun": "2022-01-21T22:38:43.1027034Z",

     "isEnabled": true,

     "lastStatus": "Stopped",

     "_links": {

       "self": {

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

       },

       "copyJob": {

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

       },

       "organization": {

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

       },

       "backupRepository": {

         "href": "v6/backuprepositories/5f7c94d0-c339-46f1-9b0f-2b9763ba83de"

       },

       "jobsessions": {

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

       },

       "excludedItems": {

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

       },

       "selectedItems": {

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

       }

     }

    }