Veritas NetBackup™ WebSocket Service (NBWSS) Reference Guide

Last Published:
Product(s): NetBackup (8.2, 8.1.2, 8.1.1)

Other NetBackup notification messages

The following messages are the notifications that NetBackup sent to an endpoint for a restore job and for image deletion. The third message is an example of multiple notifications in one message.

Restore job done
{
      "version": "1.0",
      "id": "8E909940-AD50-4543-8AEA-B52003818925",
      "type": "NOTIFICATION",
      "subType": "REQUEST",
      "timeStamp": 1459812309,
      "payload": [
            {
                  "notificationType": "INFO",
                  "object": "JOB",
                  "data": [
                        {
                              "scheduleType": "ST_FULL",
                              "clientName": "masterserver2.domain.com",
                              "status": 0,
                              "startTime": 1459830185,
                              "state": "DONE",
                              "policyName": "",
                              "parentJobId": 147,
                              "jobId": 147,
                              "policyType": "STANDARD",
                              "jobType": "RESTORE"
                        }
                  ]
            }
      ]
}
Image deletion
{
      "version": "1.0",
      "id": "15AAF7BA-C082-4996-A55D-7C4745D4D1E9",
      "type": "NOTIFICATION",
      "subType": "REQUEST",
      "timeStamp": 1459814495,
      "payload": [
            {
                  "notificationType": "INFO",
                  "object": "IMAGE",
                  "data": [
                        {
                              "clientType": "VMWARE",
                              "clientName": "localhost",
                              "backupTime": 1458601200,
                              "createdTime": 1459832492,
                              "operationId": "DELETE",
                              "backupId": "localhost_1458601200"
                        }
                  ]
            }
      ]
}

Note: If the NetBackup master server uses Auto Image Replication (AIR), the following notification may be issued regarding image deletion:

{
  "version": "1.0",
  "id": "E38DD102-98BC-4590-8E09-85B0A0EA31CE",
  "type": "NOTIFICATION",
  "subType": "REQUEST",
  "timeStamp": 1471471464,
  "payload": [
    {
      "notificationType": "INFO",
      "object": "IMAGE",
      "data": [
        {
          "clientType": "STANDARD",
          "clientName": "localhost",
          "backupTime": 1471469619,
          "createdTime": 1471485862,
          "operationId": "UPDATE",
          "backupId": "localhost_1471469619"
        },
        {
          "clientType": "STANDARD",
          "clientName": "localhost",
          "backupTime": 1471469619,
          "createdTime": 1471485862,
          "operationId": "NO_LOCAL_COPY_AVAILABLE",
          "backupId": "localhost_1471469619"
        }
      ]
    }
  ]
}
Multiple notifications in one message
{
      "version": "1.0",
      "id": "608FE0C1-B03C-421D-8876-E3730A7855AF",
      "type": "NOTIFICATION",
      "subType": "REQUEST",
      "timeStamp": 1459811724,
      "payload": [
            {
                  "notificationType": "INFO",
                  "object": "JOB",
                  "data": [
                        {
                              "scheduleType": "ST_FULL",
                              "clientName": "DummyTestVM",
                              "status": 0,
                              "startTime": 1459829698,
                              "state": "DONE",
                              "policyName": "vmware2",
                              "parentJobId": 145,
                              "jobId": 146,
                              "policyType": "VMWARE",
                              "jobType": "BACKUP"
                        }
                  ]
            },
            {
                  "notificationType": "INFO",
                  "object": "IMAGE",
                  "data": [
                        {
                              "clientType": "VMWARE",
                              "clientName": "DummyTestVM",
                              "backupTime": 1459811698,
                              "createdTime": 1459829720,
                              "operationId": "UPDATE",
                              "backupId": "DummyTestVM_1459811698"
                        },
                        {
                              "clientType": "VMWARE",
                              "clientName": "DummyTestVM",
                              "backupTime": 1459811686,
                              "createdTime": 1459829721,
                              "operationId": "UPDATE",
                              "backupId": "DummyTestVM_1459811686"
                        }
                  ]
            }
      ]
}

The following topic contains additional information on notifications:

See NBWSS notifications.