Getting Started
Introduction
The NetBackup API provides a web-service based interface to configure and administer NetBackup, the industry leader in data protection for enterprise environments.
NetBackup API is RESTful
The NetBackup API is built on the Representational State Transfer (REST) architecture, which is the most widely used style for building APIs. The NetBackup API uses the HTTP protocol to communicate with NetBackup. The NetBackup API is therefore easy to use in cloud-based applications, as well as across multiple platforms and programming languages.
JSON message format
The NetBackup API uses JavaScript Object Notation (JSON) as the message format for request and response messages.
The client-server relationship
The NetBackup API employs client-server communication in the form of HTTP requests and responses.
-
The API client (your program) uses the HTTP protocol to make an API request to the NetBackup server.
-
The NetBackup server processes the request. The server responds to the client with an appropriate HTTP status code indicating either success or failure. The client then extracts the required information from the server’s response.
Overview
Authentication
NetBackup authenticates the incoming API requests based on the JSON Web Token (JWT) that needs to be provided in the Authorization
HTTP header when making the API requests.
This JSON Web Token (JWT) is acquired by executing a login
API request first.
Tip
|
The port that is used to access the NetBackup API is the standard NetBackup PBX port, 1556 .
|
Example
The following procedure provides a sample workflow to retrieve job information from NetBackup.
This procedure involves logging in to NetBackup to receive a JWT and then requesting job information for a specific job (job ID 5
in this scenario).
- Step 1
-
Use the NetBackup API endpoint
POST /login
to create a login request:
curl -X POST https://masterservername:1556/netbackup/login \ -H 'content-type: application/vnd.netbackup+json;version=1.0' \ -d '{ \ "domainType":"vx", \ "domainName":"mydomain", \ "userName":"myusername", \ "password":"mypassword" \ }'
The following response to the login
request contains the JSON Web Token (JWT):
Note
|
This response contains three attributes: token , tokenType and validity . The token
attribute provides the JWT. The validity attribute indicates that the token returned is valid
for 86400 seconds, or 24 hours.
|
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsInppcCI6IkRFRiJ9.eNp0VF1v2jAU_S9-nHiArXQrb15yaT2cOLIdEJ2mKGWZmnXARMKEVvW_13EciO3weu65H-d-vaIyr9FsMp18Gt_dTsefb6bjESqrCs3Q7umYbfOqLg5ohH7XpYIWqwVfzNM1k6tHvCKJMhSnv63_5MvHO-V_cztC1fFJkQ_b3bGaHar6UGxeitm_k2Lnx_o5q_cvxW44Wlll-c9t2Vjrw7FokW2-eS53hcJ-5X-qwoT5n232u7o4qfJfEQchMZfZN_YVzb6jD-jHSGOMQ0YifA9ndElg5dJAZg9MyDMUcMASsmUkgC-B96jGYrFDoKCwgFEKgSQsPlsoETILgEsyJ4HyE2dLxEIyX9txDJYwSoK1Xa_F01EFZcLnZJgS3MOBNxEhDhNGYi9Tr7KLdJZ4JXBYsgUM0nUtnFFfmirQ7ZBUUZzm6EwEHClDmbTBKczEtacZK55kkXJuwrjcflm6gq45Tgne7I1_o9XF8CNPqdMTnIZEUnYvXLIjQZPnEIoQS2yjAwPVuJLrIFioFfYy4VQ-6JY70hLgERGiv6gad2SYVR9Ya822h6mOKI3sSXRnwSGEWBJMnTLsszTZhpbfarnh9cfI9_saN08DbzZF87m6RcSxyqAKoK63o9RsrJWnPd2zdq-5A8MRqUjUNllN6I4BgpQTuU44S7zzHOqQyeJdboDjAKiVor2YK8_nMutL7DQJux-m_KIIYukvnrthumPCbaS9BCbwkB5j8vW0cYZGfPVrXZHqrHrvU7tfsWmY9wf0Onakt7d3AAAA__8.VVE25rQqbrC-isGOqbRTqMPoK4ts5-9_6zSgz0fUg11m9GCClq10PS9u1DlaXye-S2MYYyHVEHSVs6uKcPVvN2WGBHkv7t-c4Hixc9O8zrJYhJaP979wF_gn08YnRlX7_o4Qj6muc1IWHjK0hPMIgq0X-sBU2Git9uppVW1jbLA",
"tokenType": "BEARER",
"validity": 86400
}
- Step 2
-
Get the job information using the NetBackup API endpoint
GET /admin/jobs/{jobId}
. In this example, the information for the job ID5
is requested.
Note
|
The Authorization header uses the value of the token attribute from the response to the login
request made in the previous step.
|
curl -X GET https://masterservername:1556/netbackup/admin/jobs/5 \ -H 'Accept: application/vnd.netbackup+json;version=2.0' \ -H 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsInppcCI6IkRFRiJ9.eNp0VF1v2jAU_S9-nHiArXQrb15yaT2cOLIdEJ2mKGWZmnXARMKEVvW_13EciO3weu65H-d-vaIyr9FsMp18Gt_dTsefb6bjESqrCs3Q7umYbfOqLg5ohH7XpYIWqwVfzNM1k6tHvCKJMhSnv63_5MvHO-V_cztC1fFJkQ_b3bGaHar6UGxeitm_k2Lnx_o5q_cvxW44Wlll-c9t2Vjrw7FokW2-eS53hcJ-5X-qwoT5n232u7o4qfJfEQchMZfZN_YVzb6jD-jHSGOMQ0YifA9ndElg5dJAZg9MyDMUcMASsmUkgC-B96jGYrFDoKCwgFEKgSQsPlsoETILgEsyJ4HyE2dLxEIyX9txDJYwSoK1Xa_F01EFZcLnZJgS3MOBNxEhDhNGYi9Tr7KLdJZ4JXBYsgUM0nUtnFFfmirQ7ZBUUZzm6EwEHClDmbTBKczEtacZK55kkXJuwrjcflm6gq45Tgne7I1_o9XF8CNPqdMTnIZEUnYvXLIjQZPnEIoQS2yjAwPVuJLrIFioFfYy4VQ-6JY70hLgERGiv6gad2SYVR9Ya822h6mOKI3sSXRnwSGEWBJMnTLsszTZhpbfarnh9cfI9_saN08DbzZF87m6RcSxyqAKoK63o9RsrJWnPd2zdq-5A8MRqUjUNllN6I4BgpQTuU44S7zzHOqQyeJdboDjAKiVor2YK8_nMutL7DQJux-m_KIIYukvnrthumPCbaS9BCbwkB5j8vW0cYZGfPVrXZHqrHrvU7tfsWmY9wf0Onakt7d3AAAA__8.VVE25rQqbrC-isGOqbRTqMPoK4ts5-9_6zSgz0fUg11m9GCClq10PS9u1DlaXye-S2MYYyHVEHSVs6uKcPVvN2WGBHkv7t-c4Hixc9O8zrJYhJaP979wF_gn08YnRlX7_o4Qj6muc1IWHjK0hPMIgq0X-sBU2Git9uppVW1jbLA'
The response to the GET
request contains the job information for job ID 5
:
{
"data": {
"links": {
"self": {
"href": "/admin/jobs/5"
},
"file-lists": {
"href": "https://masterservername:1556/netbackup/admin/jobs/5/file-lists"
},
"try-logs": {
"href": "https://masterservername:1556/netbackup/admin/jobs/5/try-logs"
}
},
"type": "job",
"id": "5",
"attributes": {
"jobId": 5,
"parentJobId": 0,
"activeProcessId": 27116,
"mainProcessId": 0,
"jobType": "IMAGEDELETE",
"jobSubType": "IMMEDIATE",
"policyType": "STANDARD",
"policyName": "",
"scheduleType": "FULL",
"scheduleName": "",
"clientName": "",
"controlHost": "",
"jobOwner": "root",
"jobGroup": "",
"backupId": "",
"sourceMediaId": "",
"sourceStorageUnitName": "",
"sourceMediaServerName": "",
"destinationMediaId": "",
"destinationStorageUnitName": "",
"destinationMediaServerName": "",
"dataMovement": "STANDARD",
"streamNumber": 0,
"copyNumber": 0,
"priority": 0,
"retentionLevel": 0,
"compression": 0,
"status": 1,
"state": "DONE",
"done": 1,
"numberOfFiles": 0,
"estimatedFiles": 0,
"kilobytesTransferred": 0,
"kilobytesToTransfer": 0,
"transferRate": 0,
"percentComplete": 0,
"currentFile": "",
"restartable": 0,
"suspendable": 0,
"resumable": 0,
"killable": 1,
"frozenImage": 0,
"transportType": "LAN",
"dedupRatio": 0,
"currentOperation": 0,
"jobQueueReason": 0,
"jobQueueResource": "",
"robotName": "",
"vaultName": "",
"profileName": "",
"sessionId": 0,
"numberOfTapeToEject": 0,
"submissionType": 0,
"acceleratorOptimization": 0,
"dumpHost": "",
"instanceDatabaseName": "",
"auditUserName": "",
"auditDomainName": "",
"auditDomainType": 0,
"restoreBackupIDs": "",
"startTime": "2018-01-09T10:03:22.000Z",
"endTime": "2018-01-09T10:03:23.000Z",
"activeTryStartTime": "2018-01-09T10:03:22.000Z",
"lastUpdateTime": "2018-01-09T10:03:23.256Z",
"kilobytesDataTransferred": 0,
"try": 1
}
}
}
SSL certificate validation
The NetBackup web service always sends its certificate during SSL handshakes. This certificate can be validated by the API client. To validate the certificate, you will need to get the Certificate Authority (CA) certificate from the master server and then use the CA certificate in the API requests.
Tip
|
It is a good practice to validate the SSL certificate. This action ensures that you are communicating with the correct web service. |
- Step 1
-
Get the CA certificate from the master server using the
GET /security/cacert
API:
Note
|
You cannot make a secure request with certificate validation until you have the CA certificate. To obtain the initial CA certificate you must skip the certificate validation, with the "--insecure" curl option. |
curl -X GET https://masterservername:1556/netbackup/security/cacert \ -H 'content-type: application/vnd.netbackup+json;version=2.0' \ --insecure
The response to the cacert
request contains two certificates:
{
"webRootCert": "-----BEGIN CERTIFICATE-----\nMIICljCCAf+gAwIBAgIIcte7aAAAAAAwDQYJKoZIhvcNAQENBQAwTTEOMAwGA1UE\nAxMFbmJhdGQxLjAsBgNVBAsUJXJvb3RAbW9ybGV5dm01LnJtbnVzLnNlbi5zeW1h\nbnRlYy5jb20xCzAJBgNVBAoTAnZ4MB4XDTE4MDEwODE0MjcyNloXDTM4MDEwMzE1\nNDIyNlowTTEOMAwGA1UEAxMFbmJhdGQxLjAsBgNVBAsUJXJvb3RAbW9ybGV5dm01\nLnJtbnVzLnNlbi5zeW1hbnRlYy5jb20xCzAJBgNVBAoTAnZ4MIGfMA0GCSqGSIb3\nDQEBAQUAA4GNADCBiQKBgQDpRc/yo0utxcKrftPeOzn1o1MR5b42uGWrwg9kU4VM\nZN++0kvrtRWt4wz8zdtNU4wtg/MHWt0ffj6FRYYAZBbM8fu56GFux3wCPJSHWl6B\nZ0nD1vZxFUwTXkRAAObuHrYphjBNf1oUU+4GS44KD4/UW/bucKdZsUI1+HcfCQZw\nNwIDAQABo38wfTAPBgNVHRMBAf8EBTADAQH/MAsGAyoDBQQEcm9vdDAPBgMqAwYE\nCDAwMDAwMDE3MC0GAyoDCAQmezg2ZDY5MDU0LWY0OGEtMTFlNy1hNDAyLTYwYWQy\nMTZjYTdlZX0wHQYDVR0OBBYEFE/mpo7PbWs7p/zkAHWi/BDwpdn+MA0GCSqGSIb3\nDQEBDQUAA4GBAAmZJ98XLqG0H+qwyuZ97YdzE2dWKpRduuARYJp437Sc6tpL6nFn\nuzbtGV30tDdhROYPf1AoNRmZHvz40Hra1B8j4VFggPZOAmmk+UJPjzeHn6qhlRxl\nHjCdEqUZ//+1Aqgj6f/6bqPO5boCVP1qw8N60fkBaV3zLwAOY6CKiHS0\n-----END CERTIFICATE-----\n",
"cacert": [
"-----BEGIN CERTIFICATE-----\nMIICljCCAf+gAwIBAgIIcte7aAAAAAAwDQYJKoZIhvcNAQENBQAwTTEOMAwGA1UE\nAxMFbmJhdGQxLjAsBgNVBAsUJXJvb3RAbW9ybGV5dm01LnJtbnVzLnNlbi5zeW1h\nbnRlYy5jb20xCzAJBgNVBAoTAnZ4MB4XDTE4MDEwODE0MjcyNloXDTM4MDEwMzE1\nNDIyNlowTTEOMAwGA1UEAxMFbmJhdGQxLjAsBgNVBAsUJXJvb3RAbW9ybGV5dm01\nLnJtbnVzLnNlbi5zeW1hbnRlYy5jb20xCzAJBgNVBAoTAnZ4MIGfMA0GCSqGSIb3\nDQEBAQUAA4GNADCBiQKBgQDpRc/yo0utxcKrftPeOzn1o1MR5b42uGWrwg9kU4VM\nZN++0kvrtRWt4wz8zdtNU4wtg/MHWt0ffj6FRYYAZBbM8fu56GFux3wCPJSHWl6B\nZ0nD1vZxFUwTXkRAAObuHrYphjBNf1oUU+4GS44KD4/UW/bucKdZsUI1+HcfCQZw\nNwIDAQABo38wfTAPBgNVHRMBAf8EBTADAQH/MAsGAyoDBQQEcm9vdDAPBgMqAwYE\nCDAwMDAwMDE3MC0GAyoDCAQmezg2ZDY5MDU0LWY0OGEtMTFlNy1hNDAyLTYwYWQy\nMTZjYTdlZX0wHQYDVR0OBBYEFE/mpo7PbWs7p/zkAHWi/BDwpdn+MA0GCSqGSIb3\nDQEBDQUAA4GBAAmZJ98XLqG0H+qwyuZ97YdzE2dWKpRduuARYJp437Sc6tpL6nFn\nuzbtGV30tDdhROYPf1AoNRmZHvz40Hra1B8j4VFggPZOAmmk+UJPjzeHn6qhlRxl\nHjCdEqUZ//+1Aqgj6f/6bqPO5boCVP1qw8N60fkBaV3zLwAOY6CKiHS0\n-----END CERTIFICATE-----\n"
]
}
- Step 2
-
Save the
webRootCert
certificate. To do this save thewebRootCert
string to a file. Make sure to convert the\n
escape sequences to new lines (carriage returns).
For example, your file would look something like this:
-----BEGIN CERTIFICATE----- MIICljCCAf+gAwIBAgIIcte7aAAAAAAwDQYJKoZIhvcNAQENBQAwTTEOMAwGA1UE AxMFbmJhdGQxLjAsBgNVBAsUJXJvb3RAbW9ybGV5dm01LnJtbnVzLnNlbi5zeW1h bnRlYy5jb20xCzAJBgNVBAoTAnZ4MB4XDTE4MDEwODE0MjcyNloXDTM4MDEwMzE1 NDIyNlowTTEOMAwGA1UEAxMFbmJhdGQxLjAsBgNVBAsUJXJvb3RAbW9ybGV5dm01 LnJtbnVzLnNlbi5zeW1hbnRlYy5jb20xCzAJBgNVBAoTAnZ4MIGfMA0GCSqGSIb3 DQEBAQUAA4GNADCBiQKBgQDpRc/yo0utxcKrftPeOzn1o1MR5b42uGWrwg9kU4VM ZN++0kvrtRWt4wz8zdtNU4wtg/MHWt0ffj6FRYYAZBbM8fu56GFux3wCPJSHWl6B Z0nD1vZxFUwTXkRAAObuHrYphjBNf1oUU+4GS44KD4/UW/bucKdZsUI1+HcfCQZw NwIDAQABo38wfTAPBgNVHRMBAf8EBTADAQH/MAsGAyoDBQQEcm9vdDAPBgMqAwYE CDAwMDAwMDE3MC0GAyoDCAQmezg2ZDY5MDU0LWY0OGEtMTFlNy1hNDAyLTYwYWQy MTZjYTdlZX0wHQYDVR0OBBYEFE/mpo7PbWs7p/zkAHWi/BDwpdn+MA0GCSqGSIb3 DQEBDQUAA4GBAAmZJ98XLqG0H+qwyuZ97YdzE2dWKpRduuARYJp437Sc6tpL6nFn uzbtGV30tDdhROYPf1AoNRmZHvz40Hra1B8j4VFggPZOAmmk+UJPjzeHn6qhlRxl HjCdEqUZ//+1Aqgj6f/6bqPO5boCVP1qw8N60fkBaV3zLwAOY6CKiHS0 -----END CERTIFICATE-----
- Step 3
-
You can now use the CA certificate in your API requests. For example, to securely use the
cacert
API remove the--insecure
option and use the--cacert <filename>
option. In the following example, the CA certificate was saved in the filecacert.pem
.
curl -X GET https://masterservername:1556/netbackup/security/cacert \ -H 'content-type: application/vnd.netbackup+json;version=2.0' \ --cacert cacert.pem
Authorization
A given NetBackup API may require that one or more Permissions are assigned to a given principal before the request is allowed to run on the server. In this document, any required permissions for a given resource path are documented in the Description section of the resource as below:
Requires Permission: [Permission value]
When multiple permissions are listed, the enforcement is a logical OR, meaning the principal must have at least one of the expected permissions. Permissions are granted to a principal through the roles that are assigned in their NetBackup RBAC access rules.
Note
|
Internally, NetBackup uses API Permissions to authorize individual API requests. A permission is composed of one or more API permissions. The authorization context for an authorized principal is represented in their JWT and contains one or more API Permission values that are derived from assigned permissions. However, API Permissions are not exposed to end users for delegation and configuration. |
The following table describes the permissions that are assigned to the system-defined roles that are present at installation.
Workload administrator | Backup administrator | Security administrator |
---|---|---|
Recover/Restore |
Manage Jobs |
Manage Access Rules |
Instant Access |
Manage Protection Plans |
Manage Global Security Settings |
Download Files |
Manage Assets |
Manage Certificates |
Restore Files |
Manage NetBackup |
View Audit Logs |
Manage Assets |
View Usage Data |
Manage Hosts |
Manage SLPs |
View Application Servers |
|
Manage Policies |
View Assets |
|
Manage Application Servers and Asset Groups |
View Cloud Application Servers |
|
Manage Cloud Application Servers |
View Protection Plans |
|
View Recovery Points |
Manage API Keys |
|
View API Keys |
||
View Domains |
Versioning
To maintain compatibility with the back-level API clients, it is sometimes necessary to version the NetBackup API. The NetBackup API is developed so that new versions are minimized. However, at times changes are needed to the API that require a new API version. The mechanism to version the NetBackup API is described below.
Version numbers follow a simple MAJOR.MINOR
pattern, such as 1.2
.
These version numbers are not the same as the NetBackup release number.
The current API version number is documented with every NetBackup release.
The version number may not increase sequentially from one NetBackup release to the next release.
The version number may increase by multiple major versions between two consecutive NetBackup releases.
Content negotiation is used to specify which API version the API client is requesting.
A new vendor-specific media type application/vnd.netbackup+json
is used, along with a media type parameter named version
.
For example: application/vnd.netbackup+json;version=2.0
.
This media type should be used in the Accept
or Content-Type
HTTP header of your request.
If you send both Accept
and Content-Type
HTTP headers, their values must match.
In some cases, an API does not consume any input or produce any output.
Such a case normally means that neither Accept
nor Content-Type
HTTP headers are required.
However, because these headers are used to specify the API version, the Accept
header must be specified.
Tip
|
The value of the Content-Type or Accept HTTP header in a NetBackup API request must use this format: application/vnd.netbackup+media;version=<major>.<minor>
|
It is important for you to consider the kind of changes that will require a new version of the NetBackup API. Developing your API client with these rules in mind will ensure that your API client remains compatible with the future versions of the NetBackup API.
The following is a list of possible API changes and if they result in a new API version:
API change results in a new version? | Yes / No |
---|---|
Add a new endpoint |
No |
Remove an endpoint |
Yes |
Add an output field or attribute |
No |
Remove output field or attribute |
Yes |
Add required input field or attribute |
Yes |
Add non-required input field or attribute |
No |
Note
|
|
Pagination
Some NetBackup APIs use pagination to limit the number of resources returned in a response.
These APIs use the page[offset]
and page[limit]
query parameters to set the starting point (offset) and the page size (limit).
The results are returned in a page-by-page format.
Tip
|
The default page size is 10 resources. The type of resource depends on the individual API.
For example: For the API that gets a list of jobs, the page contains job-related information for up to 10 NetBackup jobs.
|
Filtering
Some NetBackup APIs use the 'filter' query parameter to limit or reduce the number of resources that the response returns.
Use the OASIS syntax to specify the value of the filter
using OData filtering language:
http://docs.oasis-open.org/odata/odata/v4.01/csprd01/part2-url-conventions/odata-v4.01-csprd01-part2-url-conventions.html#_Filter_System_Query.
Note
|
The supported OData operators and functions depend on each individual NetBackup API, as described in the NetBackup API reference. |
Date and time formatting
All NetBackup APIs accept and return date and time values using the ISO 8601 format in UTC with the Z
zone designator.
More information on the details of the ISO spec can be found in the Wikipedia article, "ISO 8601": https://en.wikipedia.org/wiki/ISO_8601.
API Code Samples
To hit the ground running with the NetBackup API, you can refer to the API code samples in different programming languages. The API code samples are located on github: https://github.com/VeritasOS/netbackup-api-code-samples. This is a community-supported, open source project available under the MIT license.
- Disclaimer
-
-
The API code samples are not officially supported by Veritas and should not be used in a production environment.
-
The purpose of these code samples is only to serve as a reference, to help you write your own applications using the NetBackup API.
-
What’s New?
NetBackup 8.1.2
- Versioned APIs
-
This is a list of APIs that have been versioned in 8.1.2. The previous version of these APIs is still supported specifying the correct version. See the Versioning section above for more details. See the 8.1.2 documentation for the APIs listed below to see the new definition of these APIs.
-
GET /admin/jobs
-
GET /admin/jobs/{jobId}
-
GET /config/policies/{policyName}
-
PUT /config/policies/{policyName}/schedules/{scheduleName}
-
GET /config/servers/vmservers
-
GET /security/cacert
-
NetBackup 8.1.2 adds support for the following APIs:
Note
|
Each API in this list includes a link to the API reference for further details. |
NetBackup Authentication API
The NetBackup Authentication API provides authentication by means of a JSON Web Token (JWT) that is used when making the API requests.
The JWT is acquired by executing a login
API request and can be invalidated by executing a logout
API request.
NetBackup Administration API
The NetBackup Administration API provides management of NetBackup jobs. The API can get job details for a specific job or get a list of jobs based on filter criteria, restart
or resume
a job, suspend
, cancel
, or delete
a job, get a job’s file list, and get the job logs.
NetBackup Asset API
The NetBackup Asset API provides access to NetBackup asset information.
NetBackup Catalog API
The NetBackup Catalog API provides access to the NetBackup catalog to get details about backup images. The API can list backup images based on filters or get details for a specific backup image ID.
NetBackup Configuration API
The NetBackup Configuration API provides configuration and management controls for NetBackup hosts, NetBackup policies, Web Socket servers, and VM server credentials.
NetBackup Manage API
The NetBackup Manage API provide access to the alerting operations. The APIs can generate alerts, fetch alert details, and send alert notifications. The APIs also provide a facility to exclude the status codes for which you do not want to send alert notifications.
NetBackup Recovery API
The NetBackup Recovery API provides the capability of recovering from VMware backup images. It supports the recovery of full VMs to the original or to alternate location.
NetBackup Security API
The NetBackup Security API provides access to the security resources of NetBackup. The API can manage authorization tokens, host ID-based certificates, security configuration options and auditing.
NetBackup Storage API
The NetBackup Storage API provides details of backup storage consumption. The API returns the total consumption of backup storage for all the master servers or the current master server. It also supports filtering backup storage consumption based on client name.
NetBackup Licensing API
The NetBackup Licensing API provides details of FEDS consumption. The Front-end Terabytes (FETBs) consumption is provided for a single master server or for multiple trusted master servers. Details include consumption by policy type and the trend of capacity consumption.
NetBackup Authentication API
Overview
The NetBackup Authentication API provides authentication by means of a JSON Web Token (JWT) that is used when making the API requests.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /appdetails
Description
Gets the web service application details. The application names and status are returned.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Web service application details returned successfully. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
GET /authorization-context
Description
Lists the JWT claims.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /login
Description
Logs in with the username and password and receives a JSON Web Token (JWT) that is used on all subsequent API requests. Requires Permission: []
Parameters
Type | Name | Schema |
---|---|---|
Body |
login |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully logged in. |
|
400 |
Bad request |
|
401 |
Wrong username or password. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
POST /logout
Description
Removes the current access token (JWT), which invalidates that token for future API calls.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Logout successful. |
No Content |
401 |
The |
|
406 |
Invalid |
Security
Type | Name |
---|---|
apiKey |
GET /ping
Description
Test the connection with the master server.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ping successful. Master server time in milliseconds. |
string |
406 |
Invalid |
string |
Produces
-
text/vnd.netbackup+plain;version=2.0
Example HTTP response
Response 200
"1519397648169"
GET /tokenkey
Description
Gets the public key that can be used to validate the JSON Web Token (JWT).
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the token key. |
string |
406 |
Invalid |
string |
Produces
-
text/vnd.netbackup+html;version=2.0
GET /user-sessions
Description
Obtains the details for all active user sessions.
Requires Permission: [Manage Certificates]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the details for all active user sessions. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /user-sessions
Description
Logs out all users. Removes the current access tokens (JWT) issued to all users, which invalidates them for all future API calls.
Requires Permission: [Manage Certificates]
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully logged out all users. |
No Content |
401 |
The |
Security
Type | Name |
---|---|
apiKey |
Definitions
appdetailsResponse
Type : < appdetailsResponse > array
appdetailsResponse
Name | Description | Schema |
---|---|---|
appName |
Web services application name. |
string |
status |
Current run-time status of the application. |
string |
authorizationContext
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
object |
meta |
object |
type |
string |
Name | Description | Schema |
---|---|---|
authToken |
The internal NetBackup authorization token issued by the gateway. |
string |
expireDate |
Expiration date of the JWT. |
string (date-time) |
isAdmin |
Indicate if the subject of the JWT is an admin user. |
boolean |
isMachine |
Indicate if the subject of the JWT is a machine. |
boolean |
issuedAt |
The date of the JWT was issued. |
string (date-time) |
issuer |
JWT issuer. |
string |
permissions |
The mapping of API permissions to object collection IDs. |
< permissions > array |
subject |
Contain domain name, username, and domain type. |
string |
Name | Description | Schema |
---|---|---|
collections |
Array of object collection IDs for which the user had this permission. |
< string > array |
permission |
string |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getActiveUsers
Details for active user session.
Name | Schema |
---|---|
data |
< data > array |
links |
|
meta |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
type |
enum (user-session) |
attributes
Name | Schema |
---|---|
expiresAt |
string (date-time) |
subject |
string |
links
Name | Schema |
---|---|
first |
|
last |
|
next |
|
previous |
|
self |
first
Name | Schema |
---|---|
href |
string |
last
Name | Schema |
---|---|
href |
string |
next
Name | Schema |
---|---|
href |
string |
previous
Name | Schema |
---|---|
href |
string |
self
Name | Schema |
---|---|
href |
string |
meta
Name | Schema |
---|---|
pagination |
pagination
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
page |
integer |
pages |
integer |
prev |
integer |
loginResponse
Name | Description | Schema |
---|---|---|
token |
The token to use for subsequent API requests. |
string |
tokenType |
The token type for the token that is returned. |
string |
validity |
The time in seconds that this token will be valid. |
integer |
userPassLoginRequest
Name | Description | Schema |
---|---|---|
domainName |
The domain name for the user. |
string |
domainType |
The domain type for the user. |
enum (NT, vx, unixpwd, ldap) |
password |
The user password. |
string |
userName |
The user account name. |
string |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Administration API
Overview
The NetBackup Administration API provides access to administrative operations in NetBackup.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /admin/jobs
Description
Gets the list of jobs based on specified filters. If no filters are specified, information for 10 jobs sorted in descending order by job start time is retrieved. All the filters are based on OData standards, and filtering on the following attributes is supported. To avoid sending large set of jobs data, API returns only subset of data (default size 10). To fetch additional results, take advantage of pagination using "page[Offset]" & "page[limit]" which allows for subsequent requests to "page" through the rest of the results until the end is reached.
Name | Supported Operators | Description | Schema |
---|---|---|---|
jobId |
eq ne lt gt le ge |
The job identifier. |
integer(int64) |
parentJobId |
eq ne lt gt le ge |
The parent job identifier. |
integer(int64) |
clientName |
eq ne contains, startswith, endswith |
The name of the client to protect. If the client name contains a space or “%”, encode these characters as '%20' or '%25', respectively. |
string |
endTime |
eq ne lt gt le ge |
Specifies the time when the job finished. |
date-time |
startTime |
eq ne lt gt le ge |
Specifies the time when the job started. |
date-time |
state |
eq ne |
Specifies the state of the job. Possible values: QUEUED, ACTIVE, REQUEUED, DONE, SUSPENDED, INCOMPLETE |
string |
status |
eq ne lt gt le ge |
Specifies the final job status code. |
integer(int64) |
jobType |
eq ne |
Specifies the type of the job. Possible values: BACKUP, ARCHIVE, RESTORE, VERIFY, DUPLICATE, IMPORT, DBBACKUP, VAULT, LABEL, ERASE, TPREQ, TPCLEAN, TPFORMAT, VMPHYSINV, DQTS, DBRECOVER, MCONTENTS, IMAGEDELETE, LIVEUPDATE, GENERIC, REPLICATE, REPLICA_IMPORT, SNAPDUPE, SNAPREPLICATE, SNAPIMPORT, APP_STATE_CAPTURE, INDEXING, INDEXCLEANUP, SNAPINDEX, ACTIVATE_IR, DEACTIVATE_IR, REACTIVATE_IR, STOP_IR, INSTANT_RECOVERY, RMAN_CATALOG, LOCKVM |
string |
policyName |
contains, startswith, endswith |
The name of the policy used by this job. |
string |
policyType |
eq ne |
Specifies the type of the policy. Possible values: STANDARD, PROXY, NONSTANDARD, APOLLO_WBAK, OBACKUP, ANY, INFORMIX, SYBASE, SHAREPOINT, WINDOWS, NETWARE, BACKTRACK, AUSPEX_FASTBACK, WINDOWS_NT, OS2, SQL_SERVER, EXCHANGE, SAP, DB2, NDMP, FLASHBACKUP, SPLITMIRROR, AFS, DFS, DATASTORE, LOTUS_NOTES, NCR_TERADATA, VAX_VMS, HP3000_MPE, FBU_WINDOWS, VAULT, BE_SQL_SERVER, BE_EXCHANGE, MAC, DS, NBU_CATALOG, GENERIC, CMS_DB, PUREDISK_EXPORT, ENTERPRISE_VAULT, VMWARE, HYPERV, BIGDATA, HYPERSCALE, NBU_SEARCHSERVER |
string |
restoreBackupIDs |
eq, ne, contains, startswith, endswith |
Specifies the backup images used for restore. If the client name contains a space or “%”, encode these characters as '%20' or '%25', respectively. |
string |
initiatorId |
eq, ne, contains, startswith, endswith |
Specifies the initiator of the job. |
string |
Requires Permission: [View Jobs, Manage Jobs]
A given principal can also view the jobs that they initiate even if they are not granted the View Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
filter |
Specifies filters according to OData standards. |
string |
Query |
page[limit] |
The number of records on one page after the offset. |
integer (int64) |
Query |
page[offset] |
The job record number offset. |
integer (int64) |
Query |
sort |
Sorts in ascending order on the specified property. Prefix with '-' for descending order. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the list of jobs based on the specified filters. No data is returned if no jobs are found. |
|
400 |
Bad request. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : [ {
"links" : {
"self" : {
"href" : "/admin/jobs/1"
},
"file-lists" : {
"href" : "https://dummyHost:1556/netbackup/admin/jobs/1/file-lists"
},
"try-logs" : {
"href" : "https://dummyHost:1556/netbackup/admin/jobs/1/try-logs"
}
},
"type" : "job",
"id" : 1,
"attributes" : {
"jobId" : 1,
"parentJobId" : 0,
"activeProcessId" : 8624,
"mainProcessId" : 0,
"productType" : 0,
"jobType" : "IMAGEDELETE",
"jobSubType" : "IMMEDIATE",
"policyName" : "",
"scheduleType" : "FULL",
"scheduleName" : "",
"clientName" : "",
"controlHost" : "",
"jobOwner" : "user",
"jobGroup" : "",
"backupId" : "",
"sourceMediaId" : "",
"sourceStorageUnitName" : "",
"sourceMediaServerName" : "",
"destinationMediaId" : "",
"destinationStorageUnitName" : "",
"destinationMediaServerName" : "",
"dataMovement" : "STANDARD",
"streamNumber" : 0,
"copyNumber" : 0,
"priority" : 0,
"retentionLevel" : 0,
"compression" : 0,
"status" : 0,
"state" : "DONE",
"done" : 1,
"numberOfFiles" : 0,
"estimatedFiles" : 0,
"kilobytesTransferred" : 0,
"kilobytesToTransfer" : 0,
"transferRate" : 0,
"percentComplete" : 100,
"restartable" : 0,
"suspendable" : 0,
"resumable" : 0,
"killable" : 1,
"frozenImage" : 0,
"transportType" : "LAN",
"currentOperation" : 0,
"jobQueueReason" : 0,
"jobQueueResource" : "",
"robotName" : "",
"vaultName" : "",
"profileName" : "",
"sessionId" : 0,
"numberOfTapeToEject" : 0,
"submissionType" : 0,
"dumpHost" : "",
"instanceDatabaseName" : "",
"auditUserName" : "",
"auditDomainName" : "",
"auditDomainType" : 0,
"restoreBackupIDs" : "",
"startTime" : "2018-06-25T19:00:32.000Z",
"endTime" : "2018-06-25T19:00:38.000Z",
"activeTryStartTime" : "2018-06-25T19:00:32.000Z",
"lastUpdateTime" : "2018-06-25T19:00:38.407Z",
"kilobytesDataTransferred" : 0,
"initiatorId" : "",
"try" : 1
}
}, {
"links" : {
"self" : {
"href" : "/admin/jobs/2"
},
"file-lists" : {
"href" : "https://dummyHost:1556/netbackup/admin/jobs/2/file-lists"
},
"try-logs" : {
"href" : "https://dummyHost:1556/netbackup/admin/jobs/2/try-logs"
}
},
"type" : "job",
"id" : 2,
"attributes" : {
"jobId" : 2,
"parentJobId" : 0,
"activeProcessId" : 8625,
"mainProcessId" : 0,
"productType" : 0,
"jobType" : "IMAGEDELETE",
"jobSubType" : "IMMEDIATE",
"policyName" : "",
"scheduleType" : "FULL",
"scheduleName" : "",
"clientName" : "",
"controlHost" : "",
"jobOwner" : "user",
"jobGroup" : "",
"backupId" : "",
"sourceMediaId" : "",
"sourceStorageUnitName" : "",
"sourceMediaServerName" : "",
"destinationMediaId" : "",
"destinationStorageUnitName" : "",
"destinationMediaServerName" : "",
"dataMovement" : "STANDARD",
"streamNumber" : 0,
"copyNumber" : 0,
"priority" : 0,
"retentionLevel" : 0,
"compression" : 0,
"status" : 0,
"state" : "DONE",
"done" : 1,
"numberOfFiles" : 0,
"estimatedFiles" : 0,
"kilobytesTransferred" : 0,
"kilobytesToTransfer" : 0,
"transferRate" : 0,
"percentComplete" : 100,
"restartable" : 0,
"suspendable" : 0,
"resumable" : 0,
"killable" : 1,
"frozenImage" : 0,
"transportType" : "LAN",
"currentOperation" : 0,
"jobQueueReason" : 0,
"jobQueueResource" : "",
"robotName" : "",
"vaultName" : "",
"profileName" : "",
"sessionId" : 0,
"numberOfTapeToEject" : 0,
"submissionType" : 0,
"dumpHost" : "",
"instanceDatabaseName" : "",
"auditUserName" : "",
"auditDomainName" : "",
"auditDomainType" : 0,
"restoreBackupIDs" : "",
"startTime" : "2018-06-25T19:00:32.000Z",
"endTime" : "2018-06-25T19:00:38.000Z",
"activeTryStartTime" : "2018-06-25T19:00:32.000Z",
"lastUpdateTime" : "2018-06-25T19:00:38.407Z",
"kilobytesDataTransferred" : 0,
"initiatorId" : "",
"try" : 1
}
} ]
}
GET /admin/jobs/{jobId}
Description
Gets the job details for the specified job.
Requires Permission: [View Jobs, Manage Jobs]
A given principal can also view the jobs that they initiate even if they are not granted the View Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the job details for the specified job. |
|
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /admin/jobs/{jobId}
Description
Deletes the specified job.
Requires Permission: [Manage Jobs]
A given principal can also manage the jobs that they initiate even if they are not granted the Manage Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for deleting the job. |
string |
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
202 |
Request accepted. |
No Content |
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /admin/jobs/{jobId}/cancel
Description
Cancels the specified job.
Requires Permission: [Manage Jobs]
A given principal can also manage the jobs that they initiate even if they are not granted the Manage Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for cancelling the job. |
string |
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
202 |
Request accepted. |
No Content |
400 |
Bad request. |
|
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /admin/jobs/{jobId}/file-lists
Description
Gets the file list for the specified job.
Requires Permission: [View Jobs, Manage Jobs]
A given principal can also view the related file-lists for the jobs that they initiate even if they are not granted the View Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the file list for the specified job. |
|
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"links" : {
"self" : {
"href" : "/admin/jobs/1/file-lists"
}
},
"type" : "file-lists",
"id" : 1,
"attributes" : {
"fileList" : [ "C:\\BackupSource\\MyFolder" ]
}
}
}
POST /admin/jobs/{jobId}/restart
Description
Restarts the specified job.
Requires Permission: [Manage Jobs]
A given principal can also manage the jobs that they initiate even if they are not granted the Manage Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for restarting the job. |
string |
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
202 |
Request accepted. |
No Content |
400 |
Bad request. |
|
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /admin/jobs/{jobId}/resume
Description
Resumes the specified job.
Requires Permission: [Manage Jobs]
A given principal can also manage the jobs that they initiate even if they are not granted the Manage Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for resuming the job. |
string |
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
202 |
Request accepted. |
No Content |
400 |
Bad request. |
|
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /admin/jobs/{jobId}/suspend
Description
Suspends the specified job.
Requires Permission: [Manage Jobs]
A given principal can also manage the jobs that they initiate even if they are not granted Manage Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for suspending the job. |
string |
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
202 |
Request accepted. |
No Content |
400 |
Bad request. |
|
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /admin/jobs/{jobId}/try-logs
Description
Gets logs for the specified job.
Requires Permission: [View Jobs, Manage Jobs]
A given principal can also view the related try-logs for the jobs that they initiate even if they are not granted the View Jobs permission.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
jobId |
The job identifier. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the try-logs for the specified job. |
|
401 |
The |
|
404 |
No entity found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
503 |
The server is busy. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"links" : {
"self" : {
"href" : "/admin/jobs/1/try-logs"
}
},
"type" : "try-logs",
"id" : 1,
"attributes" : {
"log" : [ "Try 1", "LOG 1529953232 4 bpdbm 8624 image catalog cleanup", "LOG 1529953232 4 bpdbm 8624 Cleaning up tables in the relational database", "LOG 1529953232 4 bpdbm 8624 deleting images which expire before Mon Jun 25 12:00:21 2018 (1529953221)", "LOG 1529953238 4 bpdbm 8624 deleted 0 expired records, compressed 0, tir removed 0, deleted 0 expired copies", "Started 1529953232", "ActivePid 8624", "Status 0", "Ended 1529953238" ]
}
}
}
Definitions
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getJobDetailsResponse
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
type |
string |
attributes
Name | Description | Schema |
---|---|---|
acceleratorOptimization |
The percentage of optimization achieved if the job uses NetBackup Accelerator |
integer (int64) |
activeProcessId |
The process that is active now. |
integer (int64) |
activeTryStartTime |
A UTC timestamp of when the current try started. |
string |
auditDomainName |
The domain name for auditing. |
string |
auditDomainType |
The auditing domain type. 0=INVALID, 1=ACTIVE_DIRECTORY, 2=NIS_PLUS, 3=VXAT_PRIVATE, 4=UNIX_PASSWORD, 5=NIS, 6=LOCAL_HOST, 7=UNKNOWN_AUTH |
integer (int64) |
auditUserName |
The user name in the audit record. |
string |
backupId |
The backup ID or image ID. |
string |
clientName |
The name of the client to be protected. |
string |
compression |
Indicates if compression is enabled for the backup policy. 0=disabled, 1=enabled |
integer (int64) |
controlHost |
The host from which the job was initiated. |
string |
copyNumber |
The backup image copy number. |
integer (int64) |
currentFile |
The current file being protected. |
string |
currentOperation |
The current operation being performed. Negative values should be ignored. 0=MOUNTING, 1=POSITIONING, 2=CONNECTING, 3=WRITING, 4=VLT_INIT, 5=VLT_DUPIMG, 6=VLT_DUPCMP, 7=VLT_BK_NBCAT, 8=VLT_EJRPT, 9=VLT_COMPLETE, 10=READING, 11=DUPLICATE, 12=IMPORT, 13=VERIFY, 14=RESTORE, 15=BACKUPDB, 16=VAULT, 17=LABEL, 18=ERASE, 19=SYNTH_DBQUERY, 20=SYNTH_PROCESS_EXTENTS, 21=SYNTH_PLAN, 22=CREATE_SNAPSHOT, 23=DELETE_SNAPSHOT, 24=RECOVERDB, 25=MCONTENTS, 26=SYNTH_REQUERESOURCES, 27=PARENT_JOB, 28=INDEXING, 29=REPLICATE, 30=RUNNING, 31=ASSEMBLING_FILE_LIST, 32=ALLOCATING_MEDIA |
integer (int64) |
dataMovement |
The type of data movement used for this job. |
enum (STANDARD, INSTANTRECOVERYDISK, INSTANTRECOVERYDISKANDTAPE, SYNTHETIC, DISKSTAGING, SNAPSHOT) |
dedupRatio |
The deduplication rate achieved. |
number (float) |
destinationMediaId |
The destination media server. Used for deduplication jobs. |
string |
destinationMediaServerName |
The destination media server name. Used for deduplication jobs. |
string |
destinationStorageUnitName |
The destination storage unit. Used for deduplication jobs. |
string |
done |
Indicates if the job is complete. |
integer (int64) |
dumpHost |
The recovery appliance host name for Copilot. |
string |
endTime |
The job end time. |
string (date-time) |
estimatedFiles |
The estimated number of files to be protected. |
integer (int64) |
frozenImage |
Used internally to flag snapshots. Also used to determine if the job type is snapshot. |
integer (int64) |
initiatorId |
The initiator of the job. |
string |
instanceDatabaseName |
The database instance and/or database name itself. |
string |
jobGroup |
The group name of the job initiator. |
string |
jobId |
The job identifier. |
integer (int64) |
jobOwner |
The user name of the job initiator. |
string |
jobQueueReason |
The reason the job is queued. A value of -99 indicates that an invalid value was returned. 1=MEDIA_IN_USE, 2=DRIVES_IN_USE, 3=MEDIA_SERVER_OFFLINE, 4=ROBOT_DOWN, 5=MAX_STORAGE_UNIT_JOBS, 6=MEDIA_REQUEST_DELAY, 7=LOCAL_DRIVES_DOWN, 8=MEDIA_IN_DRIVE_IN_USE, 9=PHYSICAL_DRIVE_UNAVAILABLE, 10=CLEANING_MEDIA_UNAVAILABLE, 11=DRIVE_SCAN_HOST_OFFLINE, 12=DISK_MEDIA_SERVER_OFFLINE, 13=NO_MASTER_MEDIA_CONNECTIVITY, 14=MEDIA_SERVER_NON_ACTIVE_MODE, 15=STORAGEUNIT_JOB_COUNTS_THROTTLED, 16=JOB_HISTORY_DRIVES_IN_USE, 17=DISK_VOLUME_UNAVAILABLE, 18=MAX_CONCURRENT_VOLUME_READERS, 19=DISK_GROUP_UNAVAILABLE, 20=FAT_PIPE_IN_USE, 21=DISK_VOLUME_UNMOUNTING, 22=DISK_VOLUME_IN_USE, 23=MAX_PARTIAL_MEDIA, 24=LOGICAL_RESOURCE, 25=DRIVES_IN_STORAGE_UNIT_IN_USE, 26=STOP_DRIVE_SCAN, 27=DISK_VOLUME_MOUNTING, 28=MOUNT_FILE_EXISTS, 29=PENDING_ACTION, 30=DISK_VOLUME_STREAM_LIMIT |
integer (int64) |
jobQueueResource |
The name of the resource for which the queued job is waiting. |
string |
jobSubType |
The job sub-type. |
enum (IMMEDIATE, SCHEDULED, USERBACKUP, ERASETYPE_QUICK, ERASETYPE_LONG, DBBACKUP_STAGING, DBBACKUP_COLD, RMAN_CATALOG) |
jobType |
The job type. |
enum (BACKUP, ARCHIVE, RESTORE, VERIFY, DUPLICATE, IMPORT, DBBACKUP, VAULT, LABEL, ERASE, TPREQ, TPCLEAN, TPFORMAT, VMPHYSINV, DQTS, DBRECOVER, MCONTENTS, IMAGEDELETE, LIVEUPDATE, GENERIC, REPLICATE, REPLICA_IMPORT, SNAPDUPE, SNAPREPLICATE, SNAPIMPORT, APP_STATE_CAPTURE, INDEXING, INDEXCLEANUP, SNAPSHOT, SNAPINDEX, ACTIVATE_IR, DEACTIVATE_IR, REACTIVATE_IR, STOP_IR, INSTANT_RECOVERY, RMAN_CATALOG, LOCKVM) |
killable |
Indicates if the job can be stopped. |
integer (int64) |
kilobytesDataTransferred |
The actual data transferred in kilobytes. For some jobs, data transferred is different than the final image size. |
integer (int64) |
kilobytesToTransfer |
The remaining kilobytes to be transferred. |
integer (int64) |
kilobytesTransferred |
The estimated amount of data transferred in kilobytes. |
integer (int64) |
lastUpdateTime |
The UTC timestamp when the job was modified. |
string (date-time) |
mainProcessId |
The process ID of the main controlling process for restore and image cleanup. |
integer (int64) |
numberOfFiles |
The actual number of files protected. |
integer (int64) |
numberOfTapeToEject |
For vault jobs, the total number of tape media to be ejected. |
integer (int64) |
parentJobId |
The parent job ID. |
integer (int64) |
percentComplete |
The estimated completion percentage of this job. |
integer (int64) |
policyName |
The name of the policy used by this job. |
string |
policyType |
The backup policy type used by the job. |
enum (STANDARD, PROXY, NONSTANDARD, APOLLO_WBAK, OBACKUP, ANY, INFORMIX, SYBASE, SHAREPOINT, WINDOWS, NETWARE, BACKTRACK, AUSPEX_FASTBACK, WINDOWS_NT, OS2, SQL_SERVER, EXCHANGE, SAP, DB2, NDMP, FLASHBACKUP, SPLITMIRROR, AFS, DFS, DATASTORE, LOTUS_NOTES, NCR_TERADATA, VAX_VMS, HP3000_MPE, FBU_WINDOWS, VAULT, BE_SQL_SERVER, BE_EXCHANGE, MAC, DS, NBU_CATALOG, GENERIC, CMS_DB, PUREDISK_EXPORT, ENTERPRISE_VAULT, VMWARE, HYPERV, NBU_SEARCHSERVER, HYPERSCALE, BIGDATA) |
priority |
The priority of this job. |
integer (int64) |
productType |
The product type number. |
integer (int64) |
profileName |
The name of the Vault profile. |
string |
restartable |
Indicates if the job can be restarted. |
integer (int64) |
restoreBackupIDs |
The list of backup IDs needed for the restore job. |
string |
resumable |
Indicates if the job can be resumed. |
integer (int64) |
retentionLevel |
The retention level of the backup image. |
integer (int64) |
robotName |
The name of the robot in the Vault job. |
string |
scheduleName |
The name of the backup schedule used by the backup job. |
string |
scheduleType |
The type of schedule used by the backup job. |
enum (FULL, DIFFERENTIAL_INCREMENTAL, USER_BACKUP, USER_ARCHIVE, CUMULATIVE_INCREMENTAL, TRANSACTION_LOG) |
sessionId |
The Vault session ID. |
integer (int64) |
sourceMediaId |
The source media ID for the duplication job. |
string |
sourceMediaServerName |
The source media server name for the duplication job. |
string |
sourceStorageUnitName |
The source storage unit. |
string |
startTime |
The UTC timestamp when the job was started. |
string (date-time) |
state |
The current state of the job. |
enum (QUEUED, ACTIVE, REQUEUED, DONE, SUSPENDED, INCOMPLETE) |
status |
The final job status code. |
integer (int64) |
streamNumber |
The job stream number. |
integer (int64) |
submissionType |
The job submission type. |
integer (int64) |
suspendable |
Indicates if the job can be suspended. |
integer (int64) |
transferRate |
The data transfer rate in kilobytes (KB) per second. |
integer (int64) |
transportType |
The data transport type used for the job. |
enum (LAN, FAT) |
try |
The current try number to execute this job. |
integer (int64) |
vaultName |
The Vault name used by the job. |
string |
links
Name | Schema |
---|---|
file-lists |
|
self |
|
try-logs |
file-lists
Name | Schema |
---|---|
href |
string |
self
Name | Schema |
---|---|
href |
string |
try-logs
Name | Schema |
---|---|
href |
string |
getJobFileListResponse
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
|
id |
integer (int64) |
links |
|
type |
string |
attributes
Name | Schema |
---|---|
fileList |
< string > array |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
getJobResponse
Name | Schema |
---|---|
data |
getJobTryLogsResponse
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
|
id |
integer (int64) |
links |
|
type |
string |
attributes
Name | Schema |
---|---|
log |
< string > array |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
getJobsResponse
Name | Schema |
---|---|
data |
< getJobDetailsResponse > array |
links |
|
meta |
links
Name | Schema |
---|---|
first |
|
last |
|
next |
|
prev |
|
self |
first
Name | Schema |
---|---|
href |
string |
last
Name | Schema |
---|---|
href |
string |
next
Name | Schema |
---|---|
href |
string |
prev
Name | Schema |
---|---|
href |
string |
self
Name | Schema |
---|---|
href |
string |
meta
Name | Schema |
---|---|
pagination |
pagination
Name | Schema |
---|---|
count |
integer (int64) |
first |
integer (int64) |
last |
integer (int64) |
limit |
integer (int64) |
next |
integer (int64) |
offset |
integer (int64) |
page |
integer (int64) |
pages |
integer (int64) |
prev |
integer (int64) |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Asset API
Overview
The NetBackup Asset API provides access to NetBackup asset information.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
POST /asset-groups
Description
Creates a new asset group. Currently the only workload type accepted by this API is VMware. When creating a filter for the asset group, asset filtering is supported for the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
extendedAttributes/instanceUuid |
eq ne contains startswith endswith |
The asset’s instance UUID. |
string |
extendedAttributes/vCenter |
eq ne ge gt le lt contains startswith endswith |
The vCenter name of the VMware asset. |
string |
extendedAttributes/hostName |
eq ne ge gt le lt contains startswith endswith |
The host name of the VMware asset. |
string |
extendedAttributes/vmFolder |
eq ne ge gt le lt containts startswith endswith |
The folder of the VMware asset. |
string |
extendedAttributes/dnsName |
eq ne ge gt le lt contains startswith endswith |
The DNS name of the asset. |
string |
extendedAttributes/tag |
eq ne ge gt le lt contains startswith endswith |
The VMware asset tag. |
string |
extendedAttributes/resourcepool |
eq ne ge gt le lt contains startswith endswith |
The VMware asset resource pool. |
string |
extendedAttributes/powerState |
eq ne |
The power state of the virtual machine. |
string |
extendedAttributes/host |
eq ne ge gt le lt contains startswith endswith |
The ESXi server. |
string |
extendedAttributes/displayName |
eq ne ge gt le lt contains startswith endswith |
The display name of the asset. |
string |
extendedAttributes/datastoreCluster |
eq ne ge gt le lt contains startswith endswith |
The datastore cluster of the VMware asset. |
string |
extendedAttributes/datastore |
eq ne ge gt le lt contains startswith endswith |
The datastore of the VMware asset. |
string |
extendedAttributes/datacenter |
eq ne ge gt le lt contains startswith endswith |
The datacenter of the VMware asset. |
string |
extendedAttributes/cluster |
eq ne ge gt le lt contains startswith endswith |
The cluster of the VMware asset. |
string |
Requires Permission: [Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
newAssetGroupDetails |
Specifies the JSON body that contains asset information. This request payload may not exceed 2 MB in size. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the group record in the asset database. |
|
400 |
The request body is not valid. |
|
401 |
The |
|
406 |
Invalid |
|
409 |
The resource already exists. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /asset-groups
Description
Retrieves the list of asset groups based on the specified filters. If no filters are specified, information for the newest 10 asset groups are retrieved, sorted in ascending order by their displayName. All the filters are based on OData standards. Filtering is supported for the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
id |
eq ne |
Specifies the asset group’s GUID. |
string |
displayName |
eq ne ge gt le lt contains startswith endswith |
Specifies the asset group’s display name. |
string |
description |
eq ne ge gt le lt contains startswith endswith |
Specifies the asset group’s description. |
string |
createdDateTime |
eq ne ge gt le lt |
The asset group’s creation time in ISO 8601 format. |
date-time |
lastModifiedDateTime |
eq ne ge gt le lt |
The asset group’s last modified time in ISO 8601 format. |
date-time |
assetType |
eq ne ge gt le lt contains startswith endswith |
Specifies the group’s asset type. |
string |
workloadType |
eq ne ge gt le lt contains startswith endswith |
Specifies the group’s workload type. |
string |
filterConstraint |
eq ne ge gt le lt contains startswith endswith |
Specifies the filter constraint. |
string |
Requires Permission: [Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
Specifies filters according to OData standards. |
string |
|
Query |
page[limit] |
The maximum number of asset group records on one page. |
integer |
|
Query |
page[offset] |
The asset group record number offset. |
integer |
|
Query |
sort |
Sort in ascending order on the specified property. Prefix with '-' for descending order. |
string |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Retrieved the asset groups based on the applied filters. |
|
400 |
Invalid filter criteria. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /asset-groups/{assetGroupGuid}
Description
Retrieves the details of the asset group.
Requires Permission: [Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
assetGroupGuid |
An asset group’s global unique identifier. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Request successful. |
|
400 |
Malformed asset group GUID. |
|
401 |
The |
|
404 |
No asset group was found based on the given GUID. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /asset-groups/{assetGroupGuid}
Description
Deletes the asset group specified by the GUID.
Requires Permission: [Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
assetGroupGuid |
An asset group’s global unique identifier. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully deleted the asset group. |
No Content |
400 |
Malformed asset group ID. |
|
401 |
The |
|
404 |
No asset group was found based on the given GUID. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PATCH /asset-groups/{assetGroupGuid}
Description
Replaces all or some the details of the existing asset group with the specified details.
Requires Permission: [Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
assetGroupGuid |
An asset group’s global unique identifier. |
string |
Body |
assetGroupDetails |
Specifies the JSON body that contains the updated asset information. This request payload may not exceed 2 MB in size. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully updated the asset group. |
|
400 |
Malformed asset group GUID, or the request body is not valid. |
|
401 |
The |
|
404 |
No asset group was found based on the given GUID. |
|
406 |
Invalid |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /assets
Description
Creates a new entry in the asset database. This operation is a batch request to store asset data, which is a result of auto-discovery for different workloads.
Requires Permission: [Manage NetBackup]
This API is used by NetBackup hosts to post discovered assets to the asset database.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
Specifies the JSON body that contains asset information. This request payload may not exceed 2 MB. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the record in the asset database. |
|
400 |
The request body is not valid. |
|
401 |
The |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /assets
Description
Retrieves the list of assets based on specified filters. If no filters are specified, information for 10 assets are retrieved, and sorted in descending order based on the time the assets were discovered. All the filters are based on OData standards. Filtering is supported for the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
providerGeneratedID |
eq ne gt ge lt le and or not () contains endswith startswith |
ID given to an asset by its workload. |
string |
displayName |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies an asset’s name. |
string |
description |
eq ne gt ge lt le and or not () contains endswith startswith |
Describes an asset. |
string |
version |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies version number. |
string |
firstDiscoveryTime |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies the first time an asset was discovered in ISO 8601 format. |
date-time |
lastDiscoveryTime |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies the most recent time an asset was discovered in ISO 8601 format. |
date-time |
assetType |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies asset type. Could be a VM, ESX Server, etc. |
string |
workloadType |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies the workload type. Possible values: CLOUD ORACLE SQL_SERVER VMWARE HYPER_V UNIX_FS WINDOWS_FS |
string |
extendedAttributes/{extendedAttributeName} |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies the dynamic extended attribute key and value. |
object |
Requires Permission: [View Assets, Manage Assets]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
Specifies filters according to OData standards. |
string |
|
Query |
include |
Appends a section in the response payload with details about the relationships that are specified in the include query. |
enum (assetGroups) |
|
Query |
page[limit] |
The number of records on one page, after the offset. |
integer |
|
Query |
page[offset] |
The asset record number offset. |
integer |
|
Query |
sort |
Sort in ascending order on the specified property. Prefix with "-" for descending order. |
string |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Retrieved the assets based on the applied filters. |
|
400 |
Invalid filter criteria. |
|
401 |
The |
|
404 |
No assets were found based on the specified query or filters. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /assets/asset-cleanup
Description
Cleans up assets from the database. This API cleans up assets from the given list whose lastDiscoveredTime is older than the given cleanupTime, do not have a backup status, and are not individually subscribed to a protection plan.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
postAssetCleanupRequest |
Specifies the JSON body that contains asset cleanup information. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully cleaned up assets. |
No Content |
400 |
Malformed cleanup time. |
|
401 |
The |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /assets/{GUID}
Description
Retrieves the details of the asset.
Requires Permission: [View Assets, Manage Assets]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
GUID |
An asset’s global unique identifier. |
string |
Query |
include |
Appends a section in the response payload with details about the relationships that are specified in the include query. |
enum (assetGroups) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Request successful. |
|
400 |
Invalid asset ID. |
|
401 |
The |
|
404 |
No assets were found based on the specified query or filters. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /assets/{GUID}/asset-groups
Description
Retrieves the asset groups to which the given asset belongs.
Requires Permission: [View Assets, Manage Assets]
Parameters
Type | Name | Schema |
---|---|---|
Path |
GUID |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Request successful. |
|
400 |
Malformed asset GUID. |
|
401 |
The |
|
404 |
No asset was found based on the given GUID. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /preview-asset-group
Description
Retrieves a list of assets that would be included in an asset group without actually creating one.
Requires Permission: [Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
previewDetails |
Specifies the details needed to preview the list of assets for this asset group. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Retrieved the assets based on the applied filters. |
|
400 |
Malformed filter. |
|
401 |
The |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Definitions
allLinks
Name | Schema |
---|---|
first |
|
last |
|
next |
|
prev |
|
self |
first
Name | Schema |
---|---|
href |
string |
last
Name | Schema |
---|---|
href |
string |
next
Name | Schema |
---|---|
href |
string |
prev
Name | Schema |
---|---|
href |
string |
self
Name | Schema |
---|---|
href |
string |
assetAttributesRequest
Name | Description | Schema |
---|---|---|
assetType |
The type of the asset that is provided by the workload. |
string |
description |
The description of the asset. |
string |
discoveryHosts |
The list of NetBackup hosts that have discovered this asset. When an asset is updated with new discovery hosts, they will be appended to the existing list of discovery hosts. |
< machine > array |
displayName |
The display name of this asset in the NetBackup Web UI. |
string |
extendedAttributes |
The workload attributes that can be searched. Values are truncated if they exceed the character-length limit. |
< string, AnyValue > map |
firstDiscoveredTime |
The ISO 8601 formatted time at which the asset was first discovered. |
string (date-time) |
lastDiscoveredTime |
The ISO 8601 formatted time at which the asset was last discovered. |
string (date-time) |
masters |
The list of NetBackup master servers associated with this asset. When an asset is updated with new master servers, they will be appended to the existing list of master servers. |
< machine > array |
properties |
All the workload-specific data. This data cannot be searched. |
string |
protectionMethods |
The protection methods that are available for this asset. |
< protectionMethods > array |
providerGeneratedId |
The provider identifier, which is unique within the workloadType context that is provided by the workload. |
string |
version |
The version of the asset. |
string |
workloadType |
The workload type to which this asset belongs. |
string |
protectionMethods
Name | Description | Schema |
---|---|---|
protectionMethodName |
Maximal length : |
string |
assetAttributesResponse
Name | Description | Schema |
---|---|---|
assetLastBackupStatuses |
||
assetSubscriptions |
||
assetType |
The type of the asset that is provided by the workload. |
string |
description |
The description of the asset. |
string |
discoveryHosts |
The list of NetBackup hosts that have discovered this asset. When an asset is updated with new discovery hosts, they will be appended to the existing list of discovery hosts. |
< machine > array |
displayName |
The display name of this asset in the NetBackup Web UI. |
string |
extendedAttributes |
The workload attributes that can be searched. Values are truncated if they exceed the character-length limit. |
< string, AnyValue > map |
firstDiscoveredTime |
The ISO 8601 formatted time at which the asset was first discovered. |
string (date-time) |
lastDiscoveredTime |
The ISO 8601 formatted time at which the asset was last discovered. |
string (date-time) |
masters |
The list of NetBackup master servers associated with this asset. When an asset is updated with new master servers, they will be appended to the existing list of master servers. |
< machine > array |
properties |
All the workload-specific data. This data cannot be searched. |
string |
protectionMethods |
The protection methods that are available for this asset. |
< protectionMethods > array |
providerGeneratedId |
The provider identifier, which is unique within the workloadType context that is provided by the workload. |
string |
version |
The version of the asset. |
string |
workloadType |
The workload type to which this asset belongs. |
string |
protectionMethods
Name | Description | Schema |
---|---|---|
protectionMethodName |
Maximal length : |
string |
assetDetail
Name | Schema |
---|---|
data |
|
included |
< includedAssetGroupInfo > array |
assetGroup
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The global unique identifier (GUID) of the asset group. |
string |
links |
Contains links to related APIs. |
|
type |
The type of resource. This should always be "assetGroup". |
string |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
assetGroupAttributes
Name | Description | Schema |
---|---|---|
assetGroupSubscriptions |
The list of protection plans this asset group is subscribed to. |
< assetGroupSubscriptions > array |
assetType |
The name of the asset type contained within this asset group. |
string |
createdDateTime |
The timestamp that indicates when the asset group was created, in ISO 8601 format. |
string (date-time) |
description |
The description of the asset group. |
string |
displayName |
The display name of the asset group. |
string |
filterConstraint |
The filter constraint. For VMware workloads, this indicates the vCenter or the ESXi host name. |
string |
lastModifiedDateTime |
The timestamp that indicates when the asset group was last modified, in ISO 8601 format. |
string (date-time) |
oDataQueryFilter |
The filter criteria in OData query format. |
string |
vipQueryFilter |
The filter criteria in VIP query format, converted from the oDataQueryFilter. |
string |
workloadType |
The name of the workload type contained within this asset group. |
enum (VMware) |
assetGroupSubscriptions
Name | Description | Schema |
---|---|---|
policyName |
The NetBackup policy that is used when the asset group is protected. |
string |
sloId |
The unique ID of the protection plan protecting the asset group. |
string |
sloName |
Name of the protection plan protecting the asset group. |
string |
subscriptionId |
The unique ID of the asset group’s subscription to the protection plan. |
string |
assetGroupDetail
Name | Schema |
---|---|
data |
assetSubscription
Asset subscription details.
Name | Description | Schema |
---|---|---|
sloId |
The unique ID of the protection plan protecting the asset. |
string |
sloName |
Name of the protection plan protecting the asset. |
string |
subscriptionId |
The unique ID of the asset’s subscription to the protection plan. |
string |
createAssetGroupAttributes
Name | Description | Schema |
---|---|---|
assetType |
The name of the asset type contained within this asset group. |
string |
description |
The description of the asset group. Maximum 1024 characters. |
string |
displayName |
The display name of the asset group. Maximum 256 characters. |
string |
filterConstraint |
The filter constraint. For VMware workloads, this indicates the vCenter or the ESXi host name. |
string |
oDataQueryFilter |
The filter criteria in OData query format. Maximum 4096 characters. If no filter is supplied, all assets matching the filter constraint will be included. |
string |
workloadType |
The name of the workload type contained within this asset group. |
enum (VMware) |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getAsset
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The global unique identifier (GUID) of the asset. |
string |
links |
||
relationships |
||
type |
Type as 'asset' |
enum (asset) |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
relationships
Name | Schema |
---|---|
assetGroups |
getAssetGroupsResponse
Name | Schema |
---|---|
data |
< assetGroup > array |
links |
|
meta |
meta
Name | Schema |
---|---|
pagination |
getAssetsResponse
Name | Schema |
---|---|
data |
< getAsset > array |
included |
< includedAssetGroupInfo > array |
links |
|
meta |
meta
Name | Schema |
---|---|
pagination |
includedAssetGroupInfo
Name | Schema |
---|---|
attributes |
|
id |
string |
type |
string |
attributes
Name | Description | Schema |
---|---|---|
displayName |
The display name of the asset group. |
string |
lastBackupStatusAttributes
Name | Description | Schema |
---|---|---|
backupTime |
The ISO 8601 formatted time when the asset was last backed up. |
string (date-time) |
jobId |
The NetBackup job ID that last protected the asset. |
integer |
jobStatus |
The status of the last job. |
integer |
masterUuid |
The NetBackup master server UUID protecting the asset. |
string |
policyName |
The NetBackup policy that is used when the asset is protected. |
string |
scheduleName |
The NetBackup schedule name used when protecting the asset. |
string |
scheduleType |
The NetBackup schedule type used when protecting the asset. |
enum (FULL, DIFFERENTIAL_INCREMENTAL, CUMULATIVE_INCREMENTAL, USER_BACKUP, USER_ARCHIVE, TRANSACTION_LOG) |
lastBackupStatusList
Type : < lastBackupStatusAttributes > array
machine
Name | Description | Schema |
---|---|---|
hostName |
Maximal length : |
string |
ipAddress |
Maximal length : |
string |
uuid |
Maximal length : |
string |
paginationAttributes
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
page |
integer |
pages |
integer |
prev |
integer |
patchAssetGroupRequest
Specifies all or some fields of an asset group record in the database to be updated.
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
postAssetCleanupRequest
Specifies the request body for cleaning up assets in the database.
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
type |
The type of data being represented. |
enum (assetCleanup) |
attributes
Name | Description | Schema |
---|---|---|
assetIds |
The list of global unique identifiers (GUID) of the assets to be deleted. |
< string > array |
cleanupTime |
Specifies an ISO-8601 formatted time. Assets from the given list that were discovered before this time are eligible to be deleted. |
string (date-time) |
postAssetGroupPreviewRequest
Specifies the necessary information to preview the list of assets for an asset group before it is created.
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
type |
The type of data being represented. |
enum (assetGroupPreview) |
attributes
Name | Description | Schema |
---|---|---|
filterConstraint |
The filter constraint. For VMware workloads, this indicates the vCenter or the ESXi host name. |
string |
oDataQueryFilter |
The filter criteria in OData query format. Maximum 4096 characters. If no filter is supplied, all assets matching the filter constraint will be returned. |
string |
pageLimit |
The number of asset records on one page. |
integer |
pageOffset |
The page offset for pagination. |
integer |
sort |
Sort in ascending order on the specified property. Prefix with '-' for descending order. |
string |
workloadType |
The name of the workload type contained within this asset group. |
enum (VMware) |
postAssetGroupRequest
Creates a record in the database to store asset group details.
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
type |
This should always be set to "assetGroup" |
string |
relatedResources
Name | Schema |
---|---|
data |
< data > array |
links |
|
meta |
Name | Schema |
---|---|
id |
string |
type |
string |
Name | Schema |
---|---|
related |
|
self |
Name | Schema |
---|---|
href |
string |
Name | Schema |
---|---|
href |
string |
Name | Schema |
---|---|
pagination |
updateAssetGroupAttributes
Name | Schema |
---|---|
description |
string |
displayName |
string |
odataFilterCriteria |
string |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Catalog API
Overview
The NetBackup Catalog API provides access to the NetBackup catalog.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /catalog/images
Description
Returns the list of images based on the specified filters. All the filters are based on OData standards and filtering on the following attributes is supported.
Name | Supported Operators | Description | Schema |
---|---|---|---|
backupId |
eq |
The identifier for the backup image. |
string |
backupTime |
ge le |
The backup time range in ISO 8601 format. By default, backupTime ge is set to 24 hours ago and backupTime le is set to the current time. |
date-time |
clientName |
eq |
The client name. |
string |
policyType |
eq |
The policy type. |
string |
policyName |
eq |
The policy name. |
string |
scheduleType |
eq |
The schedule type. Possible values: FULL DIFFERENTIAL_INCREMENTAL USER_BACKUP USER_ARCHIVE CUMULATIVE_INCREMENTAL |
string |
providerGeneratedId |
eq |
The provider generated id. |
string |
Requires Permission: [View Recovery Points, Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
The filter criteria in OData format. |
string |
|
Query |
page[limit] |
The number of images on one page. |
integer |
|
Query |
page[offset] |
The image record number offset. |
integer |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Returned the list of catalog images based on the filter criteria. |
|
400 |
Invalid filter criteria. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /catalog/images/contents/{requestId}
Description
Gets the next page of file contents for the specified request ID. Continue to call this API with the same request ID to retrieve all files for the image specified with the request ID. When there are no more contents to retrieve, this API returns status 404, and the request ID is deleted automatically. The pagination values 'last' and 'first' are for informational purpose only. These values cannot be used to traverse to the last or the first page in the image contents array. Note that there is a timeout between calls of this API. Each successful call to this API resets the timeout. The timeout limit is 6 minutes.
Requires Permission: [Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Schema |
---|---|---|
Path |
requestId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Returned the next page of file contents successfully. |
|
401 |
The |
|
404 |
The request ID was not found, or the user has already retrieved the last page of contents. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /catalog/images/contents/{requestId}
Description
Deletes the specified request ID.
Requires Permission: [Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Schema |
---|---|---|
Path |
requestId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Request ID deleted successfully. |
No Content |
401 |
The |
|
404 |
The request ID was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /catalog/images/{backupId}
Description
Requests the details of an image.
Requires Permission: [View Recovery Points, Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Schema |
---|---|---|
Path |
backupId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Image details were returned successfully. |
|
400 |
The backup ID is invalid. |
|
401 |
The |
|
404 |
No images were found with the specified backup ID. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /catalog/images/{backupId}/contents
Description
Gets a request ID that is used to retrieve the file contents of an image.
Requires Permission: [Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
backupId |
The backup ID of the specified image. |
string |
|
Query |
page[limit] |
The number of file contents on one page rounded to the next highest multiple of 50. |
integer |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
202 |
Generated a request ID for the search. |
|
400 |
The format of the backup ID is invalid. |
|
401 |
The |
|
404 |
No images were found with the specified backup ID. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /catalog/latest-vmware-images
Description
Gets the list of VMware images based on the specified filters, then only returns the latest backed up image per unique client. If no filters are specified, page[offset] defaults to 0 and page[limit] defaults to 10. All of the filters are based on OData standards. Filtering on the following attributes is supported:
Name | Supported Operators | Description | Schema |
---|---|---|---|
vCenter |
eq ge gt le lt contains startswith endswith |
Specifies the vCenter Server that the machine belonged to. |
string |
instanceUUID |
eq |
Specifies the Instance UUID of the machine. |
uuid |
backupTime |
eq ge gt le lt |
The backup time range in ISO 8601 format. If one of backupTime eq/ge/gt is not set, backupTime ge is set to 24 hours ago by default. |
date-time |
vmDisplayName |
eq ge gt le lt contains startswith endswith |
Specifies the virtual machine display name. |
string |
vmHostName |
eq ge gt le lt contains startswith endswith |
Specifies the virtual machine host name. |
string |
biosUUID |
eq ge gt le lt contains startswith endswith |
Specifies the virtual machine BIOS UUID. |
uuid |
vmDNSName |
eq ge gt le lt contains startswith endswith |
Specifies the virtual machine DNS name. |
string |
client |
eq ge gt le lt contains startswith endswith |
Specifies client machine name of the virtual machine. |
string |
Requires Permission: [View Recovery Points, Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
The filter criteria in OData format. |
string |
|
Query |
page[limit] |
The number of images on one page. |
integer |
|
Query |
page[offset] |
The image record number offset. |
integer |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The list of catalog VMware images was returned successfully. |
|
400 |
Invalid filter criteria. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /catalog/vmware-images
Description
Gets the list of VMWare images based on the specified filters. If no filters are specified, page[offset] defaults to 0 and page[limit] defaults to 10. All of the filters are based on OData standards. Filtering on the following attributes is supported:
Name | Supported Operators | Description | Schema |
---|---|---|---|
vCenter |
eq ge gt le lt contains startswith endswith |
Specifies the vCenter Server that the machine belonged to. |
string |
instanceUUID |
eq |
Specifies the Instance UUID of the machine. |
uuid |
backupTime |
eq ge gt le lt |
The backup time range in ISO 8601 format. If one of backupTime eq/ge/gt is not set, backupTime ge is set to 24 hours ago by default. |
date-time |
vmDisplayName |
eq ge gt le lt contains startswith endswith |
Specifies the virtual machine display name. |
string |
vmHostName |
eq ge gt le lt contains startswith endswith |
Specifies the virtual machine host name. |
string |
biosUUID |
eq |
Specifies the virtual machine BIOS UUID. |
uuid |
vmDNSName |
eq ge gt le lt contains startswith endswith |
Specifies the virtual machine DNS name. |
string |
client |
eq ge gt le lt contains startswith endswith |
Specifies client machine name of the virtual machine. |
string |
Requires Permission: [View Recovery Points, Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
The filter criteria in OData format. |
string |
|
Query |
page[limit] |
The number of images on one page. |
integer |
|
Query |
page[offset] |
The image record number offset. |
integer |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The list of catalog VMWare images was returned successfully. |
|
400 |
Invalid filter criteria. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /catalog/vmware-images/{backupId}
Description
Requests the details of a VMware image. The following relationship may be used in the include parameter:
Name | Description |
---|---|
optionalVmwareInfo |
Currently includes vmNetworks and vmDisks |
Requires Permission: [View Recovery Points, Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
backupId |
The backup ID of the specified VMware image. |
string |
Query |
include |
Optional relationships to include. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
VMware image details returned successfully. |
|
400 |
The backup ID is invalid. |
|
401 |
The |
|
404 |
The VMware image was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Definitions
diskInfo
Name | Description | Schema |
---|---|---|
filePath |
The path at which the disk file resides. |
string |
fileSize |
The uncompressed size in bytes. |
integer (int64) |
lastModifiedTime |
The ISO 8601 timestamp that indicates when the disk file was last modified. |
string (date-time) |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
fragment
Name | Description | Schema |
---|---|---|
blockSize |
The block size used when writing the backup. |
integer |
checkpoint |
Internal use. |
integer |
copyDate |
For the first fragment of each copy in NetBackup 6.5 and later, the ISO-8601 timestamp on which the copy was written. The value is 0 for versions before NetBackup 6.5. |
string (date-time) |
copyNumber |
The copy number for this record. |
integer |
dataFormat |
The backup data format. These enums are the same as the "data format types" in NetBackup (for example, DF_TAR, DF_SNAPSHOT and DF_NDMP). |
enum (TAR, SNAPSHOT, NDMP_DUMP) |
density |
The NetBackup density of the media written to. |
integer |
deviceWrittenOn |
The device that the copy was written on. This is the tape drive index, or -1 for non-tape media based backups. |
integer |
expiration |
The ISO 8601 timestamp of the expiration date of this copy. |
string (date-time) |
fileNumber |
The file number. This number is a numeric value that indicates the file number on the media. This number is displayed in the Activity Monitor under the Job Detailed Status as "positioning to file". |
integer |
firstBlock |
Internal use. |
integer |
fragmentFlags |
Internal use. |
integer |
fragmentNumber |
The fragment number of this record within this copy. |
integer |
host |
The name of the host that wrote this image copy to media. |
string |
kbytes64 |
The size of the fragment in kilobytes. |
integer |
lastBlock |
Internal use. |
integer |
mediaDate |
The ISO-8601 formatted timestamp for the tape media. |
string (date-time) |
mediaDesc |
Internal use. |
string |
mediaId |
The media ID or path this fragment is written to. |
string |
mediaSequenceNumber |
Internal use. |
integer |
mediaSubtype |
Internal use. |
integer |
mediaType |
Internal use. |
integer |
multiplex |
Internal use. |
integer |
offset |
Internal use. |
integer |
remainder |
Internal use. |
integer |
resumeNumber |
Internal use. |
integer |
retentionLevel |
Internal use. |
integer |
slpTryToKeepDate |
Internal use. |
integer |
image
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
relationships |
|
type |
string |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
imageAttributes
Name | Description | Schema |
---|---|---|
backupCopyType |
The type of backup copy. These enums are the same as the "backup copy constants" in NetBackup, for example, BC_DEFAULT, BC_TPC, etc. |
enum (DEFAULT, TPC, MEDIA_SERVER, NAS, SNAPSHOT, NDMP) |
backupStatus |
The NetBackup exit status of the backup job. |
integer |
backupTime |
The ISO 8601 timestamp used for backup image ID. |
string (date-time) |
blockIncrementalFullTime |
The time used for Block Level Incremental Backups (BLIB). A non-zero value indicates the current backup time if BLIB is performed. |
integer |
clientCharset |
Integer representation of the character set used when the client calls bpcd. |
integer |
clientName |
The name of the client protected by this image. |
string |
compression |
Indicates whether software compression is used. |
boolean |
contentFile |
The filename of the content (*.f) file. |
string |
contentFileCompressed |
Type of compression used on the content file (*.f). |
enum (UNKNOWN, NOT, LEGACY, SCRIPT_OLD, SCRIPT_NEW, ZLIB) |
contentFileSize |
The size of content file. |
string |
creator |
The user name of backup initiator. |
string |
dataClassification |
The data class specified in the policy. |
string |
drMediaList |
A list of tape media IDs required for DR. |
< string > array |
elapsedTimeSeconds |
The amount of time (in seconds) that the backup took to run to completion. |
integer |
encryption |
The type of encryption used. |
enum (NONE, LEGACY, CIPHER) |
expiration |
The ISO 8601 timestamp format for the expiration of this image. |
string (date-time) |
extendedSecurityInfo |
True if extended security information was used. |
boolean |
fileSystemOnly |
This is a type of recovery option. |
boolean |
fragments |
The fragment list for all copies of the image. |
< fragment > array |
imageDumpLevel |
The NDMP dump level. |
integer |
imageType |
Identifies the image as one of the following types: 0 = REGULAR or normal backup, 1 = PRE_IMPORT or Phase 1 import of this image is completed, 2 = IT_IMPORTED or Phase 2 import of this image is completed; this value also means that an imported image was backed up. |
enum (NORMAL, PRE_IMPORT, IMPORTED) |
jobId |
The backup job ID. |
integer |
kbytes |
The number of kilobytes (KB) backed up. |
integer |
kbytesDataTransferred |
The number of bytes transferred. |
integer |
keyword |
The backup policy keyword. |
string |
mpx |
Indicates if the image is multiplexed on tape. |
boolean |
numCopies |
The number of copies of this image. |
integer |
numFiles |
The number of files backed up. |
integer |
numberFragments |
The total number of fragments including all copies, that is, the length of the "fragments" array. |
integer |
originMasterServer |
The name of the origin master server. |
string |
policyName |
The name of the backup policy. |
string |
policyType |
This value describes which agent generated the image. "Standard", "Oracle", "MS-Windows", "VMware", "Hyper-V", "MS-SQL-Server", "MS-Exchange-Server", etc. |
string |
primaryCopy |
The default copy to use for restores and duplications. |
integer |
providerGeneratedId |
The identifier assigned by the asset’s provider, if any. Prepended with the asset type. |
string |
proxyClient |
The host name of the proxy client used for the backup. |
string |
remoteExpiration |
The UTC timestamp for the REMOTE expiration of this image. See "Auto Image Replication". |
integer |
retentionLevel |
The retention level of the image. |
integer |
scheduleName |
The name of the schedule used to create the backup. |
string |
scheduleType |
The type of schedule. These enums are the same as the "schedule types" in NetBackup, for example, ST_FULL, ST_DINC, ST_UBACKUP, ST_UARCHIVE and ST_CINC. |
enum (FULL, DIFFERENTIAL_INCREMENTAL, USER_BACKUP, USER_ARCHIVE, CUMULATIVE_INCREMENTAL) |
slpCompleted |
Indicates that the storage lifecycle policy (SLP) has satisfied all its operations on this image. |
integer |
slpName |
The name of the SLP that manages this image. |
string |
slpVersion |
The version number of the SLP that manages this image. |
integer |
snapshotTime |
The time in ISO-8601 format when the snapshot was taken. |
string (date-time) |
tirExpiration |
The UTC timestamp for the expiration of the True Image Restore (TIR) data. |
integer |
version |
The image format version. |
integer |
vmType |
The type of virtual machine backed up by this image. |
integer |
imageContents
Name | Schema |
---|---|
data |
< imageContentsAttributes > array |
links |
|
meta |
links
Name | Description | Schema |
---|---|---|
next |
Contains a link to the next page of values. |
next
Name | Description | Schema |
---|---|---|
href |
The URL to obtain the next page of values. For this API, this link should be identical to the current URL. |
string |
meta
Name | Schema |
---|---|
pagination |
imageContentsAttributes
Name | Schema |
---|---|
attributes |
|
id |
string |
type |
string |
imageDetail
Name | Schema |
---|---|
data |
imageFileContentEntry
Name | Description | Schema |
---|---|---|
blockNumber |
The block number on which the file resides. |
integer (int64) |
compressedFileSize |
The compressed size in bytes. This values is 0 if the file is not compressed. |
integer (int64) |
deviceNumber |
The device number of the file or directory. |
integer |
filePath |
The path at which the disk file resides. |
string |
fileSize |
The actual size in bytes. Directories are reported as 0 bytes. |
integer (int64) |
group |
The group to which the file record belongs. |
string |
inImageFlag |
Detects if the file is in the image. Is Set to 0 if file is not in the image. Is Set to 1 if file is in the image. Is Set to 2 if the image contains only True Image Restore data. |
integer |
inodeLastModified |
The ISO 8601 timestamp that indicates when the file’s inode was last modified. |
string (date-time) |
lastAccessTime |
The ISO 8601 timestamp that indicates when the file record was last accessed. |
string (date-time) |
lastModifiedTime |
The ISO 8601 timestamp that indicates when the file record was last modified. |
string (date-time) |
pathMode |
File/directory mode bits in decimal. |
integer |
rawPartitionSize |
The size of the raw partition. This value is a non-zero number if the file is a raw partition. |
integer |
user |
The owner of the file record. |
string |
imageList
Name | Schema |
---|---|
data |
< image > array |
meta |
meta
Name | Schema |
---|---|
pagination |
imageRelationships
Name | Schema |
---|---|
vmwareImage |
vmwareImage
Name | Schema |
---|---|
data |
|
links |
data
Name | Schema |
---|---|
id |
string |
type |
string |
links
Name | Schema |
---|---|
related |
Name | Schema |
---|---|
href |
string |
optionalVmwareInfo
Name | Schema |
---|---|
attributes |
|
id |
string |
type |
string |
attributes
Name | Description | Schema |
---|---|---|
vmDisks |
A list of disks on the image. |
< diskInfo > array |
vmNetworks |
A list of the networks to which the machine belongs. |
< string > array |
vmTemplate |
True if the virtual machine is a template. |
boolean |
vmVersion |
The version of virtual machine. |
string |
paginationValues
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
prev |
integer |
requestId
Name | Description | Schema |
---|---|---|
requestId |
The ID for subsequent requests. |
string |
vmwareImage
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
relationships |
|
type |
string |
attributes
Name | Description | Schema |
---|---|---|
backupTime |
The ISO 8601 timestamp used for backup image ID in ISO-8601 format. |
string (date-time) |
biosUUID |
The BIOS UUID of the virtual machine. |
string |
client |
The name of the client protected by this image. |
string |
cluster |
The cluster that the virtual machine belongs to. |
string |
clusterPath |
The data center path of the cluster that the virtual machine belongs to. |
string |
datacenter |
The data center of the virtual machine. |
string |
esxiServer |
The ESX server name of the virtual machine. |
string |
instanceUUID |
The Instance UUID of the virtual machine. |
string |
ipAddress |
The IP address of the client that is protected by this image. |
string |
policyName |
The name of the backup policy. |
string |
resourcePoolOrVapp |
The name of the resource pool or a vApp that was assigned to the VM when it was backed up. A resource pool is a way of controlling resources. A VM is always in a resource pool. |
string |
scheduleType |
The type of schedule. These enums are the same as the "schedule types" in NetBackup, for example, ST_FULL, ST_DINC, ST_UBACKUP, ST_UARCHIVE and ST_CINC. |
enum (FULL, DIFFERENTIAL_INCREMENTAL, USER_BACKUP, USER_ARCHIVE, CUMULATIVE_INCREMENTAL) |
vCDOrg |
The name of the vCloud Director Organization or tenant that a VM belonged to if the backup was a vCloud Director backup. |
string |
vCDOrgVDC |
The name of the Virtual DataCenter the VM resided in if the backup was a vCloud Director backup. |
string |
vCDServer |
The name of the vCloud Director server if the backup was a vCloud Director backup. |
string |
vCDVApp |
The name of the vApp that the VM is part of if the backup was a vCloud Director backup. |
string |
vCDVmName |
The logical name of the VM inside the vApp if the backup was a vCloud Director backup. |
string |
vCenter |
The name of the vCenter hosting the virtual machine. |
string |
vmDNSName |
The DNS name of the virtual machine. |
string |
vmDisplayName |
The display name of the virtual machine. |
string |
vmFolder |
The datastore path where the virtual machine is stored. |
string |
vmHostName |
The host name of the virtual machine. |
string |
vmxDatastore |
The name of the datastore where the VM configuration files were located. |
string |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
relationships
Name | Schema |
---|---|
image |
|
optionalVmwareInfo |
image
Name | Schema |
---|---|
data |
|
links |
data
Name | Schema |
---|---|
id |
string |
type |
string |
links
Name | Schema |
---|---|
related |
Name | Schema |
---|---|
href |
string |
optionalVmwareInfo
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
id |
string |
type |
string |
vmwareImageDetail
Name | Schema |
---|---|
data |
|
included |
< optionalVmwareInfo > array |
vmwareImageList
Name | Schema |
---|---|
data |
< vmwareImage > array |
meta |
meta
Name | Schema |
---|---|
pagination |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Configuration API
Overview
The NetBackup Configuration API provides access to NetBackup configuration.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
POST /config/hosts
Description
Creates a host entry in database.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for creating the host. |
string |
Body |
Host Data |
The properties of the host to be added in the database. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created a host database entry. |
No Content |
400 |
Bad or invalid request. |
|
401 |
The |
|
409 |
The server already exists in the database. |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/hosts
Description
Gets all hosts information.
Requires Permission: [Manage Hosts]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully fetched all hosts information. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/hosts/hostmappings
Description
Fetches a list of hosts and the details of their host ID-to-host name mappings.
The results depend on one or more parameters or conditions, such as isapproved
, isconflict
,
isshared
, and isaddedmanually
. The result set is determined, if all specified conditions are true.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
isaddedmanually |
Fetches a list of hosts and the details of their host ID-to-hostname mappings based on the value of the isaddedmanually parameter. |
boolean |
Query |
isapproved |
Fetches a list of hosts and the details of their host ID-to-host name mappings based on the value of the isapproved parameter. |
boolean |
Query |
isconflict |
Fetches a list of hosts and the details of their host ID-to-hostname mappings based on the value of the isconflict parameter. |
boolean |
Query |
isshared |
Fetches a list of hosts and the details of their host ID-to-hostname mappings based on the value of the isshared parameter. |
boolean |
Query |
mappedHostName |
Fetches a list of hosts and the details of their host ID-to-host name mappings based on the value of the mappedhostname parameter. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully fetched host information. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/hosts/{hostId}
Description
Gets information for the specified host ID.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
hostId |
The host ID of the host. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved host information. |
|
401 |
The |
|
404 |
No host exists with host ID. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PATCH /config/hosts/{hostId}
Description
Updates information for a host with the specified host ID. Only the NetBackup security administrator can update the 'autoReissue' parameter.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for updating the host properties. |
string |
Path |
hostId |
Host ID of the host. |
string |
Body |
Host Properties |
Properties of the host to be updated. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Host information is successfully updated. |
No Content |
400 |
Bad or Invalid Request. |
|
401 |
The |
|
404 |
No host associated with the specified host ID. |
|
409 |
The host already exists. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/hosts/{hostId}/comment
Description
Updates comment for the host that is associated with the specified host ID.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
hostId |
The host ID of the host. |
string |
Body |
HostCommentDetails |
Host-specific comment to be updated. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully updated the host information. |
No Content |
400 |
Bad or invalid request. |
|
401 |
The |
|
404 |
No host associated with the specified host ID exists. |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/hosts/{hostId}/hostmappings
Description
Fetches the details of the host ID-to-host name mappings that are associated with the specified host ID.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
hostId |
Specifies the host ID for which you want to add mappings. |
string |
Query |
isapproved |
Provides a list of approved or pending mappings of the host ID based on the specified parameter value. |
boolean |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved host information. |
|
401 |
The |
|
404 |
No host exists with specified host ID. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/hosts/{hostId}/hostmappings/{mappedHostName}
Description
Adds mappings for the specified host ID.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
Specifies the audit reason for adding the host ID-to-host name mapping. |
string |
Path |
hostId |
Specifies the host ID for which you want to add mappings. |
string |
Path |
mappedHostName |
Host ID-to-host name mapping to be added. |
string |
Body |
HostMappingDetails |
The properties of the host to be mapped. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully updated the host mapping properties for the specified host ID. |
No Content |
201 |
Successfully added the host mapping to the specified host ID. |
No Content |
400 |
Invalid parameter with request payload. |
|
401 |
The |
|
409 |
A conflict in the host ID-to-host name mapping was detected. |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /config/hosts/{hostId}/hostmappings/{mappedHostName}
Description
Deletes host mappings that are associated with the specified host ID.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
Specifies the reason for deleting the host ID-to-host name mapping. |
string |
Path |
hostId |
Specifies the host ID that is associated with the mapping that you want to delete. |
string |
Path |
mappedHostName |
Specifies the host ID-to-host name mapping that you want to delete. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully deleted the host mapping for the specified host ID. |
No Content |
401 |
The |
|
404 |
The specified host mapping was not found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/hosts/{hostId}/reset
Description
Resets the host information that is associated with the specified host ID.
Requires Permission: [Manaage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for resetting the host. |
string |
Path |
hostId |
The host ID of the host. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully reset the host entry. |
No Content |
401 |
The |
|
404 |
No host exists with the specified host ID. |
|
406 |
Invalid |
|
500 |
An unexpected system error occurred. |
Security
Type | Name |
---|---|
apiKey |
GET /config/hosts?name={hostName}
Description
Gets information for a host with name specified.
Requires Permission: [Manage Hosts]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
hostName |
The name of the host. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved host information. |
|
401 |
The |
|
404 |
No host exists with the specified host name. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /config/policies/
Description
Creates the policy. Cloud, Oracle, MS SQL Server, and VMware policy types are supported with the policy type specific schemas. For other policy types, the Generic schema can be used with the request header specified below. The Generic schema exposes all possible values of a policy and depends on the user to provide all values that are relevant to the workload type. Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for creating the policy. |
string |
Header |
X-NetBackup-Policy-Use-Generic-Schema |
Indicates whether the Generic policy schema is used. |
boolean |
Body |
policyDetails |
The details of the policy to be created. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully created the policy. |
No Content |
400 |
Failed to parse the JSON body. |
|
401 |
The |
|
409 |
The policy already exists. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
501 |
Not implemented for policies other than Cloud, Oracle, MS SQL Server, and VMware. For other policy types, the Generic schema can be used with the request header X-NetBackup-Policy-Use-Generic-Schema set to true. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/policies/
Description
Lists all of the NetBackup policies.
Requires Permission: [Manage Policies]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the list of policies. |
|
401 |
The |
|
406 |
Invalid |
|
500 |
An unexpected system error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/policies/{policyName}
Description
Get the details for a specified policy. Cloud, Oracle, MS SQL Server, and VMware policy types are supported with the policy type specific schemas. For other policy types, the Generic schema will be used. The Generic schema gets all the possible fields of a policy that are not specific to policy type.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Policy-Use-Generic-Schema |
Indicates whether the Generic policy schema is used. |
boolean |
Path |
policyName |
The name of the policy. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the policy details. |
|
401 |
The |
|
404 |
The specified policy was not found. |
|
406 |
Invalid |
|
500 |
An unexpected system error. |
|
501 |
Not implemented for policies other than Cloud, Oracle, MS SQL Server, and VMware. For other policy types, the Generic schema can be used with the request header X-NetBackup-Policy-Use-Generic-Schema set to true. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/policies/{policyName}
Description
Updates the policy details with specified policy name. Cloud, Oracle, MS SQL Server, and VMware policy types are supported with the policy type specific schemas. For other policy types, the Generic schema can be used with the request header specified below. The Generic schema exposes all the possible values of a policy and depends on user to provide all values relevant to policy type. Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
If-Match |
The current generation ID of the policy. |
string |
Header |
X-NetBackup-Audit-Reason |
The audit reason for updating the policy. |
string |
Header |
X-NetBackup-Policy-Use-Generic-Schema |
Indicates whether the Generic policy schema is used. |
boolean |
Path |
policyName |
The name of the policy. |
string |
Body |
policyDetails |
The details of the policy to be updated. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully updated the policy. |
No Content |
400 |
Failed to parse the JSON body. |
|
401 |
The |
|
404 |
No policy exists with the specified policy name. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
|
501 |
Not implemented for policies other than Cloud, Oracle, MS SQL Server, and VMware. For other policy types, the Generic schema can be used with the request header X-NetBackup-Policy-Use-Generic-Schema set to true. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /config/policies/{policyName}
Description
Deletes a specified policy.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
policyName |
The name of the policy. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully deleted the policy. |
No Content |
401 |
The |
|
404 |
No policy exists with the specified policy name. |
|
406 |
Invalid |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
Unknown |
PUT /config/policies/{policyName}/backupselections
Description
Replaces the existing backup selections with the specified list of backup selections.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
If-Match |
The generation ID of the policy. |
string |
Header |
X-NetBackup-Audit-Reason |
The audit reason for changing the policy. |
string |
Path |
policyName |
The name of the policy. |
string |
Body |
backupSelections |
The list of paths for the policy backup. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully updated the backup selections. |
No Content |
400 |
Failed to parse the JSON body. |
|
401 |
The |
|
404 |
The specified policy was not found. |
|
412 |
A conditional update failed because of mismatched generation IDs. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Unexpected system error. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /config/policies/{policyName}/backupselections
Description
Removes the existing backup selections for the specified policy.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
If-Match |
The generation ID of the policy. |
string |
Header |
X-NetBackup-Audit-Reason |
The audit reason for changing the policy. |
string |
Path |
policyName |
The name of the policy. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully removed the backup selection. |
No Content |
401 |
The |
|
404 |
The specified policy was not found. |
|
406 |
Invalid |
|
412 |
A conditional update failed because of mismatched generation IDs. |
|
500 |
Unexpected system error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/policies/{policyName}/clients/{clientName}
Description
Adds or modifies a client for the specified policy. It can also modify an instance group, instance, or database for the specified policy.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
If-Match |
The generation ID of the policy. |
string |
Header |
X-NetBackup-Audit-Reason |
The audit reason for changing the policy. |
string |
Path |
clientName |
The host name of the client. |
string |
Path |
policyName |
The name of the policy. |
string |
Body |
client |
The client to be backed up. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully added a client, instance group, instance, or database for the specified policy. |
No Content |
204 |
Successfully updated the specified client in the policy. |
No Content |
400 |
Failed to parse the JSON body. |
|
401 |
The |
|
404 |
The specified policy was not found. |
|
412 |
A conditional update failed because of mismatched generation IDs. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Unexpected system error. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /config/policies/{policyName}/clients/{clientName}
Description
Removes the existing client for the specified policy.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
If-Match |
The generation ID of the policy. |
string |
Header |
X-NetBackup-Audit-Reason |
The audit reason for changing the policy. |
string |
Path |
clientName |
The host name of the client. |
string |
Path |
policyName |
The name of the policy. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully removed the client. |
No Content |
401 |
The |
|
404 |
The specified policy or client was not found. |
|
406 |
Invalid |
|
412 |
A conditional update failed because of mismatched generation IDs. |
|
500 |
Unexpected system error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/policies/{policyName}/schedules/{scheduleName}
Description
Adds or updates a schedule in the specified policy.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
If-Match |
The generation ID of the policy. |
string |
Header |
X-NetBackup-Audit-Reason |
The audit reason for changing the policy. |
string |
Path |
policyName |
The name of the policy. |
string |
Path |
scheduleName |
The name of the schedule. |
string |
Body |
schedule |
The policy schedule to add or update. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the schedule. |
No Content |
204 |
Successfully updated the schedule. |
No Content |
400 |
Failed to parse the JSON body. |
|
401 |
The |
|
404 |
The specified policy was not found. |
|
412 |
A conditional update failed because of mismatched generation IDs. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Unexpected system error. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /config/policies/{policyName}/schedules/{scheduleName}
Description
Removes a schedule from the specified policy.
Requires Permission: [Manage Policies]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
If-Match |
The generation ID of the policy. |
string |
Header |
X-NetBackup-Audit-Reason |
The audit reason for changing the policy. |
string |
Path |
policyName |
The name of the policy. |
string |
Path |
scheduleName |
The name of the schedule. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully deleted the schedule. |
No Content |
401 |
The |
|
404 |
The specified policy or schedule was not found. |
|
406 |
Invalid |
|
412 |
A conditional update failed because of mismatched generation IDs. |
|
500 |
Unexpected system error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/retentionlevels
Description
Get all retention levels.
Requires Permission: [Manage NetBackup]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully fetched all retention levels. |
|
401 |
The |
|
404 |
Cannot get retention levels. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/servers/trusted-master-servers
Description
Gets the list of all trusted master servers.
Requires Permission: [Manage Hosts]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of all trusted master servers. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /config/servers/vmservers
Description
Creates VM server credentials.
Requires Permission: [Manage Appservers and Asset Groups]
Parameters
Type | Name | Schema |
---|---|---|
Body |
vmserver |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully added the VM server credentials. |
No Content |
400 |
Failed to parse the JSON body, or the entity already exists. |
|
401 |
The |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/servers/vmservers
Description
Retrieves the list of VM server credentials based on the specified filters. If no filters are specified, information for all the VM server credentials are retrieved. All the filters are based on OData standards. Filtering is supported for the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
serverName |
eq ne ge gt le lt contains startswith endswith |
Specifies the VM server name. |
string |
serverType |
eq ne |
Specifies the VM server’s server type. |
string |
Requires Permission: [Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
filter |
Specifies filters according to OData standards. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the list of VM server credentials. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/servers/vmservers/{serverName}
Description
Lists the VM server credentials.
Requires Permission: [Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Schema |
---|---|---|
Path |
serverName |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
VM server credentials found. |
|
401 |
The |
|
404 |
No VM server credentials found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/servers/wssendpoints
Description
Lists all the hosts that serve as NetBackup WebSocket servers.
Requires Permission: [Manage NetBackup]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
List of available hosts. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
POST /config/servers/wssendpoints/save
Description
Adds the host to the list of NetBackup WebSocket Servers. Note: VALIDATEHOST or VALIDATEURL API needs to be called before the SAVE endpoint is called.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
Host configuration |
The details for the host. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The host was added successfully to the list of NetBackup WebSocket Servers. |
|
400 |
Bad request. |
|
401 |
The |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
The certificate did not match with the one accepted by the user. |
Consumes
-
application/vnd.netbackup+json;version=2.0
POST /config/servers/wssendpoints/update
Description
Updates the state of the specified host in the WebSocket Servers list. Note: SAVE API needs to be called before the update API is called.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
Host configuration |
The hostname and state to update. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Host details saved successfully. |
|
400 |
Bad request. |
|
401 |
The |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
Consumes
-
application/vnd.netbackup+json;version=2.0
POST /config/servers/wssendpoints/validatehost
Description
Checks if the host is valid using the information provided in the JSON file.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
Host configuration |
The details for the host. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Host validation successful. |
|
400 |
Bad request. |
|
401 |
The |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Unable to establish a connection to the specified URL. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /config/servers/wssendpoints/validateurl
Description
Checks if the host is valid using the URL provided.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
URL |
The NetBackup WebSocket Service (WSS) endpoint URL. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Host validation successful. |
|
400 |
Bad request. |
|
401 |
The |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /config/servers/wssendpoints/{hostName}
Description
Deletes the specified host name from the NetBackup WebSocket servers list.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
hostName |
The host name of the host to delete. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The host name was deleted successfully. |
|
401 |
The |
|
404 |
The host name could not be found. |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
POST /config/slps
Description
Create a new storage lifecycle policy (SLP).
Requires Permission: [Manage SLPs]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for creating the storage lifecycle policy (SLP). |
string |
Body |
body |
The storage lifecycle policy (SLP) definition to add. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the storage lifecycle policy (SLP). |
|
400 |
Bad Request. |
|
401 |
Authentication failed. |
|
409 |
A storage lifecycle policy (SLP) with the same name already exists. |
|
500 |
Internal Server Error. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/slps
Description
Obtains a list of all defined storage lifecycle policies (SLPs).
Requires Permission: [Manage SLPs]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of storage lifecycle policies (SLPs). |
|
401 |
Authentication failed. |
|
500 |
Internal Server Error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/slps/{slpName}
Description
Returns the definition of the storage lifecycle policy (SLP). By default, the latest version is returned.
Requires Permission: [Manage SLPs]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
slpName |
The name of the storage lifecycle policy (SLP). |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the details of the storage lifecycle policy (SLP). |
|
401 |
Authentication failed. |
|
404 |
A storage lifecycle policy with the specified name was not found. |
|
500 |
Internal Server Error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /config/slps/{slpName}
Description
Removes the storage lifecycle policy (SLP)
Requires Permission: [Manage SLPs]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
slpName |
The name of the storage lifecycle policy (SLP). |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully removed the storage lifecycle policy (SLP). |
No Content |
401 |
Authentication failed. |
|
404 |
The specified storage lifecycle policy (SLP) was not found. |
|
409 |
The specified storage lifecycle policy (SLP) is used in one or more backup policies, or the execution of the SLP is in progress. |
|
500 |
Internal Server Error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PATCH /config/slps/{slpName}
Description
Updates specified attributes of the storage lifecycle policy (SLP)
Requires Permission: [Manage SLPs]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
X-NetBackup-Audit-Reason |
The audit reason for updating the storage lifecycle policy (SLP) attributes. |
string |
Path |
slpName |
The name of the storage lifecycle policy (SLP). |
string |
Body |
body |
The storage lifecycle policy (SLP) attributes to update. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully updated the storage lifecycle policy (SLP). |
|
400 |
Bad Request. |
|
401 |
Authentication failed. |
|
404 |
The specified storage lifecycle policy (SLP) was not found. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/slps/{slpName}/versions/{versionNumber}
Description
Returns the definition of the storage lifecycle policy (SLP) for the specified version.
Requires Permission: [Manage SLPs]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
slpName |
The name of the storage lifecycle policy (SLP). |
string |
Path |
versionNumber |
The version of the storage lifecycle policy (SLP). |
integer |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the details of the storage lifecycle policy (SLP). |
|
404 |
A storage lifecycle policy with the specified name or version was not found. |
|
500 |
Internal Server Error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/smtpserver
Description
Fetches the SMTP server configuration.
Requires Permission: [Manage NetBackup]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully fetched the SMTP configuration details. |
|
401 |
The |
|
404 |
Resource cannot be found. |
|
500 |
System error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/smtpserver
Description
Creates a new SMTP server configuration or updates an existing configuration.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
smtpConfigurationRecord |
JSON object for the SMTP server configuration. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully added or updated the SMTP server configuration. |
No Content |
400 |
Bad request, invalid parameter with request payload. |
|
401 |
The |
|
500 |
System error occurred. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/snapshotproviders/configuredplugins
Description
Returns the list of configured plug-in types.
Requires Permission: [Manage Cloud Appservers]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of configured plug-in types. |
|
401 |
The |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /config/snapshotproviders/configuredplugins/{pluginType}/instances
Description
Adds a new configuration instance for the plug-in for Integrated Snapshot Management.
Requires Permission: [Manage Cloud Appservers]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
pluginType |
The type of plug-in. This value can be retrieved from |
string |
Body |
configurationRequest |
The details of the configuration instance for the plug-in. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully added the configuration instance. |
|
400 |
Bad request. The body of the request is not valid. |
|
401 |
The |
|
404 |
The specified plug-in type is not supported for the cloud vendor. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
409 |
A configuration instance with the same configuration details already exists. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/snapshotproviders/configuredplugins/{pluginType}/instances
Description
Returns the details of the configuration instances added to the specified plug-in type.
Requires Permission: [Manage Cloud Appservers]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
pluginType |
The type of plug-in. This value can be retrieved from |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the details of the configuration instances added to the specified plug-in type. |
|
400 |
Bad request. |
|
401 |
The |
|
404 |
The specified plug-in type is not supported for the cloud vendor. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/snapshotproviders/configuredplugins/{pluginType}/instances/{instanceName}
Description
Returns the details of the specified configuration instance.
Requires Permission: [Manage Cloud Appservers]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
instanceName |
The unique name that is specified by the NetBackup user for the configuration instance. |
string |
Path |
pluginType |
The type of plug-in. This value can be retrieved from |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the details of the specified configuration instance. |
|
400 |
Bad request. |
|
401 |
The |
|
404 |
The specified plug-in type or configuration instance not found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /config/snapshotproviders/configuredplugins/{pluginType}/instances/{instanceName}
Description
Updates the existing configuration instance of the plug-in.
Requires Permission: [Manage Cloud Appservers]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
instanceName |
The unique name that is specified by the NetBackup user for the configuration instance. |
string |
Path |
pluginType |
The type of plug-in. This value can be retrieved from |
string |
Body |
configurationRequest |
The details of configuration instance for the plug-in. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully updated the existing configuration instance of the plug-in. |
|
400 |
Bad request. The body of the request is not valid. |
|
401 |
The |
|
404 |
The specified plug-in type or configuration instance not found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
409 |
A configuration instance with the same configuration details already exists. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PATCH /config/snapshotproviders/configuredplugins/{pluginType}/instances/{instanceName}
Description
Updates few attributes of specified configuration instance.
Requires Permission: [Manage Cloud Appservers]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
instanceName |
The unique name that is specified by the NetBackup user for the configuration instance. |
string |
Path |
pluginType |
The type of plug-in. This value can be retrieved from |
string |
Body |
configurationPatchRequest |
The details of configuration instance for the plug-in. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully updated the existing configuration instance of the plug-in. |
|
400 |
Bad request. The body of the request is not valid. |
|
401 |
The |
|
404 |
The specified plug-in type or configuration instance not found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/snapshotproviders/supportedplugins
Description
Returns the list of all supported plug-in types.
Requires Permission: [Manage Cloud Appservers]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of supported plug-in types. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/snapshotproviders/supportedplugins/{pluginType}
Description
Returns the configuration attributes of the specified plug-in type.
Requires Permission: [Manage Cloud Appservers]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
pluginType |
The type of plug-in. This value can be retrieved from |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the configuration attributes of the specified plug-in type. |
|
400 |
Bad request. |
|
401 |
The |
|
404 |
The specified plug-in type is not supported for the cloud vendor. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /config/workloads/vmware/vcenter-recovery-topologies/{vcenter-id}
Description
Gets the vCenter recovery topology information for the given vCenter ID.
Requires Permission: [Recover/Restore]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
vcenter-id |
The ID of the vCenter. This ID is the server name and must match the name (short name or fully qualified domain name) that was specified when the server was added. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the vCenter topology information for the specified vCenter ID. |
|
401 |
The |
|
404 |
No entity found. |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"links" : {
"self" : {
"href" : "/config/workloads/vmware/vcenter-recovery-topologies/b3079apphp2b6.engba.veritas.com"
}
},
"type" : "/vmware/vcenter-topologies",
"id" : "b3079apphp2b6.engba.veritas.com",
"attributes" : {
"hierarchy" : {
"type" : "VCENTER",
"name" : "b3079apphp2b6.engba.veritas.com",
"children" : [ {
"type" : "DATACENTER",
"name" : "ha-datacenter",
"children" : [ {
"type" : "HOST",
"name" : "b3079apphp2b6.engba.veritas.com",
"children" : [ ]
} ]
} ]
}
}
}
}
GET /config/workloads/vmware/vcenter-topologies/{vcenter-id}
Description
Gets the vCenter topology information for the given vCenter ID.
Requires Permission: [Recover/Restore]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
vcenter-id |
The ID of the vCenter. This ID is the server name and must match the name (short name or fully qualified domain name) that was specified when the server was added. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the vCenter topology information for the specified vCenter ID. |
|
401 |
The |
|
404 |
No entity found. |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"links" : {
"self" : {
"href" : "/config/workloads/vmware/vcenter-recovery-topologies/b3079apphp2b6.engba.veritas.com"
}
},
"type" : "/vmware/vcenter-topologies",
"id" : "b3079apphp2b6.engba.veritas.com",
"attributes" : {
"hierarchy" : {
"type" : "VCENTER",
"name" : "b3079apphp2b6.engba.veritas.com",
"children" : [ {
"type" : "DATACENTER",
"name" : "ha-datacenter",
"children" : [ {
"type" : "HOST",
"name" : "b3079apphp2b6.engba.veritas.com",
"children" : [ ]
} ]
} ]
}
}
}
}
GET /config/workloads/vmware/vcenters/{vcenter-id}/esxiservers/{esxiserver-id}/datastores
Description
Returns the list of datastores available for the given host or cluster on the specified vCenter.
Requires Permission: [Recover/Restore]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
esxiserver-id |
The name of the host or cluster exactly as configured in the VMware server topology view whether short or fully-qualified. |
string |
Path |
vcenter-id |
The ID of the vCenter. This ID is the server name and must match the name (short name or fully qualified domain name) that was specified when the server was added. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of datastores available for the given host or cluster on the specified vCenter. |
|
401 |
The |
|
404 |
No entity found. |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"links" : {
"self" : {
"href" : "/config/workloads/vmware/vcenters/dummy.vcenter.server.com/esxiservers/dummy.esxi.server.com/datastores"
}
},
"type" : "datastores",
"id" : "dummy.vcenter.server.com_dummy.esxi.server.com",
"attributes" : {
"datastores" : [ {
"name" : "hp2b12-ds1",
"type" : "VMFS",
"freeSpaceInBytes" : 34354676834,
"physicalDevice" : "ds:///vmfs/volumes/57f6dc7d-83dd7f32-6849-0017a477049c",
"children" : [ ]
} ]
}
}
}
GET /config/workloads/vmware/vcenters/{vcenter-id}/esxiservers/{esxiserver-id}/networks
Description
Returns the list of networks available for the given host or cluster on the specified vCenter.
Requires Permission: [Recover/Restore]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
esxiserver-id |
The name of the host or cluster exactly as configured in the VMware server topology view whether short or fully-qualified. |
string |
Path |
vcenter-id |
The ID of the vCenter. This ID is the server name and must match the name (short name or fully qualified domain name) that was specified when the server was added. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of networks available for the given host or cluster on the specified vCenter. |
|
401 |
The |
|
404 |
No entity found. |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"links" : {
"self" : {
"href" : "/config/workloads/vmware/vcenters/dummy.vcenter.server.com/esxiservers/dummy.esxi.server.com/networks"
}
},
"type" : "networks",
"id" : "dummy.vcenter.server.com_dummy.esxi.server.com",
"attributes" : {
"networks" : [ "VM Network1", "VM Network2", "VM Network3" ]
}
}
}
GET /config/workloads/vmware/vcenters/{vcenter-id}/esxiservers/{esxiserver-id}/resource-pools
Description
Returns the list of resource pools available for the given host or cluster on the specified vCenter.
Requires Permission: [Recover/Restore]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
esxiserver-id |
The name of the host or cluster exactly as configured in the VMware server topology view whether short or fully-qualified. |
string |
Path |
vcenter-id |
The ID of the vCenter. This ID is the server name and must match the name (short name or fully qualified domain name) that was specified when the server was added. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of resource pools available for the given host or cluster on the specified vCenter. |
|
401 |
The |
|
404 |
No entity found. |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"links" : {
"self" : {
"href" : "/config/workloads/vmware/vcenters/dummy.vcenter.server.com/esxiservers/dummy.esxi.server.com/resource-pools"
}
},
"type" : "resourcepools",
"id" : "dummy.vcenter.server.com_dummy.esxi.server.com",
"attributes" : {
"resourcePools" : [ {
"name" : "MTV",
"type" : "ResourcePool",
"path" : "/Minions-DC/host/dummy.esxi.server.com/Resources/MTV",
"children" : [ ]
}, {
"name" : "ROS",
"type" : "ResourcePool",
"path" : "/Minions-DC/host/dummy.esxi.server.com/Resources/ROS",
"children" : [ ]
} ]
}
}
}
Definitions
SLPInternalServerError
Name | Description | Schema |
---|---|---|
details |
A mapping of error code to error description to provide more context about the nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
configAttributeList
Name | Description | Schema |
---|---|---|
multivalue |
< string > array |
|
name |
The name of the key for the key-value pair. For example, an access key or a list of regions. The value of this key can be either singlevalue or multivalue. |
string |
singlevalue |
The value of the key. For example, the user name for an access key or the password for a Secret Access Key. |
string |
configAttributes
Name | Schema |
---|---|
configurationAttributes |
< configAttributeList > array |
configPatchAttribute
Name | Description | Schema |
---|---|---|
isDisable |
Indicates whether asset discovery for this configuration instance is enabled. |
boolean |
configinstanceAttributes
Name | Description | Schema |
---|---|---|
attributeType |
The type of attribute. |
string |
attributeValue |
The list of possible values for the attribute. For example, valid names of the supported regions for a cloud provider. |
< string > array |
caseSensitive |
Indicates if this attribute is case-sensitive. |
boolean |
displayName |
The external (displayed on the interface) name of the attribute. For example, "Access Key" or "Secret Key". |
string |
isAttributeList |
Indicates if this attribute supports list operations. |
boolean |
isAttributeRequired |
Indicates if this attribute is mandatory. |
boolean |
name |
The internal name of the attribute. For example, "accesskey" or "secretkey". |
string |
configurationPatchRequest
Name | Schema |
---|---|
data |
configurationPatchRequestData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The unique name that is specified by the NetBackup user for the configuration instance. |
string |
type |
The type of resource. For example, "plugininstance". |
enum (plugininstance) |
configurationRequest
Name | Schema |
---|---|
data |
configurationRequestData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The unique name that is specified by the NetBackup user for the configuration instance. |
string |
type |
The type of resource. For example, "plugininstance". |
enum (plugininstance) |
configurationResponse
Name | Schema |
---|---|
data |
configurationResponseArray
Name | Schema |
---|---|
data |
< configurationResponse > array |
configurationResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The unique name that is specified by the NetBackup user for the configuration instance. |
string |
links |
||
type |
The type of resource. For example, "plugininstance". |
enum (plugininstance) |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
configuredPluginMetadata
Name | Description | Schema |
---|---|---|
name |
The valid name of the plug-in type. For example, for Amazon AWS the name value is "aws". |
string |
pluginInstanceCount |
The configured instances count of the plug-in. |
integer |
configuredPluginType
Name | Description | Schema |
---|---|---|
attributes |
The metadata for the plug-in. |
|
id |
The unique identifier (name) of the plug-in type. For example, the unique identifier for Amazon AWS is "aws". |
string |
links |
||
type |
The type of resource. For example, "plugin". |
enum (plugin) |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
createSLPErrorResponse
Name | Description | Schema |
---|---|---|
details |
A mapping of error code to error description to provide more context about the nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
operationErrors |
List of errors in POST storage lifecycle policy (SLP) operations. |
< createSLPOperationError > array |
createSLPOperationError
Name | Description | Schema |
---|---|---|
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description for an invalid operation. |
string |
operationId |
'The operation index that corresponds to the identified invalid operation. This index is generated based on the sequence of operations in input payload. A value of "0" indicates an error in the entire storage lifecycle policy (SLP).' |
integer |
datastoreNode
The properties of the datastore.
Name | Description | Schema |
---|---|---|
children |
< datastoreNode > array |
|
freespace |
The size in Bytes. |
integer (int64) |
name |
string |
|
physicalDevice |
string |
|
type |
string |
datastoreResource
The properties of the list of datastores available on the ESXi or Cluster server.
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
type |
string |
attributes
Name | Description | Schema |
---|---|---|
datastores |
The list of datastores. |
< datastoreNode > array |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
emptyResponse
Type : object
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getSLPResponse
Name | Schema |
---|---|
data |
getSLPsResponse
Name | Schema |
---|---|
data |
< slpDefinition > array |
links |
|
meta |
links
Name | Schema |
---|---|
first |
|
last |
|
next |
|
prev |
|
self |
first
Name | Schema |
---|---|
href |
string |
last
Name | Schema |
---|---|
href |
string |
next
Name | Schema |
---|---|
href |
string |
prev
Name | Schema |
---|---|
href |
string |
self
Name | Schema |
---|---|
href |
string |
meta
Name | Schema |
---|---|
pagination |
pagination
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
page |
integer |
pages |
integer |
prev |
integer |
getTrustedMasterServersResponse
Name | Schema |
---|---|
data |
< data > array |
links |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
type |
enum (trustedMasterServer) |
attributes
Name | Schema |
---|---|
trustedMasterServerName |
string |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
hostGenericSchema
Name | Description | Schema |
---|---|---|
certificate |
The signing certificate that is provided by the master server to establish a secure connection. |
string |
connectionState |
Indicates whether or not the host is connected. Possible values are null, connected, and disconnected. |
enum (CONNECTED, DISCONNECTED) |
groupId |
The group identifier of the host. |
string |
hostName |
The host name for the communicating host. |
string |
priority |
Specifies the order in which to attempt to connect to the host. NetBackup attempts to connect to the host that has the highest priority. |
integer |
state |
Indicates the state of the host. Possible values are null, activated, and deactivated. |
enum (ACTIVATED, DEACTIVATED) |
token |
The authentication token that is required to make API calls. |
string |
url |
The NetBackup WebSocket Service (WSS) endpoint URL. |
string |
hostGenericSchemaArray
Type : < hostGenericSchema > array
hostMappingsDetails
Name | Description | Schema |
---|---|---|
hostMappings |
The list of host mappings associated with the specified host. |
< mappingDetails > array |
timeToLiveInMin |
The time duration (in minutes) for which the response provided by the URI is valid. |
integer |
hostResponse
Name | Description | Schema |
---|---|---|
autoReissue |
Specifies whether the host requires a reissue token to reissue a certificate or not. |
boolean |
autoReissueDuration |
The time duration (in milliseconds) for which the certificate can be deployed on the host without requiring a reissue token. |
number |
comment |
Comment provided for the host. |
string |
cpuArchitecture |
The CPU architecture of the host. |
string |
createdDateTime |
The time that the host entry was made, in UTC. |
integer |
hostMappings |
The list of host mappings that are associated with the host. |
< mappingDetails > array |
hostName |
The name of the host. |
string |
hwDescription |
The hardware description of the host. |
string |
installedEEBs |
The NetBackup EEBs that are installed on the host. |
string |
isSecureEnabled |
Specifies whether the host can communicate securely or not. |
boolean |
lastUpdatedDateTime |
The time when the host entry was last updated, in UTC. |
integer |
masterServer |
The NetBackup master server that is associated with the host. |
string |
nbuVersion |
The NetBackup version on the host. |
string |
osType |
The operating system type of the host. |
string |
osVersion |
The operating system of the host. |
string |
servers |
A list of servers associated with the host. |
< string > array |
uuid |
The unique ID of the host. |
string |
hostStatus
Name | Description | Schema |
---|---|---|
connectionDecision |
Specifies whether the connection between the hosts should proceed or should be dropped. The master server sends either of the following connection decisions: CONTINUE, DROP Communication between the hosts is proceeded or dropped depending on the connection decision. |
enum (CONTINUE, DROP) |
errorCode |
The NetBackup error code. |
integer |
errorMessage |
NetBackup error code string that describes the error code. |
string |
hostId |
The host ID of the peer host. |
string |
timeToLiveInMin |
The time duration (in minutes) for which the response provided by the URI is valid. |
integer |
hostsResponse
Name | Schema |
---|---|
hosts |
< hostResponse > array |
instanceResponse
Name | Description | Schema |
---|---|---|
configID |
The unique configuration instance identifier. |
string |
configurationAttributes |
< configAttributeList > array |
|
errMsg |
The error message to display if the configuration instance of the plug-in fails. |
string |
isDisable |
Indicates whether asset discovery for this configuration instance is enabled. |
boolean |
status |
The status of the configured instance of the plug-in. |
string |
listPoliciesResponse
Name | Schema |
---|---|
data |
< data > array |
data
Name | Description | Schema |
---|---|---|
attributes |
object |
|
id |
The name of the policy. |
string |
links |
A list of URIs to get more information about each policy. |
|
type |
The type of the policy. |
string |
links
Name | Schema |
---|---|
self |
self
Name | Description | Schema |
---|---|---|
href |
A link to the policy details. |
string |
listVmserverResponse
Name | Schema |
---|---|
data |
< data > array |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
type |
string |
attributes
Name | Schema |
---|---|
vmServer |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
mappingDetails
Name | Description | Schema |
---|---|---|
createdOn |
The time the host ID-to-host name mapping was created, in UTC. |
integer (int64) |
isAddedManually |
Specifies whether the mapping was added manually or not. |
boolean |
isApproved |
Specifies whether the new mapping is approved or not. |
boolean |
isConflicting |
Specifies whether mapping already exists for another host ID. |
boolean |
isShared |
Specifies whether the mapping is shared across hosts. |
boolean |
mappedHostName |
The name of the mapped host that is associated with the mapping details. |
string |
origin |
Specifies how the host ID-to-host name mapping was added. |
enum (CERTIFICATE_DEPLOYMENT, USER_ADDED, HOST_DISCOVERY, COMMUNICATION_DISCOVERY, ADD_HOST) |
updatedOn |
Specifies the time when the host ID-to-host name mapping was last updated. |
integer (int64) |
msdpServerAttributes
Name | Description | Schema |
---|---|---|
caCertHash |
SHA-1 hash of the associated CA certificate for the given host ID. |
string |
hostname |
The MSDP machine name associated with the given host ID. |
string |
lastUpdateDateTimeUTC |
The ISO 8601 formatted time when this record was last updated. |
string (date-time) |
msdpServerCredResponse
Name | Description | Schema |
---|---|---|
hostname |
The MSDP host name that corresponds to the given host id. |
string |
password |
The encrypted password of MSDP. |
string |
username |
The username of MSDP. |
string |
msdpServerResponse
Name | Schema |
---|---|
data |
msdpServerResponseArray
Name | Schema |
---|---|
data |
< msdpServerResponseData > array |
msdpServerResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
NetBackup host ID; used as unique ID to identify MSDP hosts. |
string |
type |
enum (msdpServerCACertHash) |
networkResource
The properties of the list of networks available on the ESXi or Cluster server.
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
type |
string |
attributes
Name | Description | Schema |
---|---|---|
networks |
The list of networks. |
< string > array |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
patchHostProperties
Name | Description | Schema |
---|---|---|
autoReissue |
Specifies whether or not an automatic reissue of the certificate is allowed. If this parameter is set and is valid, a certificate can be deployed on the host without requiring a reissue token. |
boolean |
clusterSharedNames |
A list of cluster shared names that are associated with the host. This is an optional field. Host Mappings only get ADDED if "clusterSharedNames" is specified. Administrator approval is required for the new cluster shared name. |
< string > array |
cpuArchitecture |
The CPU architecture of the host. |
string |
hostName |
The name of the host. |
string |
hwDescription |
The hardware description of the host. |
string |
installedEEBs |
The NetBackup EEBs installed on the host. |
string |
isSecureEnabled |
Specifies whether or not the host can communicate securely. |
boolean |
masterServer |
The NetBackup master server that is associated with the host. |
string |
nbuVersion |
The NetBackup version on the host. |
string |
osType |
The operating system type of the host. |
string |
osVersion |
The operating system of the host. |
string |
servers |
A list of servers associated with the host. |
< string > array |
patchSlpDefinition
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The name of the storage lifecycle policy (SLP). |
string |
type |
Type of the object. |
enum (slp) |
attributes
Name | Description | Schema |
---|---|---|
operationList |
The operations that need to be updated. |
< patchSlpOperationDefinition > array |
patchSlpOperationDefinition
Name | Description | Schema |
---|---|---|
operationIndex |
Indicates the execution order of the operations in the storage lifecycle policy (SLP), starting from index 1. |
integer |
storage |
||
targetImportSLP |
The name of the storage lifecycle policy (SLP) created for the import operation to the target master server. |
string |
targetMasterServer |
The name of the target master server to replicate the image to. |
string |
storage
Name | Description | Schema |
---|---|---|
name |
The name of the storage unit or storage unit group to use for this operation. |
string |
patchSlpRequest
Name | Schema |
---|---|
data |
peerHostInfo
Name | Description | Schema |
---|---|---|
hostId |
The host ID of the discovered peer host. |
string |
hostName |
The name of the peer host that is used for the connection. |
string |
pluginInfoAttribute
Name | Description | Schema |
---|---|---|
configinstanceAttributesArray |
List the configuration instance attributes for the plug-in type. |
< configinstanceAttributes > array |
displayName |
The external (displayed on the interface) name of the plug-in. For example, "Amazon AWS". |
string |
multipleConfigs |
Indicates if multiple configuration instances for a plug-in are supported. |
boolean |
name |
The valid name of the plug-in type. For example, for Amazon AWS the name value is "aws". |
string |
onHost |
Indicates if the agent must reside on the host. For application-consistent snapshots, the agent must reside on the host. Crash-consistent snapshots require an off-host agent. |
boolean |
version |
The version of the plug-in. |
string |
pluginTypeResponseArray
Name | Schema |
---|---|
data |
< configuredPluginType > array |
policyCloud
Name | Description | Schema |
---|---|---|
backupSelections |
A string that identifies the elements within Cloud asset that will be protected. |
|
clients |
For Cloud policy, it will be details of the details of asset to be protected. |
< clients > array |
policyAttributes |
The attributes of the policy. |
|
policyName |
The name of the policy. |
string |
policyType |
The type of the policy. For example, Cloud. |
string |
schedules |
The list of schedules information. |
< schedules > array |
backupSelections
Name | Schema |
---|---|
selections |
< string > array |
clients
Name | Description | Schema |
---|---|---|
OS |
The host’s operating system and the value for Cloud asset OS is CLOUD. |
string |
hardware |
The host’s hardware and the value for Clooud asset hardware is CLOUD. |
string |
hostName |
The asset ID of Cloud asset. |
string |
policyAttributes
Name | Description | Schema |
---|---|---|
active |
Indicates if the policy is active or disabled. For example, if you want to activate the policy set the flag to true. |
boolean |
autoManagedLabel |
The label for automatically managed policy. |
string |
autoManagedType |
If non-zero, the policy is automatically managed. A value of 1 means managed by protection plan. |
integer |
dataClassification |
The data classification type such as Bronze, Silver, Gold, and Platinum. You can customize these values. This is an optional field. |
string |
effectiveDateUTC |
The date and time the policy goes into effect, in UTC format. |
string (date-time) |
jobLimit |
The maximum number of jobs that originate from this policy and can concurrently run at any given time. If the number of jobs is 0, maximum limit is not enforced. |
integer |
keyword |
An optional keyword phrase. |
string |
mediaOwner |
The media server or group that owns the media. |
string |
priority |
The priority of jobs associated with this policy. The higher the number, the higher the priority (relative to other NetBackup jobs). |
integer |
storage |
The name of the storage unit associated with the policy. For protecting Cloud asset set storage to ANY. |
string |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
volumePool |
The volume pool that is associated with the policy. |
enum (NetBackup) |
schedules
Name | Description | Schema |
---|---|---|
acceleratorForcedRescan |
Indicates if file checksums are stored to aid in change detection. This parameter applies only to to NetBackup Accelerator backups. |
boolean |
backupCopies |
The copy details for the policy. Entry 1 reflects the primary schedule copy, which is always enabled. |
|
backupType |
The backup type of the schedule. |
enum (Full Backup) |
excludeDates |
The recurring days of the week, recurring days of the month, and exact dates on which this policy will not run. This parameter only applies to calendar-based schedules. |
|
frequencySeconds |
For frequency schedule types, the frequency at which to perform the backup, in seconds. |
integer |
includeDates |
The recurring days of the week, recurring days of the month, and exact dates on which this policy will run. This is applicable only for calendar schedule types. |
|
mediaMultiplexing |
The maximum number of jobs from the schedule that NetBackup can multiplex onto any one drive. Valid values are 1 (no multiplexing) to 32. |
integer |
retriesAllowedAfterRunDay |
Specifies if the backups are retried on any day when there is an open backup window. This is applicable only for the calendar schedule type. |
boolean |
scheduleName |
The name of the schedule. |
string |
scheduleType |
The type of the schedule. |
enum (Calendar, Frequency) |
snapshotOnly |
Indicates if NetBackup should create only an Instant Recovery snapshot (leaving the storage unit unused). If disabled, NetBackup both creates a snapshot and copies the snapshot to a storage unit. |
boolean |
startWindow |
The window during which the backup is allowed to start. Each day of the week is defined independently. Entry 1 is Sunday, entry 2 is Monday, and so on. |
< startWindow > array |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
syntheticBackup |
Specifies if a synthetic backup is performed. |
boolean |
backupCopies
Name | Description | Schema |
---|---|---|
copies |
The list of copy information. |
< copies > array |
priority |
The priority of jobs that are associated with any additional copies that are specified. The higher the number, the higher the priority (relative to other NetBackup jobs). Note this has no impact on the primary copy. |
integer |
copies
Name | Description | Schema |
---|---|---|
failStrategy |
The approach taken if a particular image fails to copy. |
enum (Fail All Copies) |
mediaOwner |
The media server or group that owns this copy. |
string |
retentionPeriod |
The retention period for the copy to be specified in quantity and units. |
|
storage |
The name of the storage unit that is associated with the copy. |
string |
volumePool |
The name of the volume pool that is associated with the copy. |
string |
retentionPeriod
Name | Description | Schema |
---|---|---|
unit |
The unit of the retention period in terms of time,for example,weeks,months,years and so on. |
enum (SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, INFINITE) |
value |
The value of the retention period in terms of unit defined. |
integer |
excludeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
The recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
The recurring days of the week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
includeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
The recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
The recurring days of the week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
startWindow
Name | Description | Schema |
---|---|---|
dayOfWeek |
The day of the week the backup window starts. Possible values for DAY are 1 (Sunday) through 7 (Saturday). |
integer |
durationSeconds |
The duration of the backup window, in seconds. |
integer |
startSeconds |
The start time of the backup window, expressed in seconds elapsed since the beginning of the day. |
integer |
policyGeneric
Name | Description | Schema |
---|---|---|
backupSelections |
The pathnames, VIP query and directives reflecting data to be backed up covered by this policy. |
|
clients |
The list of client information. |
< clients > array |
policyAttributes |
The attributes of the policy. |
|
policyName |
The name of the policy. |
string |
policyType |
The type of the policy. |
string |
schedules |
The list of schedules information. |
< schedules > array |
backupSelections
Name | Schema |
---|---|
selections |
< string > array |
clients
Name | Description | Schema |
---|---|---|
OS |
The host’s operating system. |
string |
databaseName |
The name of the database to be used with |
string |
hardware |
The host’s hardware. |
string |
hostName |
The name of the host to be backed up. |
string |
instanceGroup |
The name of the instance group to be backed up. |
string |
instanceName |
The name of the instance to be used with |
string |
policyAttributes
Name | Description | Schema |
---|---|---|
active |
Indicates if the policy is active or disabled. |
boolean |
alternateClientHostname |
If performing offhost backups with an alternate client, the name of the alternate client (or a supported directive, such as MEDIA_SERVER). |
string |
applicationConsistent |
Indicates whether application consistent (quiesced) backups are enabled. When useReplicationDirector is enabled, application consistent (quiesced) backups can be enabled or disbaled. |
boolean |
applicationDiscovery |
Indicates whether VMware Intelligent Policy is selected. When useReplicationDirector is enabled, VMware Intelligent Policy is selected automatically. |
boolean |
applicationProtection |
Used with VMware policy. |
< enum (Exchange Recovery, Exchange Recovery, Truncate Logs, MSSQL Server Recovery, MSSQL Server Recovery, Truncate Logs, SharePoint Recovery) > array |
archivedRedoLogOptions |
A collection of optional specifications related to archived redo logs. Not used with the 'Clients for use with scripts or templates' client selection type. |
|
autoManagedLabel |
The label for automatically managed policy. |
string |
autoManagedType |
If non-zero, the policy is automatically managed. A value of 1 means managed by a protection plan. |
integer |
backupFileNameFormatOverrides |
Defined variations to the standard backup file name format. Ensure that the format specified for all RMAN backup piece names ends with _%t to guarantee that each backup piece has a unique name in the catalog. |
|
backupHost |
The hostname of a NetBackup client that performs backups on behalf of the virtual machines. |
string |
backupSelectionType |
The backup selection type within Oracle and SQL that the selections belong to. For clientType value with 'Clients', backupSelectionType should be 'Clients'. |
enum (Whole Database, Whole Database - Datafile Copy Share, Partial Database - Tablespace, Partial Database - Datafiles, Fast Recovery Area (FRA), Clients, Database Backup Shares, File Group) |
backupSetIdentifier |
A user-specified tag name for a backup set, proxy copy, data file copy, or control file copy. This value maps to the Oracle property TAG. Not used with the 'Clients for use with scripts or templates' client selection type. |
string |
blockIncremental |
Indicates whether the policy performs block level incremental backups. When useReplicationDirector is enabled, block-level backups for the virtual machine are disabled automatically. |
boolean |
checkpointIntervalMinutes |
The number of minutes between each checkpoint. |
integer |
clientCompress |
Indicates if the backup is compressed. |
boolean |
clientEncrypt |
Indicates if the backup is encrypted. |
boolean |
clientType |
The type of Oracle or MS-SQL-Server elements targeted for backup under this policy. |
enum (Protect Instances and Databases, Protect Instance Groups, Clients) |
collectBareMetalRestoreInfo |
If enabled, collects Bare Metal Restore information. |
boolean |
collectTrueImageRestoreInfo |
The method of collecting true image restore information. |
enum (Collect true image restore information, Collect true image restore information with move detection, Off) |
crossMountPoints |
Indicates if the crossMountPoints is enabled. |
boolean |
dataClassification |
An optional classification tag. NetBackup comes with Bronze, Silver, Gold, and Platinum tags defined, but these values can be customized. |
string |
dataMoverMachine |
For offhost backups using Data Mover, this reflects the Data Mover type. |
enum (None, Third Party Copy Device, NetBackup Media Server, Network Attached Storage, NDMP) |
databaseBackupShareOptions |
For the 'Database Backup Shares' backup selection scope type, a collection of optional specifications for the point when backup sets and backup copies are automatically deleted from the appliance share. Maps to Oracle policy. |
|
databaseOptions |
A collection of tuning parameters that can improve the performance of MS-SQL-Server backups. Not used with the 'Clients for use with batch files' client selection type. |
|
datafileCopyTag |
For the 'Whole Database - Datafile Copy Share' backup selection scope type, a user-specified tag name associated with data files that are located on the appliance. |
string |
disableClientSideDeduplication |
Indicates if client-side deduplication is disabled. |
boolean |
discoveryLifetime |
The number of seconds to honor the original query results. After this interval, the query will be reused to account for changes to the virtual machine environment. Applicable only if virtual machines are being selected via a query. |
integer |
effectiveDateUTC |
The date and time the policy goes into effect, in UTC format. |
string |
exchangeDatabaseBackupSource |
The Exchange DAG or Exchange 2007 replication backup source within Exchange that the selections belong to. |
enum (Passive copy if available, else active copy, Passive copy only, Active copy only, Off) |
exchangeServerList |
A list of Exchange-2010-preferred servers. |
< string > array |
followNFSMounts |
Indicates whether NetBackup will back up or archive any Network File System (NFS) mounts that are named in the backup selection list, or by the user in the case of a user backup or archive. |
boolean |
granularRecovery |
If enabled, performs granular restore. |
boolean |
hypervServer |
The Hyper-V server on which the virtual machine clients are hosted. Maps to Hyper-V policy. |
string |
jobLimit |
The maximum number of jobs originating from this policy that can be running concurrently at any given time. If 0, no maximum is enforced. |
integer |
keyword |
An optional keyword phrase. |
string |
maximumLimits |
A collection of optional I/O and backup set limits. A value of 0 indicates that the limit is not enabled. Not used with the 'Clients for use with scripts or templates' client selection type. |
|
mediaOwner |
The media server or group that owns the media. |
string |
offhostBackup |
Indicates if the backup is an offhost backup. When useReplicationDirector is enabled, the offhost backup can be enabled or disabled. |
boolean |
offlineDatabaseBackup |
If enabled, the Oracle database is shut down and put into the mount state. Not used with the 'Clients for use with scripts or templates' client selection type. |
boolean |
optimizedBackup |
If enable, indicates that the backup is optimized on supporting Windows OS. |
boolean |
parallelStreams |
The number of parallel backup streams that can be used in a backup operation. Not used with the 'Clients for use with scripts or templates' client selection type. |
integer |
priority |
The priority of jobs associated with this policy. The higher the number, the higher the priority (relative to other NetBackup jobs). |
integer |
readOnlyTablespaceOptions |
If specified, overrides the default Oracle read-only tablespace options. Not used with the 'Clients for use with scripts or templates' client selection type. |
enum (Skip, Force) |
retainSnapshot |
Indicates that the snapshot is retained for instant recovery or for storage lifecycle policy (SLP) management. This parameter only applies to snapshot backups. |
boolean |
secondarySnapshotMethodArgs |
The value for the maximum number of snapshots when useReplicationDirector is enabled, for example, max_snapshots=1. |
string |
skipOfflineDatafiles |
If enabled, offline data files are skipped during the backup. This parameter is not used with the |
boolean |
snapshotBackup |
Indicates whether this is a snapshot backup (frozen image). When useReplicationDirector is enabled, the snapshot backup (frozen image) is selected automatically. |
boolean |
snapshotMethod |
The snapshot method. |
string |
snapshotMethodArgs |
The snapshot arguments in the form of key-value pairs separated by comma. |
string |
storage |
The name of the storage unit that is associated with the policy. |
string |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
transactionLogOptions |
A collection of tuning parameters that can improve the performance of MS-SQL-Server backups. Not used with the 'Clients for use with batch files' client selection type. |
|
useAccelerator |
Indicates if NetBackup Accelerator is used. |
boolean |
useMultipleDataStreams |
Indicates if multiple data streams are used. |
boolean |
useReplicationDirector |
Indicates if Replication Director is used to manage hardware snapshots. |
boolean |
useVirtualMachine |
Enabled for FlashBackup-Windows policies. Value of 0 -> 'No Virtual machine', 1 -> 'VMware Virtual Machine' and 2 -> 'Hyper-V virtual machine'. |
integer |
volumePool |
The volume pool that is associated with the policy. |
enum (NetBackup, DataStore) |
archivedRedoLogOptions
Name | Description | Schema |
---|---|---|
backupSetSize |
In kilobytes (KB), the maximum size for a backup set of archived redo logs. A value of 0 indicates that the limit is not enabled. |
integer |
deleteAfterMakingCopies |
If non-zero, archived redo logs are deleted after the specified number of copies are successful. |
integer |
filesPerBackupSet |
The maximum number of archived redo log files to include in each output backup set. A value of 0 indicates that the limit is not enabled. |
integer |
include |
If enabled, archived redo logs are included in full and incremental schedules. |
boolean |
parallelStreams |
The maximum number of connections between RMAN and a database instance. |
integer |
backupFileNameFormatOverrides
Name | Schema |
---|---|
archivedRedoLogs |
string |
controlFile |
string |
datafiles |
string |
fastRecoveryArea |
string |
Name | Description | Schema |
---|---|---|
deleteBackupCopies |
Indicates if the backup copies are automatically deleted. |
boolean |
deleteBackupSets |
Indicates if the backup sets are automatically deleted. |
boolean |
deleteProtectedBackupCopiesMinutes |
The number of minutes to pass before protected backup copies are automatically deleted. |
integer |
deleteProtectedBackupSetsMinutes |
The number of minutes to pass before protected backup sets are automatically deleted. |
integer |
databaseOptions
Name | Description | Schema |
---|---|---|
backupBlockSize |
The incremental size used by SQL Server for reading and writing backup images. |
enum (0.5 KB, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB) |
backupStripes |
The number of concurrent streams which the backup operation is divided into. |
integer |
clientBuffersPerStripe |
The number of buffers to allocate for reading or writing each datastream during a backup operation. |
integer |
convertDiffBackupsToFull |
If enabled, a differential backup is converted to a full backup if no previous full backup exists for the database or file group. |
boolean |
copyOnlyBackup |
If enabled, SQL Server is allowed to create an out-of-band backup so that it does not interfere with the normal backup sequence. |
boolean |
maxTransferSize |
The buffer size used by SQL Server for reading and writing backup images. |
enum (64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB) |
parallelBackupOps |
The number of backup operations to start simultaneously, per database instance. |
integer |
skipReadOnlyFilegroups |
If enabled, file groups that are read-only are excluded from the backups. Used only with the 'Whole Database' backup selection type. |
boolean |
skipUnavailableDatabases |
If enabled, any database with a status that prevents NetBackup from successfully backing up the database is skipped. |
boolean |
sqlServerChecksum |
The option for SQL Server backup checksums. |
enum (None, Continue on error, Fail on error) |
useSQLServerCompression |
If enabled, SQL Server is used to compress the backup image. Not supported for snapshot backups. |
boolean |
maximumLimits
Name | Description | Schema |
---|---|---|
backupPiece |
In kilobytes (KB), the maximum size of each backup piece that is created on this channel. Maps to the Oracle MAXPIECESIZE property. |
integer |
backupSetSize |
In kilobytes (KB), the maximum size for a backup set. Maps to the Oracle MAXSETSIZE property. |
integer |
filesPerBackupSet |
The maximum number of input files to include in each output backup set. Maps to the Oracle FILESPERSET property. |
integer |
openFiles |
The maximum number of input files that the backup operation can have open at any given time. Maps to the Oracle MAXOPENFILES property. |
integer |
readRate |
The maximum number of kilobytes (KB) that RMAN reads each second on this channel. Maps to the Oracle RATE property. |
integer |
transactionLogOptions
Name | Description | Schema |
---|---|---|
backupBlockSize |
The incremental size used by SQL Server for reading and writing backup images. |
enum (0.5 KB, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB) |
backupStripes |
The number of concurrent streams which the backup operation is divided into. |
integer |
clientBuffersPerStripe |
The number of buffers to allocate for reading or writing each datastream during a backup operation. |
integer |
convertLogBackupsToFull |
If enabled, a transaction backup is converted to a full backup if no previous full backup exists for the database. |
boolean |
maxTransferSize |
The buffer size used by SQL Server for reading and writing backup images. |
enum (64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB) |
parallelBackupOps |
The number of backup operations to start simultaneously, per database instance. |
integer |
skipUnavailableDatabases |
If enabled, any database with a status that prevents NetBackup from successfully backing up the database is skipped. |
boolean |
sqlServerChecksum |
The option for SQL Server backup checksums. |
enum (None, Continue on error, Fail on error) |
truncateLogsAfterBackup |
If enabled, the transaction log is backed up and the inactive part of the transaction log is removed. |
boolean |
useSQLServerCompression |
If enabled, SQL Server is used to compress the backup image. Not supported for snapshot backups. |
boolean |
schedules
Name | Description | Schema |
---|---|---|
acceleratorForcedRescan |
Indicates if file checksums are stored to aid in change detection. This parameter applies only to to NetBackup Accelerator backups. |
boolean |
backupCopies |
The copy details for the policy. Entry 1 reflects the primary schedule copy, which is always enabled. Entries 2-4 reflect (optional) additional copies. |
|
backupType |
The backup type of the schedule. |
enum (Application Backup, Archived Redo Log Backup, Cumulative Incremental Backup, Differential Incremental Backup, Full Backup) |
excludeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy does not run. This parameter only applies to calendar-based schedules |
|
frequencySeconds |
For frequency schedule types, the frequency at which to perform the backup, in seconds. |
integer |
includeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy does run. This parameter only applies to calendar-based schedules |
|
mediaMultiplexing |
The maximum number of jobs from the schedule that NetBackup can multiplex onto any one drive. Valid values are 1 (no multiplexing) to 32. |
integer |
retriesAllowedAfterRunDay |
Indicates if backups can retry on any day that has an open backup window. This parameter only applies to calendar-based schedules. |
boolean |
scheduleName |
The name of the schedule. |
string |
scheduleType |
The type of the schedule. |
enum (Calendar, Frequency) |
snapshotOnly |
Indicates if NetBackup should create only an Instant Recovery snapshot (leaving the storage unit unused). If disabled, NetBackup both creates a snapshot and copies the snapshot to a storage unit. |
boolean |
startWindow |
The window during which the backup is allowed to start. Each day of the week is defined independently. Entry 1 is Sunday, entry 2 is Monday, and so on. |
< startWindow > array |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
syntheticBackup |
Specifies if a synthetic backup is performed. |
boolean |
backupCopies
Name | Description | Schema |
---|---|---|
copies |
The list of copy information. |
< copies > array |
priority |
The priority of jobs that are associated with any additional copies that are specified. The higher the number, the higher the priority (relative to other NetBackup jobs). Note this has no impact on the primary copy. |
integer |
copies
Name | Description | Schema |
---|---|---|
failStrategy |
The approach taken if a particular image fails to copy. |
enum (Continue, Fail All Copies) |
mediaOwner |
The media server or group that owns this copy. |
string |
retentionPeriod |
The retention period for the copy to be specified in quantity and units. |
|
storage |
The name of the storage unit that is associated with the copy. |
string |
volumePool |
The name of the volume pool that is associated with the copy. |
string |
retentionPeriod
Name | Description | Schema |
---|---|---|
unit |
The unit of the retention period in terms of time,for example,weeks,months,years and so on. |
enum (SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, INFINITE) |
value |
The value of the retention period in terms of unit defined. |
integer |
excludeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is excluded. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
includeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
startWindow
Name | Description | Schema |
---|---|---|
dayOfWeek |
The day of the week the backup window starts. Possible values for DAY are 1 (Sunday) through 7 (Saturday). |
integer |
durationSeconds |
The duration of the backup window expressed in seconds. |
integer |
startSeconds |
The start time of the backup window, expressed in seconds elapsed since the beginning of the day. |
integer |
policyMS-SQL-Server
Name | Description | Schema |
---|---|---|
backupSelections |
The pathnames and directives reflecting data to be backed up for the MS-SQL-Server elements covered by this policy. |
|
clients |
The list of client information. |
< clients > array |
policyAttributes |
The attributes of the policy. |
|
policyName |
The name of the policy. |
string |
policyType |
The type of the policy. |
string |
schedules |
The list of schedules information. |
< schedules > array |
backupSelections
Name | Schema |
---|---|
selections |
< string > array |
clients
Name | Description | Schema |
---|---|---|
OS |
The host’s operating system. The sample values for the MS-SQL-Server client OS are HP-UX11.31, Debian2.6.32, RedHat2.6.32, SuSE3.0.76, IBMzSeriesRedHat2.6.32, IBMzSeriesSuSE3.0.76, NDMP, NetWare, OpenVMS_I64, AIX6, Solaris10, Solaris_x86_10_64, Windows, Windows10, Windows2003, Windows2008, Windows2012, Windows2012_R2, Windows2016, Windows7, Windows8, Windows8.1, WindowsVista, WindowsXP. |
string |
databaseName |
The name of the database to be used with |
string |
hardware |
The host’s hardware. The sample values for the MS-SQL-Server client Hardware are HP-UX-IA64, Linux, Linux-s390x, NDMP, Novell, OpenVMS4, RS6000, Solaris, Windows-x64, Windows-x86. |
string |
hostName |
The name of the host to be backed up. |
string |
instanceGroup |
The name of the instance group to be backed up. |
string |
instanceName |
The name of the instance to be used with |
string |
policyAttributes
Name | Description | Schema |
---|---|---|
active |
Indicates if the policy is active or disabled. |
boolean |
alternateClientHostname |
If performing offhost backups with an alternate client, the name of the alternate client (or a supported directive, such as MEDIA_SERVER). |
string |
autoManagedLabel |
The label for automatically managed policies. |
string |
autoManagedType |
If non-zero, the policy is automatically managed. The value of 1 means that the policy is managed by a protection plan. |
integer |
backupSelectionType |
The backup seletion type within MS-SQL-Server that the selections belong to. |
enum (Clients, Whole Database, File Group, Partial Database - Datafiles) |
clientCompress |
Indicates if the backup is compressed. |
boolean |
clientEncrypt |
Indicates if the backup is encrypted. |
boolean |
clientType |
The type of MS-SQL-Server elements targeted for backup under this policy. |
enum (Protect Instances and Databases, Protect Instance Groups, Clients) |
dataClassification |
An optional classification tag. NetBackup comes with Bronze, Silver, Gold, and Platinum tags defined, but these values can be customized. |
string |
dataMoverMachine |
For offhost backups using Data Mover, this reflects the Data Mover type. |
enum (Third Party Copy Device, NetBackup Media Server) |
databaseOptions |
A collection of tuning parameters that can improve the performance of MS-SQL-Server backups. Not used with the 'Clients for use with batch files' client selection type. |
|
disableClientSideDeduplication |
Indicates if client-side deduplication is disabled. |
boolean |
effectiveDateUTC |
The date and time the policy goes into effect, in UTC format. |
string |
jobLimit |
The maximum number of jobs originating from this policy that can be running concurrently at any given time. If 0, no maximum is enforced. |
integer |
keyword |
An optional keyword phrase. |
string |
mediaOwner |
The media server or group that owns the media. |
string |
offhostBackup |
Indicates if the backup is an offhost backup. When useReplicationDirector is enabled, the offhost backup can be enabled or disabled. |
boolean |
priority |
The priority of jobs associated with this policy. The higher the number, the higher the priority (relative to other NetBackup jobs). |
integer |
retainSnapshot |
Indicates that the snapshot is retained for instant recovery or for storage lifecycle policy (SLP) management. This parameter only applies to snapshot backups. |
boolean |
snapshotBackup |
Indicates whether this is a snapshot backup (frozen image). |
boolean |
snapshotMethod |
Indicates the snapshot method if this is a snapshot backup. Valid values are auto, VSS, vxvm. |
string |
snapshotMethodArgs |
Indicates the snapshot arguments corresponding to the snapshot method if this is a snapshot backup. This is a comma separated list of key-value pairs. |
string |
storage |
The name of the storage unit that is associated with the policy. |
string |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
transactionLogOptions |
A collection of tuning parameters that can improve the performance of MS-SQL-Server backups. Not used with the 'Clients for use with batch files' client selection type. |
|
volumePool |
The volume pool that is associated with the policy. |
enum (NetBackup, DataStore) |
databaseOptions
Name | Description | Schema |
---|---|---|
backupBlockSize |
The incremental size used by SQL Server for reading and writing backup images. |
enum (0.5 KB, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB) |
backupStripes |
The number of concurrent streams which the backup operation is divided into. |
integer |
clientBuffersPerStripe |
The number of buffers to allocate for reading or writing each datastream during a backup operation. |
integer |
convertDiffBackupsToFull |
If enabled, a differential backup is converted to a full backup if no previous full backup exists for the database or file group. |
boolean |
copyOnlyBackup |
If enabled, SQL Server is allowed to create an out-of-band backup so that it does not interfere with the normal backup sequence. |
boolean |
maxTransferSize |
The buffer size used by SQL Server for reading and writing backup images. |
enum (64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB) |
parallelBackupOps |
The number of backup operations to start simultaneously, per database instance. |
integer |
skipReadOnlyFilegroups |
If enabled, file groups that are read-only are excluded from the backups. Used only with the 'Whole Database' backup selection type. |
boolean |
skipUnavailableDatabases |
If enabled, any database with a status that prevents NetBackup from successfully backing up the database is skipped. |
boolean |
sqlServerChecksum |
The option for SQL Server backup checksums. |
enum (None, Continue on error, Fail on error) |
useSQLServerCompression |
If enabled, SQL Server is used to compress the backup image. Not supported for snapshot backups. |
boolean |
transactionLogOptions
Name | Description | Schema |
---|---|---|
backupBlockSize |
The incremental size used by SQL Server for reading and writing backup images. |
enum (0.5 KB, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB) |
backupStripes |
The number of concurrent streams which the backup operation is divided into. |
integer |
clientBuffersPerStripe |
The number of buffers to allocate for reading or writing each datastream during a backup operation. |
integer |
convertLogBackupsToFull |
If enabled, a transaction backup is converted to a full backup if no previous full backup exists for the database. |
boolean |
maxTransferSize |
The buffer size used by SQL Server for reading and writing backup images. |
enum (64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB) |
parallelBackupOps |
The number of backup operations to start simultaneously, per database instance. |
integer |
skipUnavailableDatabases |
If enabled, any database with a status that prevents NetBackup from successfully backing up the database is skipped. |
boolean |
sqlServerChecksum |
The option for SQL Server backup checksums. |
enum (None, Continue on error, Fail on error) |
truncateLogsAfterBackup |
If enabled, the transaction log is backed up and the inactive part of the transaction log is removed. |
boolean |
useSQLServerCompression |
If enabled, SQL Server is used to compress the backup image. Not supported for snapshot backups. |
boolean |
schedules
Name | Description | Schema |
---|---|---|
acceleratorForcedRescan |
Indicates if file checksums are stored to aid in change detection. This parameter applies only to NetBackup Accelerator backups. |
boolean |
backupCopies |
The copy details for the policy. Entry 1 reflects the primary schedule copy, which is always enabled. Entries 2-4 reflect (optional) additional copies. |
|
backupType |
The backup type of the schedule. |
enum (Application Backup, Differential Incremental Backup, Full Backup, Transaction Log Backup) |
excludeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy does not run. This parameter only applies to calendar-based schedules |
|
frequencySeconds |
For frequency schedule types, the frequency at which to perform the backup, in seconds. |
integer |
includeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy does run. This parameter only applies to calendar-based schedules |
|
mediaMultiplexing |
The maximum number of jobs from the schedule that NetBackup can multiplex onto any single drive. Valid values are 1 (no multiplexing) to 32. |
integer |
retriesAllowedAfterRunDay |
Indicates if backups can retry on any day that has an open backup window. This parameter only applies to calendar-based schedules. |
boolean |
scheduleName |
The name of the schedule. |
string |
scheduleType |
The type of the schedule. |
enum (Calendar, Frequency) |
snapshotOnly |
Indicates if NetBackup should create only an Instant Recovery snapshot (leaving the storage unit unused). If disabled, NetBackup both creates a snapshot and copies the snapshot to a storage unit. |
boolean |
startWindow |
The window during which the backup is allowed to start. Each day of the week is defined independently. Entry 1 is Sunday, entry 2 is Monday, and so on. |
< startWindow > array |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
syntheticBackup |
Specifies if a synthetic backup is performed. |
boolean |
backupCopies
Name | Description | Schema |
---|---|---|
copies |
The list of copy information. |
< copies > array |
priority |
The priority of jobs that are associated with any additional copies that are specified. The higher the number, the higher the priority (relative to other NetBackup jobs). Note this has no impact on the primary copy. |
integer |
copies
Name | Description | Schema |
---|---|---|
failStrategy |
The approach taken if a particular image fails to copy. |
enum (Continue, Fail All Copies) |
mediaOwner |
The media server or group that owns this copy. |
string |
retentionPeriod |
The retention period for the copy to be specified in quantity and units. |
|
storage |
The name of the storage unit that is associated with the copy. |
string |
volumePool |
The name of the volume pool that is associated with the copy. |
string |
retentionPeriod
Name | Description | Schema |
---|---|---|
unit |
The unit of the retention period in terms of time,for example,weeks,months,years and so on. |
enum (SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, INFINITE) |
value |
The value of the retention period in terms of unit defined. |
integer |
excludeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is excluded. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
includeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
startWindow
Name | Description | Schema |
---|---|---|
dayOfWeek |
The day of the week the backup window starts. Possible values for DAY are 1 (Sunday) through 7 (Saturday). |
integer |
durationSeconds |
The duration of the backup window expressed in seconds. |
integer |
startSeconds |
The start time of the backup window, expressed in seconds elapsed since the beginning of the day. |
integer |
policyOracle
Name | Description | Schema |
---|---|---|
backupSelections |
The pathnames and directives reflecting data to be backed up for the Oracle elements covered by this policy. |
|
clients |
The list of client information. |
< clients > array |
policyAttributes |
The attributes of the policy. |
|
policyName |
The name of the policy. |
string |
policyType |
The type of the policy. |
string |
schedules |
The list of schedules information. |
< schedules > array |
backupSelections
Name | Schema |
---|---|
selections |
< string > array |
clients
Name | Description | Schema |
---|---|---|
OS |
The host’s operating system. The sample values for the Oracle client OS are HP-UX11.31, Debian2.6.32, RedHat2.6.32, SuSE3.0.76, IBMzSeriesRedHat2.6.32, IBMzSeriesSuSE3.0.76, NDMP, NetWare, OpenVMS_I64, AIX6, Solaris10, Solaris_x86_10_64, Windows, Windows10, Windows2003, Windows2008, Windows2012, Windows2012_R2, Windows2016, Windows7, Windows8, Windows8.1, WindowsVista, WindowsXP. |
string |
databaseName |
The name of the database to be used with |
string |
hardware |
The host’s hardware. The sample values for the Oracle client Hardware are HP-UX-IA64, Linux, Linux-s390x, NDMP, Novell, OpenVMS4, RS6000, Solaris, Windows-x64, Windows-x86. |
string |
hostName |
The name of the host to be backed up. |
string |
instanceGroup |
The name of the instance group to be backed up. |
string |
instanceName |
The name of the instance to be used with |
string |
policyAttributes
Name | Description | Schema |
---|---|---|
active |
Indicates if the policy is active or disabled. |
boolean |
alternateClientHostname |
If performing offhost backups with an alternate client, the name of the alternate client (or a supported directive, such as MEDIA_SERVER). |
string |
archivedRedoLogOptions |
A collection of optional specifications related to archived redo logs. Not used with the 'Clients for use with scripts or templates' client selection type. |
|
autoManagedLabel |
The label for automatically managed policy. |
string |
autoManagedType |
If non-zero, the policy is automatically managed. A value of 1 means managed by a protection plan. |
integer |
backupFileNameFormatOverrides |
Optional overrides to the default formats for the various backup file names. Ensure that the format specified for all RMAN backup piece names ends with _%t to guarantee that each backup piece has a unique name in the catalog. |
|
backupSelectionType |
The backup seletion type within Oracle that the selections belong to. For clientType value with 'Clients', backupSelectionType should be 'Clients' also interpreted as 'Legacy Client with scripts or templates'. |
enum (Whole Database, Whole Database - Datafile Copy Share, Partial Database - Tablespace, Partial Database - Datafiles, Fast Recovery Area (FRA), Clients, Database Backup Shares) |
backupSetIdentifier |
A user-specified tag name for a backup set, proxy copy, data file copy, or control file copy. This value maps to the Oracle property TAG. Not used with the 'Clients for use with scripts or templates' client selection type. |
string |
blockIncremental |
Indicates whether the policy performs block level incremental backups. |
boolean |
clientCompress |
Indicates if the backup is compressed. |
boolean |
clientEncrypt |
Indicates if the backup is encrypted. |
boolean |
clientType |
The type of Oracle elements targeted for backup under this policy. |
enum (Protect Instances and Databases, Protect Instance Groups, Clients) |
dataClassification |
An optional classification tag. NetBackup comes with Bronze, Silver, Gold, and Platinum tags defined, but these values can be customized. |
string |
dataMoverMachine |
For offhost backups using Data Mover, this reflects the Data Mover type. |
enum (Third Party Copy Device, NetBackup Media Server, Network Attached Storage, NDMP) |
databaseBackupShareOptions |
For the 'Database Backup Shares' backup selection scope type, a collection of optional specifications for the point when backup sets and backup copies are automatically deleted from the appliance share. |
|
datafileCopyTag |
For the 'Whole Database - Datafile Copy Share' backup selection scope type, a user-specified tag name associated with data files that are located on the appliance. |
string |
disableClientSideDeduplication |
Indicates if client-side deduplication is disabled. |
boolean |
effectiveDateUTC |
The date and time the policy goes into effect, in UTC format. |
string |
followNFSMounts |
Indicates whether NetBackup will back up or archive any Network File System (NFS) mounts that are named in the backup selection list, or by the user in the case of a user backup or archive. |
boolean |
jobLimit |
The maximum number of jobs originating from this policy that can be running concurrently at any given time. If 0, no maximum is enforced. |
integer |
keyword |
An optional keyword phrase. |
string |
maximumLimits |
A collection of optional I/O and backup set limits. A value of 0 indicates that the limit is not enabled. Not used with the 'Clients for use with scripts or templates' client selection type. |
|
mediaOwner |
The media server or group that owns the media. |
string |
offhostBackup |
Indicates if the backup is an offhost backup. When useReplicationDirector is enabled, the offhost backup can be enabled or disabled. |
boolean |
offlineDatabaseBackup |
If enabled, the Oracle database is shut down and put into the mount state. Not used with the 'Clients for use with scripts or templates' client selection type. |
boolean |
parallelStreams |
The number of parallel backup streams that can be used in a backup operation. Not used with the 'Clients for use with scripts or templates' client selection type. |
integer |
priority |
The priority of jobs associated with this policy. The higher the number, the higher the priority (relative to other NetBackup jobs). |
integer |
readOnlyTablespaceOptions |
If specified, overrides the default Oracle read-only tablespace options. Not used with the 'Clients for use with scripts or templates' client selection type. |
enum (Skip, Force) |
retainSnapshot |
Indicates that the snapshot is retained for instant recovery or for storage lifecycle policy (SLP) management. This parameter only applies to snapshot backups. |
boolean |
skipOfflineDatafiles |
If enabled, offline data files are skipped during the backup. This parameter is not used with the |
boolean |
snapshotBackup |
Indicates whether this is a snapshot backup (frozen image). When useReplicationDirector is enabled, the snapshot backup (frozen image) is selected automatically. |
boolean |
snapshotMethod |
Indicates the snapshot method if this is a snapshot backup. |
string |
snapshotMethodArgs |
Indicates the snapshot arguments corresponding to the snapshot method if this is a snapshot backup. This is a comma separated list of key-value pairs. |
string |
storage |
The name of the storage unit that is associated with the policy. |
string |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
useAccelerator |
Indicates if NetBackup Accelerator is used. |
boolean |
useReplicationDirector |
Indicates if Replication Director is used to manage hardware snapshots. |
boolean |
volumePool |
The volume pool that is associated with the policy. |
enum (NetBackup, DataStore) |
archivedRedoLogOptions
Name | Description | Schema |
---|---|---|
backupSetSize |
In kilobytes (KB), the maximum size for a backup set of archived redo logs. A value of 0 indicates that the limit is not enabled. |
integer |
deleteAfterMakingCopies |
If non-zero, archived redo logs are deleted after the specified number of copies are successful. |
integer |
filesPerBackupSet |
The maximum number of archived redo log files to include in each output backup set. A value of 0 indicates that the limit is not enabled. |
integer |
include |
If enabled, archived redo logs are included in full and incremental schedules. |
boolean |
parallelStreams |
The maximum number of connections between RMAN and a database instance. |
integer |
backupFileNameFormatOverrides
Name | Description | Schema |
---|---|---|
archivedRedoLogs |
Default : |
string |
controlFile |
Default : |
string |
datafiles |
Default : |
string |
fastRecoveryArea |
Default : |
string |
Name | Description | Schema |
---|---|---|
deleteBackupCopies |
Indicates if the backup copies are automatically deleted. |
boolean |
deleteBackupSets |
Indicates if the backup sets are automatically deleted. |
boolean |
deleteProtectedBackupCopiesMinutes |
The number of minutes to pass before protected backup copies are automatically deleted. |
integer |
deleteProtectedBackupSetsMinutes |
The number of minutes to pass before protected backup sets are automatically deleted. |
integer |
maximumLimits
Name | Description | Schema |
---|---|---|
backupPiece |
In kilobytes (KB), the maximum size of each backup piece that is created on this channel. Maps to the Oracle MAXPIECESIZE property. |
integer |
backupSetSize |
In kilobytes (KB), the maximum size for a backup set. Maps to the Oracle MAXSETSIZE property. |
integer |
filesPerBackupSet |
The maximum number of input files to include in each output backup set. Maps to the Oracle FILESPERSET property. |
integer |
openFiles |
The maximum number of input files that the backup operation can have open at any given time. Maps to the Oracle MAXOPENFILES property. |
integer |
readRate |
The maximum number of kilobytes (KB) that RMAN reads each second on this channel. Maps to the Oracle RATE property. |
integer |
schedules
Name | Description | Schema |
---|---|---|
acceleratorForcedRescan |
Indicates if file checksums are stored to aid in change detection. This parameter applies only to NetBackup Accelerator backups. |
boolean |
backupCopies |
The copy details for the policy. Entry 1 reflects the primary schedule copy, which is always enabled. Entries 2-4 reflect (optional) additional copies. |
|
backupType |
The backup type of the schedule. |
enum (Application Backup, Archived Redo Log Backup, Cumulative Incremental Backup, Differential Incremental Backup, Full Backup) |
excludeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy does not run. This parameter only applies to calendar-based schedules |
|
frequencySeconds |
For frequency schedule types, the frequency at which to perform the backup, in seconds. |
integer |
includeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy does run. This parameter only applies to calendar-based schedules |
|
mediaMultiplexing |
The maximum number of jobs from the schedule that NetBackup can multiplex onto any single drive. Valid values are 1 (no multiplexing) to 32. |
integer |
retriesAllowedAfterRunDay |
Indicates if backups can retry on any day that has an open backup window. This parameter only applies to calendar-based schedules. |
boolean |
scheduleName |
The name of the schedule. |
string |
scheduleType |
The type of the schedule. |
enum (Calendar, Frequency) |
snapshotOnly |
Indicates if NetBackup should create only an Instant Recovery snapshot (leaving the storage unit unused). If disabled, NetBackup both creates a snapshot and copies the snapshot to a storage unit. |
boolean |
startWindow |
The window during which the backup is allowed to start. Each day of the week is defined independently. Entry 1 is Sunday, entry 2 is Monday, and so on. |
< startWindow > array |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
syntheticBackup |
Specifies if a synthetic backup is performed. |
boolean |
backupCopies
Name | Description | Schema |
---|---|---|
copies |
The list of copy information. |
< copies > array |
priority |
The priority of jobs that are associated with any additional copies that are specified. The higher the number, the higher the priority (relative to other NetBackup jobs). Note this has no impact on the primary copy. |
integer |
copies
Name | Description | Schema |
---|---|---|
failStrategy |
The approach taken if a particular image fails to copy. |
enum (Continue, Fail All Copies) |
mediaOwner |
The media server or group that owns this copy. |
string |
retentionPeriod |
The retention period for the copy to be specified in quantity and units. |
|
storage |
The name of the storage unit that is associated with the copy. |
string |
volumePool |
The name of the volume pool that is associated with the copy. |
string |
retentionPeriod
Name | Description | Schema |
---|---|---|
unit |
The unit of the retention period in terms of time,for example,weeks,months,years and so on. |
enum (SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, INFINITE) |
value |
The value of the retention period in terms of unit defined. |
integer |
excludeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is excluded. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
includeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
startWindow
Name | Description | Schema |
---|---|---|
dayOfWeek |
The day of the week the backup window starts. Possible values for DAY are 1 (Sunday) through 7 (Saturday). |
integer |
durationSeconds |
The duration of the backup window expressed in seconds. |
integer |
startSeconds |
The start time of the backup window, expressed in seconds elapsed since the beginning of the day. |
integer |
policyRequest
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
The attributes of the policy. Must be specified by the property named |
|
id |
The policy name. |
string |
type |
The resource type. Must be set to "policy". |
string |
attributes
Name | Description | Schema |
---|---|---|
policyCloud |
The schema details for the policy of type "Cloud". |
|
policyGeneric |
The details for the policy that uses the generic policy schema. |
|
policyOracle |
The schema details for the policy of type "Oracle". |
|
policySQLServer |
The schema details for the policy of type "MS-SQL-Server". |
|
policyVMware |
The schema details for the policy of type "VMware". |
policyResponse
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
The policy attributes that are returned reflect the property named policy. The schema corresponds to the policy type. |
|
id |
The policy name. |
string |
links |
The links to the URLs for the details on each policy. |
|
type |
The resource type. Must be set to "policy". |
string |
attributes
Name | Description | Schema |
---|---|---|
policyCloud |
The schema details for the policy of type "Cloud". |
|
policyGeneric |
The details for the policy that uses the generic policy schema. |
|
policyOracle |
The schema details for the policy of type "Oracle". |
|
policySQLServer |
The schema details for the policy of type "MS-SQL-Server". |
|
policyVMware |
The schema details for the policy of type "VMware". |
links
Name | Schema |
---|---|
self |
self
Name | Description | Schema |
---|---|---|
href |
The URI to get details for the policy. |
string |
policyVMware
Name | Description | Schema |
---|---|---|
backupSelections |
It will be the VIP query, If not the VIP query then it will be ALL_LOCAL_DRIVES. |
|
clients |
The list of client information. |
< clients > array |
policyAttributes |
||
policyName |
The name of the policy. |
string |
policyType |
The type of the policy. |
string |
schedules |
< schedules > array |
backupSelections
Name | Schema |
---|---|
selections |
< string > array |
clients
Name | Description | Schema |
---|---|---|
OS |
The host’s operating system and the value for the Vmware client OS is VMware for VIP and will be Virtual_Machine in case of manual selection. |
string |
hardware |
The host’s hardware and the value for the VMware client Hardware is VMware for both VIP and manual selection. |
string |
hostName |
The name of the host to be backed up.For VIP this will be the discover host and could be a MEDIA_SERVER. |
string |
policyAttributes
Name | Description | Schema |
---|---|---|
active |
Indicates if the policy is active or disabled. |
boolean |
applicationConsistent |
Indicates whether application consistent (quiesced) backups are enabled. When useReplicationDirector is enabled, application consistent (quiesced) backups can be enabled or disbaled. |
boolean |
applicationDiscovery |
Indicates whether VMware Intelligent Policy is selected. When useReplicationDirector is enabled, VMware Intelligent Policy is selected automatically. |
boolean |
applicationProtection |
Options to enable the type of recovery. |
< enum (Exchange Recovery, Exchange Recovery, Truncate Logs, MSSQL Server Recovery, MSSQL Server Recovery, Truncate Logs, SharePoint Recovery) > array |
autoManagedLabel |
The label for automatically managed policy. |
string |
autoManagedType |
If non-zero, the policy is automatically managed. A value of 1 means managed by a protection plan. |
integer |
backupHost |
The hostname of a NetBackup client that performs backups on behalf of the virtual machines. |
string |
blockIncremental |
Indicates whether block-level backups of the virtual machine are performed. When useReplicationDirector is enabled, block-level backups for the virtual machine are disabled automatically. |
boolean |
dataClassification |
An optional classification tag. NetBackup comes with Bronze, Silver, Gold, and Platinum tags defined, but these values can be customized. |
string |
disableClientSideDeduplication |
Indicates if client-side deduplication is disabled. |
boolean |
discoveryLifetime |
The number of seconds to honor the original query results. After this interval, the query will be reused to account for changes to the virtual machine environment. Applicable only if virtual machines are being selected via a query. |
integer |
effectiveDateUTC |
The date and time the policy goes into effect, in UTC format. |
string |
jobLimit |
The maximum number of jobs originating from this policy that can be running concurrently at any given time. If 0, no maximum is enforced. |
integer |
keyword |
An optional keyword phrase. |
string |
mediaOwner |
The media server or group that owns the media. |
string |
priority |
The priority of jobs associated with this policy. The higher the number, the higher the priority (relative to other NetBackup jobs). |
integer |
secondarySnapshotMethodArgs |
The value for the maximum number of snapshots when useReplicationDirector is enabled, for example, max_snapshots=1. If no value is specified, the default value (max_snapshots=1) is used. |
string |
snapshotMethodArgs |
The snapshot arguments in the form of key-value pairs separated by comma. |
string |
storage |
The name of the storage unit associated with the policy. |
string |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
useAccelerator |
Indicates if Accelerator is used. |
boolean |
useReplicationDirector |
Indicates if NetBackup Replication Director should be used to manage hardware snapshots. |
boolean |
volumePool |
The volume pool associated with the policy. |
enum (NetBackup, DataStore) |
schedules
Name | Description | Schema |
---|---|---|
acceleratorForcedRescan |
Indicates if file checksums are stored to aid in change detection. Applicable only to Accelerator backups. |
boolean |
backupCopies |
The copy details for the policy. Entry 1 reflects the primary schedule copy, which is always enabled. Entries 2-4 reflect (optional) additional copies. |
|
backupType |
The backup type of the schedule. |
enum (Cumulative Incremental Backup, Differential Incremental Backup, Full Backup) |
excludeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy will not run. |
|
frequencySeconds |
For frequency schedule types, the frequency at which to perform the backup, in seconds. |
integer |
includeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy will run. Applicable only to calendar schedule types. |
|
mediaMultiplexing |
The maximum number of jobs from the schedule that NetBackup can multiplex onto any one drive. Valid values are 1 (no multiplexing) to 32. |
integer |
retriesAllowedAfterRunDay |
Indicates if backups can retry on any day there is an open backup window. Applicable only for the calendar schedule type. |
boolean |
scheduleName |
The name of the schedule. |
string |
scheduleType |
The type of the schedule. |
enum (Calendar, Frequency) |
snapshotOnly |
Indicates if NetBackup should create only an Instant Recovery snapshot (leaving the storage unit unused). If disabled, NetBackup both creates a snapshot and copies the snapshot to a storage unit. |
boolean |
startWindow |
The window during which the backup is allowed to start. Each day of the week is defined independently. Entry 1 is Sunday, entry 2 is Monday, and so on. |
< startWindow > array |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
syntheticBackup |
Specifies if a synthetic backup is performed.For VMware, Use accelerator performs thsi function. |
boolean |
backupCopies
Name | Description | Schema |
---|---|---|
copies |
< copies > array |
|
priority |
The priority of jobs associated with any additional copies specified. The higher the number, the higher the priority (relative to other NetBackup jobs). Note this has no impact on the primary copy. |
integer |
copies
Name | Description | Schema |
---|---|---|
failStrategy |
The approach taken if a particular image fails to copy. |
enum (Continue, Fail All Copies) |
mediaOwner |
The media server or group that owns this copy. |
string |
retentionPeriod |
The retention period for the copy to be specified in quantity and units. |
|
storage |
The name of the storage unit associated with the copy. |
string |
volumePool |
The name of the volume pool associated with the copy. |
string |
retentionPeriod
Name | Description | Schema |
---|---|---|
unit |
The unit of the retention period in terms of time,for example,weeks,months,years and so on. |
enum (SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, INFINITE) |
value |
The value of the retention period in terms of unit defined.. |
integer |
excludeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
includeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
startWindow
Name | Description | Schema |
---|---|---|
dayOfWeek |
The day of the week the backup window starts. Possible values for DAY are 1 (Sunday) through 7 (Saturday). |
integer |
durationSeconds |
The duration of the backup window expressed in seconds. |
integer |
startSeconds |
The start time of the backup window, expressed in seconds elapsed since the beginning of the day. |
integer |
postCreateHostRequest
Name | Description | Schema |
---|---|---|
cpuArchitecture |
The CPU architecture of the host. |
string |
hostMappings |
The list of host mappings that are associated with the host. |
< hostMappings > array |
hostName |
The name of the host. |
string |
hwDescription |
The hardware description of the host. |
string |
installedEEBs |
The NetBackup EEBs installed on the host. |
string |
isSecureEnabled |
Specifies whether the host can communicate securely or not. |
boolean |
masterServer |
The NetBackup master server that is associated with the host. |
string |
nbuVersion |
The NetBackup version on the host. |
string |
osType |
The operating system type of the host. |
string |
osVersion |
The operating system of the host. |
string |
servers |
The list of servers associated with the host. |
< string > array |
hostMappings
Name | Description | Schema |
---|---|---|
mappedHostName |
The name of the mapped host for which the details are provided. |
string |
postCreateSlpRequest
Name | Schema |
---|---|
data |
postRecreateHostRequest
Name | Description | Schema |
---|---|---|
cpuArchitecture |
The CPU architecture of the host. |
string |
hostMappings |
The list of host mappings that are associated with the host. |
< hostMappings > array |
hostName |
The name of the host. |
string |
hwDescription |
The hardware description of the host. |
string |
installedEEBs |
The NetBackup EEBs installed on the host. |
string |
isSecureEnabled |
Specifies whether the host can communicate securely or not. |
boolean |
masterServer |
The NetBackup master server that is associated with the host. |
string |
nbuVersion |
The NetBackup version on the host. |
string |
osType |
The operating system type of the host. |
string |
osVersion |
The operating system of the host. |
string |
servers |
The list of servers associated with the host. |
< string > array |
uuid |
The UUID of the host. |
string |
hostMappings
Name | Description | Schema |
---|---|---|
mappedHostName |
The name of the mapped host for which the details are provided. |
string |
putAddHostMapping
Name | Description | Schema |
---|---|---|
isApproved |
Specifies whether or not the mapping is approved. This field is optional. |
boolean |
isShared |
Specifies whether the mapping is shared between two or more host IDs. |
boolean |
putClientRequest
By default, the clientType
for a policy is Clients
. For Intelligent Policies, select either Protect Instances and Databases
or Protect Instance Groups
.
Name | Description | Schema |
---|---|---|
data |
The data about the client. |
data
Name | Description | Schema |
---|---|---|
attributes |
The attributes for the host, instance, or instance database. These attributes do not apply for instance groups. |
|
id |
The name of the host/instance group to be backed up. Attribute section is not needed when protecting instance group. |
string |
type |
The resource type. Must be set to |
string |
attributes
Name | Description | Schema |
---|---|---|
OS |
The host’s operating system. For example HP-UX11.31, Solaris10, or Windows10. |
string |
databaseName |
The name of the database. This property only applies for the |
string |
hardware |
The host’s hardware. For example HP-UX-IA64, Novel, or RS600. |
string |
instanceName |
The name of the instance. This property only applies for the |
string |
putHostCommentDetails
Name | Description | Schema |
---|---|---|
comment |
Host-specific comment to be updated. |
string |
putIncludeRequest
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
type |
The resource type. Must be set to "backupSelection". |
string |
attributes
Name | Schema |
---|---|
selections |
< string > array |
putMsdpServerAttributes
Name | Description | Schema |
---|---|---|
caCertHash |
SHA-1 hash of the associated CA certificate for the given host ID (via URL path). |
string |
putMsdpServerRequest
Name | Schema |
---|---|
data |
putMsdpServerRequestData
Name | Schema |
---|---|
attributes |
|
type |
enum (msdpServerCACertHash) |
putScheduleRequest
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The name of the schedule. |
string |
type |
The resource type. Must be set to "schedule". |
string |
attributes
Name | Description | Schema |
---|---|---|
acceleratorForcedRescan |
Indicates if file checksums are stored to aid in change detection. Applicable only to NetBackup Accelerator backups. |
boolean |
backupCopies |
The copy details for the policy. Entry 1 reflects the primary schedule copy, which is always enabled. Entries 2-4 reflect (optional) additional copies. The use of multiple copies is inferred from number of copies specified (Valid values 1-not used 2-4-used) (default in policy file is 0). |
|
backupType |
The backup type of the schedule. |
enum (Archived Redo Log Backup, Automatic Backup, Automatic Full Backup, Automatic Vault, Automatic Cumulative Incremental Backup, Automatic Differential Incremental Backup, Automatic Incremental Backup, Application Backup, Cumulative Incremental Backup, Differential Incremental Backup, Full Backup, Transaction Log Backup, User Archive, User Backup) |
excludeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy will not run. |
|
frequencySeconds |
For frequency schedule types, the frequency at which to perform the backup, in seconds. |
integer |
includeDates |
Recurring days of the week, recurring days of the month, and exact dates on which this policy will run. Applicable only to calendar schedule types. |
|
mediaMultiplexing |
The maximum number of jobs from the schedule that NetBackup can multiplex onto any one drive. Valid values are 1 (no multiplexing) to 32. |
integer |
retriesAllowedAfterRunDay |
Indicates if backups can retry on any day there is an open backup window. Applicable only for the calendar schedule type. |
boolean |
scheduleType |
The type of the schedule. |
enum (Calendar, Frequency) |
snapshotOnly |
Indicates if NetBackup should create only an Instant Recovery snapshot (leaving the storage unit unused). If disabled, NetBackup both creates a snapshot and copies the snapshot to a storage unit. |
boolean |
startWindow |
The window during which the backup is allowed to start. Each day of the week is defined independently. Entry 1 is Sunday, entry 2 is Monday, and so on. |
< startWindow > array |
storageIsSLP |
Indicates if the storage unit is defined with a storage lifecycle policy (SLP). |
boolean |
syntheticBackup |
Indicates if NetBackup performs a synthetic backup. |
boolean |
backupCopies
Name | Description | Schema |
---|---|---|
copies |
< copies > array |
|
priority |
The priority of jobs associated with any additional copies specified. The higher the number, the higher the priority (relative to other NetBackup jobs). Note this has no impact on the primary copy. |
integer |
copies
Name | Description | Schema |
---|---|---|
failStrategy |
The approach taken if a particular image fails to copy. |
enum (Continue, Fail All Copies) |
mediaOwner |
The media server or group that owns this copy. |
string |
retentionPeriod |
||
storage |
The name of the storage unit associated with the copy. |
string |
volumePool |
The name of the volume pool associated with the copy. |
string |
excludeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
includeDates
Name | Description | Schema |
---|---|---|
lastDayOfMonth |
Indicates if the last day of the month is included. |
boolean |
recurringDaysOfMonth |
Recurring days of the month. |
< integer > array |
recurringDaysOfWeek |
Recurring days of a week. |
< string > array |
specificDates |
A list of specific dates. |
< string > array |
startWindow
Name | Description | Schema |
---|---|---|
dayOfWeek |
The day of the week the backup window starts. Possible values for DAY are 1 (Sunday) through 7 (Saturday). |
integer |
durationSeconds |
The duration of the backup window expressed in seconds. |
integer |
startSeconds |
The start time of the backup window, expressed in seconds elapsed since the beginning of the day. |
integer |
resourcePoolNode
The properties of the resource pool.
Name | Schema |
---|---|
children |
< resourcePoolNode > array |
name |
string |
path |
string |
type |
string |
resourcePoolResource
The properties of the list of resource pools available on the ESXi or Cluster server.
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
type |
string |
attributes
Name | Description | Schema |
---|---|---|
resourcePools |
The list of resource pools. |
< resourcePoolNode > array |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
retentionLevelResponseArray
Name | Schema |
---|---|
data |
< retentionLevelResponseData > array |
retentionLevelResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
Value for the retention level. |
string |
type |
Specify 'retentionlevel' as the retention level type. |
enum (retentionlevel) |
retentionPeriod
The retention period for the image copy.
Name | Description | Schema |
---|---|---|
unit |
The unit of retention period in terms of time. For example, WEEKS, MONTHS etc. Note that INFINITE applies a retention period of infinity to the image copy, regardless of the value that is specified. |
enum (SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, INFINITE) |
value |
The value for the retention period for the image copy. Valid values are -1 and above. A value of -1 indicates a retention period of infinity. A value of 0 immediately expires the image copy, regardless of the unit that is specified. |
integer |
retentionlevelAttributes
Name | Schema |
---|---|
retentionPeriod |
|
retentionPeriodInSeconds |
integer |
retentionPeriodLabel |
string |
slpDefinition
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The name of the storage lifecycle policy (SLP). |
string |
relationships |
||
type |
Type of the object. |
enum (slp) |
attributes
Name | Description | Schema |
---|---|---|
activationTime |
Indicates the time at which the storage lifecycle policy (SLP) is activated, in UTC. This parameter is applicable only for an inactive storage lifecycle policy (SLP). |
string (date-time) |
dataClassification |
'Defines the level or classification of data that the storage lifecycle policy (SLP) is allowed to process. The name of the data classification this image is compatible with. "Any" indicates it is able to import and manage any image regardless of data classification. "None" indicates no data classification.' |
string |
duplicationPriority |
The priority of duplication jobs initiated by this storage lifecycle policy (SLP). Valid range is 0 to 99999. |
integer |
flagValues |
'The list of storage lifecycle policy (SLP)-specific flag values. Supported input/output flag values: inactive: If this flag is specified, the storage lifecycle policy (SLP) is inactive. Supported output flag values: snaponly: This flag indicates that the storage lifecycle policy (SLP) contains only a "Snapshot" operation. snapdupe: This flag indicates that the storage lifecycle policy (SLP) contains a "Snapshot" operation and a "Backup From Snapshot" operation. snapreplicate: This flag indicates that the storage lifecycle policy (SLP) contains a "Snapshot" operation and a "Replication" operation. snapindex: This flag indicates that the storage lifecycle policy (SLP) contains a "Snapshot" operation and an "Index From Snapshot" operation.' |
< string > array |
operationList |
The list of operations that the storage lifecycle policy (SLP) will perform on the backup copies. |
< slpOperationDefinition > array |
slpName |
The name of the storage lifecycle policy (SLP). |
string |
versionNumber |
The version number of this storage lifecycle policy (SLP) for which data is being returned. This parameter is ignored if passed in the request to create a storage lifecycle policy (SLP). |
integer |
relationships
Name | Schema |
---|---|
versions |
versions
Name | Schema |
---|---|
data |
< data > array |
data
Name | Description | Schema |
---|---|---|
id |
The storage lifecycle policy (SLP) version number. |
integer |
type |
This value is always set to "version". |
string |
slpOperationDefinition
Name | Description | Schema |
---|---|---|
alternateReadServer |
The host name to use for reading in a duplication job. |
string |
flagValues |
'The list of operation-specific flag values. Supported input/output flag values: inactive: If this flag is specified, the operation is inactive. deferred_op: If this flag is specified for duplication operation, the operation is deferred until the source copy is about to expire. Supported output flag values: AIR_enabled: This flag indicates that the operation is an "Auto Image Replication (AIR)" operation. snapdupe: This flag indicates that the operation is a "Backup From Snapshot" operation. snapreplicate: This flag indicates that the operation is a "Replication" operation with a "Snapshot" operation as source. snapindex: This flag indicates that the operation is an "Index From Snapshot" operation.' |
< string > array |
operationActivationTime |
'The UTC timestamp at which the operation is activated. This parameter is applicable only for a "suspended" operation.' |
string (date-time) |
operationIndex |
Indicates the execution order of the operations in the storage lifecycle policy (SLP), starting from index 1. This parameter is ignored if passed in the request to create a storage lifecycle policy (SLP). |
integer |
operationPriority |
'Specifies the job priority for each storage lifecycle policy (SLP) operation index. Valid range is 0 to 99999. "-1" indicates that the default duplication priority is effective.' |
integer |
operationType |
The operation that is performed for this step in the storage lifecycle policy. |
enum (BACKUP, SNAPSHOT, IMPORT, BACKUP_FROM_SNAPSHOT, INDEX_FROM_SNAPSHOT, DUPLICATION, REPLICATION, REPLICATE_TO_REMOTE_MASTER) |
preserveMultiplexing |
Sets the preserve multiplexing flag for duplication copies. The flag is relevant only for tape copies. |
boolean |
retentionPeriod |
||
retentionType |
Indicates how to manage the retention of this copy. |
enum (FIXED, EXPIRE_AFTER_COPY, MAXIMUM_SNAPSHOT_LIMIT, MIRROR, TARGET_RETENTION, CAPACITY_MANAGED) |
serverGroup |
The name of the media sharing group that shares the tape media. |
string |
slpWindowClose |
'The action to take if the image processing is not complete or if the images cannot be suspended by the time the storage lifecycle policy (SLP) window closes. This parameter is not applicable for the "Backup" and "Snapshot" operations.' |
enum (CANCEL, FINISH) |
slpWindowName |
The name of the window that defines when the storage lifecycle policy operation can run. |
string |
sourceOperationIndex |
Specifies the source copy of the image to duplicate or replicate. |
integer |
storage |
||
targetImportSLP |
The name of the storage lifecycle policy (SLP) created for the import operation to the target master server. |
string |
targetMasterServer |
The name of the target master server to replicate the image to. |
string |
storage
Name | Description | Schema |
---|---|---|
dpCapabilities |
'The disk pool capabilities of the storage unit or storage unit group to use for this operation. For operationType REPLICATE_TO_REMOTE_MASTER in GET storage lifecycle policy (SLP) operation, this parameter has the value "null" in response.' |
< string > array |
name |
'The name of the storage unit or storage unit group to use for this operation. For operationType REPLICATE_TO_REMOTE_MASTER in GET storage lifecycle policy (SLP) operation, this parameter has the value "null" in response. For operationType REPLICATE_TO_REMOTE_MASTER in POST storage lifecycle policy (SLP) operation, this parameter must be specified as "null".' |
string |
ssCapabilities |
'The storage server capabilities of the storage unit or storage unit group to use for this operation. For operationType REPLICATE_TO_REMOTE_MASTER in GET storage lifecycle policy (SLP) operation, this parameter has the value "null" in response.' |
< string > array |
stype |
'The type of the storage unit or storage unit group to use for this operation. For operationType REPLICATE_TO_REMOTE_MASTER in GET storage lifecycle policy (SLP) operation, this parameter has the value "null" in response.' |
string |
smtpConfigurationAttributes
Name | Description | Schema |
---|---|---|
emailConfigurationEnabled |
Indicates if email configuration is enabled. |
boolean |
password |
The password for the SMTP server. The password is mandatory if you have provided the user name. |
string |
port |
The SMTP server port. |
integer |
recipientEmailAddress |
The comma-separated email addresses of the recipients. Maximum 4096 characters. |
string |
senderDisplayName |
The display name of the sender. Maximum 512 characters. |
string |
senderEmailAddress |
The email address of the sender. Maximum 256 characters. |
string |
serverName |
The name of the SMTP server. Maximum 1024 characters. |
string |
updateCredentials |
Indicates whether the SMTP server credentials are to be updated or not. The credentials are updated if the parameter is set to |
boolean |
userName |
The user name for the SMTP server. Maximum 1024 characters. |
string |
smtpConfigurationDetails
Name | Description | Schema |
---|---|---|
emailConfigurationEnabled |
Indicates if email configuration is enabled. |
boolean |
port |
The SMTP server port. |
integer |
recipientEmailAddress |
The comma-separated email addresses of the recipients. |
string |
senderDisplayName |
The display name of the sender. |
string |
senderEmailAddress |
The email address of the sender. |
string |
serverName |
The name of the SMTP server. |
string |
userName |
The user name of the SMTP server. |
string |
smtpConfigurationGetResponse
Name | Schema |
---|---|
data |
smtpConfigurationGetResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
string |
|
type |
The response for the SMTP server configuration. Must be set to |
enum (smtpconfiguration) |
smtpConfigurationRequest
JSON object for SMTP server configuration.
Name | Schema |
---|---|
data |
smtpConfigurationRequestData
Name | Description | Schema |
---|---|---|
attributes |
||
type |
The request for the SMTP server configuration. Must be set to |
enum (smtpconfiguration) |
supportPluginConfigMetadata
Name | Description | Schema |
---|---|---|
attributes |
The set of plug-in type and configuration instance attributes. |
|
id |
The unique identifier (name) of the plug-in type. For example, the unique identifier for Amazon AWS is "aws". |
string |
links |
||
type |
The type of resource. For example, "plugin". |
enum (plugin) |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
supportedPluginResponse
Name | Schema |
---|---|
data |
supportedPluginResponseArray
Name | Schema |
---|---|
data |
< supportPluginConfigMetadata > array |
updateHostSchema
Name | Description | Schema |
---|---|---|
hostName |
The identifier for the communicating host. |
string |
state |
Indicates the state of the host. Possible values are activated, deactivated. |
enum (ACTIVATED, DEACTIVATED) |
urlSchema
Name | Description | Schema |
---|---|---|
url |
The URL of the WebSocket endpoint that NetBackup connects to. |
string |
vCenterTopology
The vCenter topology.
Name | Schema |
---|---|
children |
< vCenterTopology > array |
name |
string |
type |
string |
vmserver
Name | Description | Schema |
---|---|---|
password |
The password for the credentials. |
string |
port |
The port used to connect to the server. |
integer |
serverName |
The name of the VM server. |
string |
userId |
The username for the credentials. |
string |
vmType |
The type of VM server. |
enum (VMWARE_VIRTUAL_CENTER_SERVER, VMWARE_ESX_SERVER, VMWARE_RESTORE_ESX_SERVER, VMWARE_VCLOUD_DIRECTOR, HYPERV_SERVER, SYSTEM_CENTER_VMM_SERVER, HYPERV_CLUSTER_SERVER, HYPERSCALE_SERVER, NUTANIX_ACROPOLIS_CLUSTER) |
vmserverResponse
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
type |
string |
attributes
Name | Schema |
---|---|
vmServer |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
workloadData
Name | Schema |
---|---|
data |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
|
type |
string |
attributes
Name | Description | Schema |
---|---|---|
hierarchy |
The vCenter hierarchy. |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
Security
rbacCertSecurity
Type : apiKey
Name : Authorization
In : HEADER
rbacUserSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Manage API
Overview
The NetBackup Manage APIs provide access to the alerting operations. The APIs can generate alerts, fetch alert details, and send alert notifications. The APIs also provide a facility to exclude the status codes for which you do not want to send alert notifications.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /manage/alerts
Description
Retrieves the list of alerts based on the specified filters. If no filters are specified, information for 10 alerts is retrieved, sorted in descending order by the time they were created. All the filters are based on OData standards and filtering on the following attributes is supported.
Name | Supported Operators | Description | Schema |
---|---|---|---|
alertId |
eq ne lt gt le ge |
The alert ID |
integer |
severity |
eq ne |
The severity of the alert. Possible values: INFO,WARNING,ERROR |
string |
category |
eq ne |
The category of the alert. Possible values: JOB |
string |
subCategory |
eq ne |
The subcategory of the alert. Possible values: STANDARD,PROXY,NONSTANDARD,APOLLO-WBAK,ORACLE,ANY,INFORMIX-ON-BAR,SYBASE,MS-SHAREPOINT,MS-WINDOWS,NETWARE, DATATOOLS-SQL-BACKTRACK,AUSPEX-FASTBACK,OS2,MS-SQL-SERVER,MS-EXCHANGE-SERVER,SAP,DB2,NDMP,FLASHBACKUP,SPLIT-MIRROR,AFS,DFS, DATASTORE,LOTUS-NOTES,TERADATA,OPENVMS,MPE/iX,FLASHBACKUP-WINDOWS,VAULT,BE-MS-SQL-SERVER,BE-MS-EXCHANGE-SERVER,MACINTOSH, DISK STAGING,NBU-CATALOG,GENERIC,CMS-DATABASE,PUREDISK-EXPORT,ENTERPRISE-VAULT,VMWARE,HYPER-V,NBU-SEARCHSERVER,HYPERSCALE, BIGDATA,CLOUD,DEPLOYMENT |
string |
createdDateTime |
eq ne lt gt le ge |
The created date time of the alert. |
date-time |
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
filter |
Specifies the filters according to OData standards. |
string |
Query |
page[limit] |
The number of records on one page after the offset. |
integer |
Query |
page[offset] |
The alert record number offset. |
integer |
Query |
sort |
Sorts values of the specified property in ascending order. Use |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully fetched the list of alerts. |
|
400 |
Bad request. |
|
401 |
The |
|
500 |
Internal server error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"links" : {
"self" : {
"href" : "/manage/alerts?page[offset]=0&page[limit]=10&sort =-createdDateTime"
},
"next" : {
"href" : "/manage/alerts?page[offset]=10&page[limit]=10&sort=-createdDateTime"
},
"prev" : {
"href" : "/manage/alerts?page[offset]=10&page[limit]=10&sort=-createdDateTime"
},
"first" : {
"href" : "/manage/alerts?page[offset]=0&page[limit]=10&sort=-createdDateTime"
},
"last" : {
"href" : "/manage/alerts?page[offset]=70&page[limit]=10&sort=-createdDateTime"
}
},
"data" : [ {
"type" : "alert",
"id" : 2,
"links" : {
"self" : {
"href" : "/manage/alerts/2"
}
},
"attributes" : {
"titleId" : 1,
"title" : "Job details are as follows:",
"descriptionId" : 1,
"description" : "Job 4 failed with status code 2074 on client",
"category" : "JOB",
"subCategory" : "WINDOWS",
"severity" : "ERROR",
"context" : "JOB_STATE_FAILED",
"createdDateTime" : "2018-04-26T13:41:31.751Z",
"tags" : [ "JOB", "2074" ],
"systemDefined" : true,
"params" : {
"scheduleName" : "TE_FULL",
"clientName" : "client",
"status" : "2074",
"jobId" : "4",
"policyType" : "WINDOWS_NT",
"jobType" : "BACKUP",
"erroMsg" : "Disk volume is down",
"startTime" : "2018-04-26 09:20:32.0",
"endTime" : "2018-04-26 09:22:33.0",
"parentJobId" : "66"
}
}
} ],
"meta" : {
"pagination" : {
"prev" : 0,
"next" : 10,
"first" : 0,
"last" : 70,
"count" : 0,
"page" : 0,
"offset" : 0,
"pages" : 8,
"limit" : 0
}
}
}
GET /manage/alerts/{alertId}
Description
Get alert based on specified alertId.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
alertId |
The ID of the alert to fetch. |
integer |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully fetched the alert for the specified alertId. |
|
401 |
The |
|
404 |
Resource cannot be found. |
|
500 |
Internal server error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"type" : "alert",
"id" : 2,
"links" : {
"self" : {
"href" : "/manage/alerts/2"
}
},
"attributes" : {
"titleId" : 1,
"title" : "Job details are as follows:",
"descriptionId" : 1,
"description" : "Job 4 failed with status code 2074 on client",
"category" : "JOB",
"subCategory" : "MS-WINDOWS",
"severity" : "ERROR",
"context" : "JOB_STATE_FAILED",
"createdDateTime" : "2018-04-26T13:41:31.751Z",
"tags" : [ "JOB", "2074" ],
"systemDefined" : true,
"params" : {
"scheduleName" : "TE_FULL",
"clientName" : "client",
"status" : "2074",
"jobId" : "4",
"policyType" : "WINDOWS_NT",
"jobType" : "BACKUP",
"erroMsg" : "Disk volume is down",
"startTime" : "2018-04-26 09:20:32.0",
"endTime" : "2018-04-26 09:22:33.0"
}
}
}
}
GET /manage/notification-categories
Description
Fetches the exclusion status of all alert categories and the list of respective status codes for which alert notifications are not sent. If no filters are specified, information for 10 record is retrieved, sorted in ascending order by the id. All the filters are based on OData standards and filtering on the following attributes is supported.
Name | Supported Operators | Description | Schema |
---|---|---|---|
id |
eq ne lt gt le ge |
The alert category ID |
integer |
category |
eq ne |
The category of the alert. Possible values: JOB |
string |
categoryExcluded |
eq ne |
Flag to determine category is excluded from send alert notificaion |
boolean |
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
filter |
Specifies the filters according to OData standards. |
string |
Query |
page[limit] |
The number of records on one page after the offset. |
integer |
Query |
page[offset] |
The record number offset. |
integer |
Query |
sort |
Sorts values of the specified property in ascending order. Use |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Returned the exclusion status of all alert categories and the list of respective status codes for which alert notifications are not sent. |
|
401 |
The |
|
500 |
Internal server error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : [ {
"type" : "notificationCategory",
"id" : 1,
"links" : {
"self" : {
"href" : "https://localhost:1556/netbackup/manage/notification-categories/1"
}
},
"attributes" : {
"category" : "JOB",
"categoryExcluded" : false,
"excludedStatusCodes" : "2074, 219, 4400-4430",
"createdDateTime" : "2018-05-04T10:18:36.271Z",
"lastUpdatedDateTime" : "2018-05-07T07:39:59.181Z"
}
} ],
"meta" : {
"pagination" : {
"pages" : 1,
"offset" : 0,
"last" : 0,
"first" : 0,
"count" : 2,
"page" : 0,
"limit" : 10
}
},
"links" : {
"self" : {
"href" : "https://localhost:1556/netbackup/manage/notification-categories?page[offset]=0&page[limit]=10&sort=-id"
},
"first" : {
"href" : "https://localhost:1556/netbackup/manage/notification-categories?page[offset]=0&page[limit]=10&sort=-id"
},
"last" : {
"href" : "https://localhost:1556/netbackup/manage/notification-categories?page[offset]=0&page[limit]=10&sort=-id"
}
}
}
GET /manage/notification-categories/{categoryId}
Description
Fetches the exclusion status of the specified alert category and the list of respective status codes for which alert notifications are not sent.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
categoryId |
The ID of the alert category. |
integer |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Returned the exclusion status of the specified alert category and the list of respective status codes for which alert notifications are not sent. |
|
401 |
The |
|
404 |
Resource could not be found. |
|
500 |
Internal server error. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"type" : "notificationCategory",
"id" : 1,
"links" : {
"self" : {
"href" : "https://localhost:1556/netbackup/manage/notification-categories/1"
}
},
"attributes" : {
"category" : "JOB",
"categoryExcluded" : false,
"excludedStatusCodes" : "2074, 219, 4400-4430",
"createdDateTime" : "2018-05-04T10:18:36.271Z",
"lastUpdatedDateTime" : "2018-05-07T07:39:59.181Z"
}
}
}
PATCH /manage/notification-categories/{categoryId}
Description
Updates the exclusion status of the specified alert category and the list of respective status codes for which alert notifications are not sent.
Requires Permission: [Manage NetBackup]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
categoryId |
The ID of the alert category. |
integer |
Body |
requestData |
Request data to be updated. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Updated the exclusion status of the specified alert category and the list of respective status codes for which alert notifications are not sent. |
|
400 |
Bad request, invalid parameter with request payload. |
|
401 |
The |
|
404 |
Resource could not be found. |
|
500 |
Internal server error. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request body
{
"data" : {
"type" : "notificationCategory",
"id" : "1",
"attributes" : {
"categoryExcluded" : false,
"excludedStatusCodes" : "2074, 219, 4400-4430"
}
}
}
Example HTTP response
Response 200
{
"data" : {
"type" : "notificationCategory",
"id" : 1,
"links" : {
"self" : {
"href" : "https://localhost:1556/netbackup/manage/notification-categories/1"
}
},
"attributes" : {
"category" : "JOB",
"categoryExcluded" : false,
"excludedStatusCodes" : "2074, 219, 4400-4430",
"createdDateTime" : "2018-05-04T10:18:36.271Z",
"lastUpdatedDateTime" : "2018-05-07T07:39:59.181Z"
}
}
}
Definitions
alertDetails
Name | Description | Schema |
---|---|---|
category |
The category that applies to the alert. |
enum (JOB) |
context |
Indicates the reason the alert was generated. |
enum (GENERAL, JOB_STATE_FAILED, JOB_STATE_SUSPEND, JOB_TYPE_BACKUP, CREDENTIAL) |
createdDateTime |
A UTC timestamp of when the alert was created. |
string |
description |
The description of the alert. |
string |
descriptionId |
The ID for the description of the alert. |
integer |
params |
The list of alert parameters. |
< string, string > map |
severity |
The severity of alert. |
enum (INFO, WARNING, ERROR) |
subCategory |
The subcategory that applies to the alert. |
enum (STANDARD, PROXY, NONSTANDARD, APOLLO-WBAK, ORACLE, ANY, INFORMIX-ON-BAR, SYBASE, MS-SHAREPOINT, MS-WINDOWS, NETWARE, DATATOOLS-SQL-BACKTRACK, AUSPEX-FASTBACK, OS2, MS-SQL-SERVER, MS-EXCHANGE-SERVER, SAP, DB2, NDMP, FLASHBACKUP, SPLIT-MIRROR, AFS, DFS, DATASTORE, LOTUS-NOTES, TERADATA, OPENVMS, MPE/iX, FLASHBACKUP-WINDOWS, VAULT, BE-MS-SQL-SERVER, BE-MS-EXCHANGE-SERVER, MACINTOSH, DISK STAGING, NBU-CATALOG, GENERIC, CMS-DATABASE, PUREDISK-EXPORT, ENTERPRISE-VAULT, VMWARE, HYPER-V, NBU-SEARCHSERVER, HYPERSCALE, BIGDATA, CLOUD, DEPLOYMENT) |
systemDefined |
Indicates if the alert was system-generated or user-defined. |
boolean |
tags |
The tags that are associated with the alert. |
< string > array |
title |
The title of the alert. |
string |
titleId |
The title ID for the alert. |
integer |
alertDetailsResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
string |
|
links |
||
type |
The response for the alert. Must be set to |
enum (alert) |
links
Name | Schema |
---|---|
self |
alertResponse
Name | Description | Schema |
---|---|---|
data |
The list of alerts. |
< alertDetailsResponseData > array |
links |
||
meta |
links
Name | Schema |
---|---|
first |
|
last |
|
next |
|
prev |
|
self |
first
Name | Schema |
---|---|
href |
string |
last
Name | Schema |
---|---|
href |
string |
next
Name | Schema |
---|---|
href |
string |
prev
Name | Schema |
---|---|
href |
string |
self
Name | Schema |
---|---|
href |
string |
meta
Name | Schema |
---|---|
pagination |
pagination
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
page |
integer |
pages |
integer |
prev |
integer |
alertResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
string |
|
links |
||
type |
The response for the alert. Must be set to |
enum (alert) |
links
Name | Schema |
---|---|
self |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getNotificationCategoriesResponse
Name | Description | Schema |
---|---|---|
data |
The list of notification categories. |
< notificationCategoryData > array |
links |
||
meta |
links
Name | Schema |
---|---|
first |
|
last |
|
next |
|
prev |
|
self |
first
Name | Schema |
---|---|
href |
string |
last
Name | Schema |
---|---|
href |
string |
next
Name | Schema |
---|---|
href |
string |
prev
Name | Schema |
---|---|
href |
string |
self
Name | Schema |
---|---|
href |
string |
meta
Name | Schema |
---|---|
pagination |
pagination
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
page |
integer |
pages |
integer |
prev |
integer |
getNotificationCategoryResponse
Name | Schema |
---|---|
data |
linkObject
Name | Schema |
---|---|
href |
string |
notificationCategoryAttributes
Name | Description | Schema |
---|---|---|
category |
The alert category. |
enum (JOB) |
categoryExcluded |
Determines whether alert notifications should be sent for the specified alert category or not. |
boolean |
createdDateTime |
A UTC timestamp of when the record was created. |
string |
excludedStatusCodes |
Specify the status codes to be excluded as comma delimited. Specify the range to be excluded with a hyphen. |
string |
lastUpdatedDateTime |
A UTC timestamp of when the record was updated. |
string |
notificationCategoryData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
string |
|
links |
||
type |
Fetches the list of excluded status codes. |
enum (notificationCategory) |
links
Name | Schema |
---|---|
self |
patchNotificationAttributes
Name | Description | Schema |
---|---|---|
categoryExcluded |
Determines whether alert notifications should be sent for the specified alert category or not. |
boolean |
excludedStatusCodes |
Specify the status codes to be excluded as comma delimited. Specify the range to be excluded with a hyphen. |
string |
patchNotificationCategoryRequest
Name | Description | Schema |
---|---|---|
attributes |
||
id |
string |
|
type |
Specify the status codes to be excluded. |
enum (notificationCategory) |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup RBAC Administration API
Overview
The NetBackup RBAC Admin API provides access to NetBackup role based access control configuration.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup/rbac
Schemes : HTTPS
Paths
POST /access-rules
Description
Creates a new access rule that defines the permissions for a user and the object groups the user can access.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
The access rule resource to create. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The access rule was created. |
|
400 |
The request is not valid. Ensure that the correct format is used for the request. Also ensure that the principal, role, or objectgroup ID in the request exists and is valid. |
|
401 |
The |
|
409 |
An access rule already exists with the combination of this principal, this object group, and this role. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /access-rules
Description
Gets a list of configured access rules.
Requires Permission: [View Access Rules, Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
include |
Appends the included section in the response payload with details about the relationships that are specified in the include query. The include query is a comma-separated list of relationships that can include role, objectGroup, userPrincipal, or groupPrincipal. |
enum (role, objectGroup, userPrincipal, groupPrincipal) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /access-rules/{ruleId}
Description
Gets a specific access rule by ID.
Requires Permission: [View Access Rules, Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
ruleId |
string |
|
Query |
include |
Appends the included section in the response payload with details about the relationships that are specified in the include query. The include query is a comma-separated list of relationships that can include role, objectGroup, userPrincipal, or groupPrincipal. |
enum (role, objectGroup, userPrincipal, groupPrincipal) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /access-rules/{ruleId}
Description
Updates an access rule resource.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
ruleId |
The ID of the access rule to update. |
integer |
Body |
body |
The role resource to update. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The access rule was successfully updated. |
|
400 |
The request is not valid. Ensure that the correct format is used. |
|
401 |
The |
|
403 |
Forbidden. An attempt to alter system-defined data was denied. |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /access-rules/{ruleId}
Description
Deletes an access rule resource.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Schema |
---|---|---|
Path |
ruleId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successful response. Access rule was deleted. |
No Content |
401 |
The |
|
403 |
Forbidden. An attempt to delete system-defined data was denied. |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
GET /identities
Description
Obtains the list of users or the user groups based on the specified filters provided the specified user or user groups are present in the directory service or the local domain. All the filter criteria are in OData format. Currently, filters are supported for the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
id |
eq |
The name that identifies the user or the user group. Standard formats are supported for this value. |
string |
Requires Permission: [View Access Rules, Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
filter |
The filter criteria in OData format. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Validated and retrieved the identity details of the user or user group from directory service or local domain successfully based on the given filter criteria. |
|
400 |
Bad request. The request contains invalid characters in the user name or user group name. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /object-groups
Description
Create a new object group resource.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
The object group resource to be created. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The object group resource was created. |
|
400 |
The request is not valid. Ensure that the correct format is used. |
|
401 |
The |
|
409 |
The object group already exists. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /object-groups
Description
Lists the object groups.
Requires Permission: [View Access Rules, Manage Access Rules]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /object-groups/{objectGroupId}
Description
Gets the object group by ID.
Requires Permission: [View Access Rules, Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
objectGroupId |
The ID of the object group to return. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /object-groups/{objectGroupId}
Description
Updates an object group.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
objectGroupId |
The ID of the object group to update. |
string |
Body |
body |
The object group record to update. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully updated the object group. |
No Content |
400 |
The request is not valid. Ensure that the correct format is used.. |
|
401 |
The |
|
403 |
An attempt to alter system-defined data was denied. |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /object-groups/{objectGroupId}
Description
Deletes an object group resource.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Schema |
---|---|---|
Path |
objectGroupId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
No Content. The object group was successfully deleted. |
No Content |
401 |
The |
|
403 |
An attempt to alter system-defined data was denied. |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
GET /object-types
Description
Returns the list of all valid RBAC object types.
Requires Permission: [View Access Rules, Manage Access Rules]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of all the valid RBAC object types. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /permission-categories
Description
Returns a list of permission category resources.
Requires Permission: [View Access Rules, Manage Access Rules]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of permission categories. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /permissions
Description
Gets all permission objects.
Requires Permission: [View Access Rules, Manage Access Rules]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /permissions/{permissionId}
Description
Gets the permission object for a given resource ID.
Requires Permission: [View Access Rules, Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
permissionId |
The ID of the permission resource to fetch. |
integer |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /roles
Description
Creates a new role resource.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
The role resource to create. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
New role resource created. |
|
400 |
The request is not valid. Ensure that the correct format is used. |
|
401 |
The |
|
409 |
The role already exists. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /roles
Description
Returns a list of configured roles.
Requires Permission: [View Access Rules, Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
include |
Appends the included section in the response payload with details about the relationships that are specified in the include query. The include query is the name of the relationship, which is "permissions". |
enum (permissions) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /roles/{roleId}
Description
Gets the role object for the specified role ID.
Requires Permission: [View Access Rules, Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
roleId |
The role resource ID. |
string |
Query |
include |
Appends the included section in the response payload with details about the relationships that are specified in the include query. The include query is the name of the relationship, which is "permissions". |
enum (permissions) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response. |
|
401 |
The |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /roles/{roleId}
Description
Updates a role resource.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
roleId |
The ID of the role to be updated. |
string |
Body |
body |
The role resource to update. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
The role was successfully updated. |
No Content |
400 |
The request is not valid. Ensure that the correct format is used. |
|
401 |
The |
|
403 |
Forbidden. An attempt to alter system-defined data was denied. |
|
404 |
Resource not found. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /roles/{roleId}
Description
Deletes a role resource for a given role ID.
Requires Permission: [Manage Access Rules]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
roleId |
The ID of the role to delete. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
No content. The role was deleted. |
No Content |
401 |
The |
|
403 |
Forbidden. An attempt to alter system-defined data was denied. |
|
404 |
The entity was not found. The role to delete does not exist. |
|
500 |
An unexpected system error occurred. |
|
503 |
Server busy. Try again later. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Definitions
accessRule
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
object |
meta |
object |
relationships |
|
type |
enum (access-rule) |
attributes
Name | Description | Schema |
---|---|---|
description |
The description about the access rule being configured. Maximum 256 bytes. |
string |
isSystemDefined |
Indicates if the access rule is predefined in NetBackup. Predefined access rules cannot be modified. |
boolean |
relationships
Name | Description | Schema |
---|---|---|
groupPrincipal |
The user group that is configured for the access rule. Either userPrincipal or groupPrincipal is required. The format should be <domain name>:<group name>:<domain type>:<group id>. Use the /rbac/identities API to get the identity details of the group principal to pass with this API. The type should be group-principal. |
|
objectGroup |
Defines the NetBackup objects that are configured for the access rule. The type should be object-group. |
|
role |
Defines the roles that are configured for the access rule. |
|
userPrincipal |
The user that is configured for the access rule. Either userPrincipal or groupGrincipal is required. The format should be <domain name>:<user name>:<domain type>:<user id>. Use the /rbac/identities API to get the identity details of the user principal to pass with this API. The type should be user-principal. |
groupPrincipal
Name | Schema |
---|---|
data |
objectGroup
Name | Schema |
---|---|
data |
role
Name | Schema |
---|---|
data |
userPrincipal
Name | Schema |
---|---|
data |
accessRuleResource
Defines the users, roles, and object groups that make up an access rule. An access rule is only valid if it contains all three of these elements.
Name | Schema |
---|---|
data |
accessRulesResource
The collection of configured access rules.
Name | Schema |
---|---|
data |
< accessRule > array |
links |
object |
meta |
object |
collectionCriteria
The filtering rules that create the dynamic list of objects in the object group. Use the API GET /object-types to get the valid objectType and valid attributes that you can use for objectCriterion.
Name | Description | Schema |
---|---|---|
criterionId |
integer |
|
isSystemDefined |
Indicates if the collection criteria is predefined in NetBackup. Predefined collection criteria cannot be modified. |
boolean |
objectCriterion |
The filtering rules that create the dynamic list of objects in the object group. The rules should be based on OData standards. Maximum 4096 bytes. |
string |
objectType |
string |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
identitiesResource
Collection of identityResource objects.
Name | Schema |
---|---|
data |
< identityResource > array |
identityResource
A user or a user group represented in the directory service or local domain.
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
The attributes of the identity. |
|
id |
The name that identifies the user or the user group. |
string |
links |
The links to the URLs for the identity. |
|
type |
string |
attributes
Name | Description | Schema |
---|---|---|
description |
The description of the user or the user group. |
string |
displayName |
The display name of the user or the user group. |
string |
domainName |
The domain name of the user or the user group. If the domain name is not provided as an input, this value is set to the broker’s hostname. |
string |
domainType |
The domain type of the user or the user group. |
enum (ldap, nt, unixpwd) |
groupList |
Indicates the membership of the account. This value is null for user groups. |
< string > array |
id |
The unique ID of the user or the user group in the directory service or the local domain. |
string |
identityType |
The identity type. |
enum (User, Group) |
isLocked |
Indicates if the account is disabled or locked by the operating system. For user groups and some operating systems, this value is always set to FALSE. |
boolean |
name |
The name of the principal, either the user or user group. |
string |
links
Name | Schema |
---|---|
self |
self
Name | Description | Schema |
---|---|---|
href |
The URI to get details for the identity. |
string |
objectGroup
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
object |
meta |
object |
type |
enum (object-group) |
attributes
Name | Description | Schema |
---|---|---|
criteria |
The rules for filtering NetBackup objects, in OData format. |
< collectionCriteria > array |
description |
A user-defined description for the object group. Maximum 256 bytes. |
string |
isSystemDefined |
Indicates if the object group is predefined in NetBackup. Predefined object groups cannot be modified. |
boolean |
name |
A user-defined name for the object group. Maximum 256 bytes. |
string |
objectGroupResource
Defines the dynamic list of NetBackup objects for the access rule.
Name | Schema |
---|---|
data |
objectGroupsResource
Name | Schema |
---|---|
data |
< objectGroup > array |
links |
object |
meta |
object |
objectType
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
object |
meta |
object |
type |
enum (object-type) |
attributes
Name | Schema |
---|---|
filterableAttributes |
< validAttributeObject > array |
permission
Name | Schema |
---|---|
attributes |
|
id |
string |
links |
object |
meta |
object |
type |
enum (permission) |
attributes
Name | Description | Schema |
---|---|---|
isSystemDefined |
Indicates if the permission is predefined in NetBackup. Predefined permissions cannot be modified. |
boolean |
name |
The name of the permission. |
string |
permissionCategoriesResource
The list of permission category resources.
Name | Schema |
---|---|
data |
< permissionCategory > array |
links |
object |
meta |
object |
permissionCategory
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The unique permission category resource ID. |
string |
links |
object |
|
meta |
object |
|
relationships |
||
type |
string |
attributes
Name | Description | Schema |
---|---|---|
description |
The description of the permission category. |
string |
isSystemDefined |
Indicates if the permission category is predefined in NetBackup. Predefined permission category cannot be modified. |
boolean |
name |
The NetBackup-defined name for the permission category. |
string |
relationships
Name | Description | Schema |
---|---|---|
permissions |
The permissions included in this permission category. |
permissions
Name | Schema |
---|---|
data |
< resourceIdentifierObject > array |
permissionCategoryResource
The permission category resource that defines the list of permissions.
Name | Schema |
---|---|
data |
permissionResource
A system-defined resource that groups the permissions that are needed to perform a NetBackup operation.
Name | Schema |
---|---|
data |
permissionsResource
The collection of permissions.
Name | Schema |
---|---|
data |
< permission > array |
links |
object |
meta |
object |
rbacObjectTypesResource
The collection of valid RBAC object types.
Name | Schema |
---|---|
data |
< objectType > array |
links |
object |
meta |
object |
resourceIdentifierObject
A resource identifier object representing an individual resource.
Name | Schema |
---|---|
id |
string |
meta |
object |
type |
enum (role, object-group, user-principal, group-principal, access-rule, permission) |
role
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The unique role resource ID. |
string |
links |
object |
|
meta |
object |
|
relationships |
||
type |
string |
attributes
Name | Description | Schema |
---|---|---|
description |
The user-defined description for the role. Maximum 256 bytes. |
string |
isSystemDefined |
Indicates if the role is predefined in NetBackup. Predefined roles cannot be modified. |
boolean |
name |
The user-defined name for the role. Maximum 256 bytes. |
string |
relationships
Name | Description | Schema |
---|---|---|
permissions |
The permissions allowed for this role. The type should be permission. |
permissions
Name | Schema |
---|---|
data |
< resourceIdentifierObject > array |
rolesResource
The collection of role resources.
Name | Schema |
---|---|
data |
< role > array |
links |
object |
meta |
object |
validAttributeObject
A resource identifier object that represents an individual attribute.
Name | Schema |
---|---|
name |
string |
type |
string |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Recovery API
Overview
The NetBackup Recovery API provides the ability to perform a recovery from previous backups.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
POST /recovery/workloads/cloud/scenarios/asset/recover
Description
Recovers a cloud asset.
Requires Permission: [Recover/Restore]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
recoveryRequest |
The request for a cloud asset recovery. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The recovery job started successfully. |
|
400 |
Bad request. The request JSON has an invalid syntax or illegal values. |
|
401 |
The |
|
404 |
Not found. The specified |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Internal server error. Failed to start recovery. |
|
503 |
The server is busy. Failed to start recovery. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request body
{
"data" : {
"type" : "recoveryRequest",
"attributes" : {
"recoveryPoint" : {
"sourceAssetId" : "example-asset-id",
"filter" : "backupTime ge '2017-11-20T23:20:50Z' and backupTime le '2018-12-20T23:20:50Z'"
},
"recoveryObject" : {
"destinationAssetId" : "example-asset-id-2"
}
}
}
}
Example HTTP response
Response 201
{
"data" : {
"type" : "recoveryResponse",
"id" : 42,
"attributes" : {
"msg" : "Recovery job started successfully"
}
},
"relationships" : {
"recoveryJob" : {
"links" : {
"related" : "/admin/jobs",
"self" : "/admin/jobs/42"
},
"data" : {
"type" : "job",
"id" : 42
}
}
}
}
POST /recovery/workloads/vmware/instant-access-mounts
Description
Creates a new instant access mount.
Requires Permission: [Download Files, Restore Files]
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the instant access mount. |
|
400 |
Bad request. The request JSON has an invalid syntax or illegal values. |
|
401 |
The |
|
404 |
Not found. The specified backup image was not found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Internal server error. Failed to create instant access mount. |
|
503 |
The server is busy. Failed to create instant access mount. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /recovery/workloads/vmware/instant-access-mounts
Description
Gets the list of mounts based on specified filters. If no filters are specified, information for all mounts is retrieved. Filters are based on OData standards, and filtering on the following attributes is supported.
clientName | eq ne contains, startswith, endswith | The name of the client. | string |
---|
Requires Permission: [Download Files, Restore Files]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved a list of existing instant access mounts. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /recovery/workloads/vmware/instant-access-mounts/{mountId}
Description
Gets detailed information about the specified instant access mount.
Requires Permission: [Download Files, Restore Files]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
mountId |
Instant access mount id. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved instant access mount information. |
|
401 |
The |
|
404 |
The instant access mount was not found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /recovery/workloads/vmware/instant-access-mounts/{mountId}
Description
Deletes the existing instant access mount.
Requires Permission: [Download Files, Restore Files]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
mountId |
Instant access mount id. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully deleted the existing instant access mount. |
No Content |
401 |
The |
|
404 |
The instant access mount was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /recovery/workloads/vmware/instant-access-mounts/{mountId}/download
Description
Fetches the download link of the file from the instant access mount.
Requires Permission: [Download Files]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
mountId |
Instant access mount id. |
string |
Query |
id |
The path of the file to be downloaded. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The download link of the file was successfully fetched from the instant access mount. |
|
401 |
The |
|
404 |
The instant access mount was not found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /recovery/workloads/vmware/instant-access-mounts/{mountId}/files
Description
Gets the content of a specified directory inside instant access mount.
Requires Permission: [Download Files, Restore Files]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
mountId |
Instant access mount id. |
string |
|
Query |
filter |
The filter criteria in OData format. The filter parameter will provide the internal path of instant-access-mount. This internal path should specify an directory and this directory’s content will be returned. |
string |
|
Query |
page[limit] |
The number of items to be returned on this call. |
integer |
|
Query |
page[offset] |
The offset of the first item to be returned on this call. All the filters are based on OData standards and filtering on the following attributes is supported. [width="90%", cols="3, ^4, ^8, 2", options="header"] |========================================================= |Name|Supported Operators|Description|Schema |path|startsWith|The internal path which content will be returned. By default, path is set to '/'|string |id|eq|The id of the file to be downloaded |========================================================= |
integer |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved directory content of instant access mount. |
|
401 |
The |
|
404 |
The instant access mount was not found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /recovery/workloads/vmware/instant-access-mounts/{mountId}/restore
Description
Restores the specified file in instant access mount to the specified VM path without requiring a NetBackup client.
Requires Permission: [Restore Files]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
mountId |
Instant access mount id. |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully restore the file into the VM. |
|
401 |
The |
|
404 |
The instant access mount was not found. |
|
406 |
Invalid |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /recovery/workloads/vmware/instant-access-vms
Description
Creates a new instant access VM.
Requires Permission: [Instant Access]
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the instant access vm. |
|
400 |
Bad request. The request JSON has an invalid syntax or illegal values. |
|
401 |
The |
|
404 |
Not found. The specified backup image was not found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Internal server error. Failed to create instant access vm. |
|
503 |
The server is busy. Failed to create instant access vm. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /recovery/workloads/vmware/instant-access-vms
Description
Returns a list of all existing instant access VMs.
Requires Permission: [Instant Access]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved a list of existing instant access vms. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /recovery/workloads/vmware/instant-access-vms/{mountId}
Description
Gets detailed information about the specified instant access VM.
Requires Permission: [Instant Access]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
mountId |
Instant access mount id. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved instant access mount information. |
|
401 |
The |
|
404 |
The instant access vm was not found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /recovery/workloads/vmware/instant-access-vms/{mountId}
Description
Deletes the existing instant access VM.
Requires Permission: [Instant Access]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
mountId |
Instant access mount id. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully deleted the existing instant access vm. |
No Content |
401 |
The |
|
404 |
The instant access vm was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /recovery/workloads/vmware/scenarios/full-vm/recover
Description
Recovers a full VMware virtual machine.
Requires Permission: [Recover/Restore, Instant Access, Download Files, Restore Files]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
recoveryRequest |
The request for a full VMware VM recovery. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
The recovery job started successfully. |
|
400 |
Bad request. The request JSON has an invalid syntax or illegal values. |
|
401 |
The |
|
404 |
Not found. The specified client or backup image was not found. |
|
405 |
Method not allowed. The specified HTTP operation is invalid. |
|
406 |
Invalid |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Internal server error. Failed to start recovery. |
|
503 |
The server is busy. Failed to start recovery. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request body
{
"data" : {
"type" : "recoveryRequest",
"attributes" : {
"recoveryPoint" : {
"client" : "example-vm",
"filter" : "backupTime ge '2016-11-20T23:20:50Z' and backupTime le '2016-12-20T23:20:50Z'"
},
"recoveryObject" : {
"vmDisplayName" : "copy-of-example-vm",
"vmDisks" : [ {
"source" : "/example-DS1/example-vm/example-disk1.vmdk",
"destination" : "/example-DS2/example-vm/example-disk1.vmdk"
}, {
"source" : "/example-DS1/example-vm/example-disk2.vmdk",
"destination" : "/example-DS2/example-vm/example-disk2.vmdk"
} ],
"vmEnvironment" : {
"vCenter" : "vcenter-server.example.com",
"esxiServer" : "esx-server.example.com",
"datacenter" : "/example-DC",
"vmFolder" : "/example-DC/vm",
"resourcePoolOrVapp" : "/example-DC/host/esx.example.com/Resources/example-res-pool",
"vmxDatastore" : "example-DS",
"network" : "VM Network"
}
},
"recoveryOptions" : {
"defaultVmDiskProvisioning" : "thin",
"recoveryHost" : "recovery-proxy.example.com",
"diskMediaServer" : "media-server.example.com",
"transportMode" : "san:hotadd:nbd:nbdssl",
"overwriteExistingVm" : true,
"powerOnAfterRecovery" : true,
"recoverToVmxDatastore" : true,
"removeBackingInformation" : true,
"removeNetworkInterfaces" : true,
"removeTagAssociations" : true,
"retainHardwareVersion" : true,
"retainInstanceUuid" : true,
"retainBiosUuid" : true
}
}
}
}
Example HTTP response
Response 201
{
"data" : {
"type" : "recoveryResponse",
"id" : 42,
"attributes" : {
"msg" : "Recovery job started successfully"
}
},
"relationships" : {
"recoveryJob" : {
"links" : {
"related" : "/admin/jobs",
"self" : "/admin/jobs/42"
},
"data" : {
"type" : "job",
"id" : 42
}
}
}
}
Definitions
cloudAssetRecoveryRequest
The recovery request schema for cloud asset recovery.
Name | Description | Schema |
---|---|---|
data |
Contains the recovery request data. |
data
Name | Description | Schema |
---|---|---|
attributes |
Contains the recovery request attributes. |
|
type |
The resource type. Must be set to |
enum (recoveryRequest) |
attributes
Name | Description | Schema |
---|---|---|
recoveryObject |
The asset that is specified for the recovery. |
|
recoveryPoint |
Selects the recovery point for this recovery based on the specified options. |
recoveryObject
Name | Description | Schema |
---|---|---|
destinationAssetId |
Represents the Cloud asset ID for the recovery destination. If not specified, the asset is restored to its original location. |
string |
recoveryPoint
Name | Description | Schema | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
backupId |
The backup image identifier to use for this recovery. You must specify either |
string |
||||||||
filter |
Optional. Selects the backup images for recovery based on the specified
|
string |
||||||||
sourceAssetId |
The asset identifier that was used at the time of backup. You must specify either |
string |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getDownloadUrlResponse
Name | Description | Schema |
---|---|---|
data |
Contains the download link from the instant access mount response data. |
data
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The instant access mount id |
string |
type |
Specifies the restore type as 'getDownloadUrlRequest'. |
enum (GetDownloadUrlFromIAMount) |
attributes
Name | Description | Schema |
---|---|---|
securityKey |
The authorization details of the download link (URL) from the instant access mount. |
string |
url |
The download link (URL) of the Storage Platform Web Service. |
string |
instantAccessMountAttributes
Name | Description | Schema |
---|---|---|
backupId |
The backup ID. |
string |
clientName |
The name of the client. Not available if status is 'inprogress'. |
string |
exportPath |
The file path to which the mount is exported. Not available if status is 'inprogress'. |
string |
nfsServer |
The hostname of the NFS server. Not available if status is 'inprogress'. |
string |
policyName |
The name of the backup policy. |
string |
state |
Indicates the current state of Instant access mount. Possible values are inprogress/created/exported. 'created' - instant access mount is available. 'exported' - instant access mount is exported to some client. 'inprogress' - instant access mount creation is in-progress. |
string |
status |
The status indicates health of the instant access mount. Possible values are 'active/inactive/expired'. 'active' - In good health. 'inactive' - Some issue with instant access mount. Possibly corrupt. 'expired' - Is expired and can be deleted any time. |
string |
timestamp |
Instant access mount creation time. Not available if status is 'inprogress'. |
string |
instantAccessMountContentItemAttributes
Name | Description | Schema |
---|---|---|
itemType |
The type of content item. valid values are 'dir' and 'file'. |
string |
name |
The name of the content item. |
string |
path |
The path of the content item. |
string |
instantAccessMountContentItemResponseArray
Name | Schema |
---|---|
data |
instantAccessMountContentItemResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
the path to the content item. |
string |
links |
||
type |
Specify 'instantAccessMountContentItem' as a type. |
string |
links
Name | Schema |
---|---|
self |
instantAccessMountRelationships
Name | Description | Schema |
---|---|---|
image |
The backup image associated with this instant access mount. |
image
Name | Schema |
---|---|
data |
|
links |
links
Name | Schema |
---|---|
related |
instantAccessMountRequest
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
type |
Specify 'instantAccessMount' as a type. |
string |
attributes
Name | Description | Schema |
---|---|---|
backupId |
The backup image identifier to be used for creating instant access mount. Required. |
string |
instantAccessMountResponse
Name | Schema |
---|---|
data |
instantAccessMountResponseArray
Name | Schema |
---|---|
data |
< instantAccessMountResponseData > array |
instantAccessMountResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
A unique identifier for instant access mount. |
string |
links |
||
relationships |
||
type |
Specify 'instantAccessMount' as a type. |
string |
links
Name | Schema |
---|---|
self |
instantAccessMountSFRRequest
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
type |
Specifies the restore type as 'SingleFileRestoreVM'. |
enum (SingleFileRestoreVM) |
attributes
Name | Description | Schema |
---|---|---|
esxiHost |
The ESXi server name. If not specified, the default is the one used at the time of backup. |
string |
fileId |
The file in the instant access mount to be restored. This is a mandatory parameter. |
string |
restorePath |
The VM path where the file is to be restored.This is a mandatory parameter. |
string |
vCenter |
The vCenter server name. If not specified, the default is the one used at the time of backup. |
string |
vmBiosUuid |
The BIOS UUID of the VM associated with the file to be restored. use to identify the VM. Not required if vmInstUuid or vmName is specified. |
string |
vmInstUuid |
The Instance UUID of the VM associated with the file to be restored. use to identify the VM. Not required if vmBiosUuid or vmName is specified. |
string |
vmName |
The name of the VM associated with the file to be restored. use to identify the VM Not required if vmInstUuid or vmBiosUuid is specified. |
string |
vmPassword |
The password of the VM where the file is to be restored. This is a mandatory parameter. |
string |
vmUsername |
The user name of the VM where the file is to be restored. This is a mandatory parameter. |
string |
instantAccessMountSFRResponse
Name | Description | Schema |
---|---|---|
data |
Contains the single file restore response data. |
data
Name | Description | Schema |
---|---|---|
attributes |
Contains the single file restore job attributes. |
|
fileId |
The file in the instant access mount to be restored. |
string |
id |
A unique identifier for instant access mount. |
string |
links |
||
type |
Specifies the restore type as 'singleFileRestoreVM' |
string |
attributes
Name | Description | Schema |
---|---|---|
jobId |
The single file restore job identifier. |
string |
mountId |
The instant access mount from where the file is to be restored. . |
string |
restorePath |
The VM path where the file is to be restored. |
string |
vmName |
The name of the VM where the file is to be restored. |
string |
links
Name | Schema |
---|---|
self |
instantAccessVmAttributes
Name | Description | Schema |
---|---|---|
backupId |
string |
|
clientName |
The name of the client. Not available if status is 'inprogress'. |
string |
esxiHost |
string |
|
guestFullName |
string |
|
guestId |
string |
|
hostName |
string |
|
instanceUuid |
string |
|
ipAddress |
string |
|
memorySizeMB |
string |
|
mountId |
string |
|
numCpu |
string |
|
numEthernetCards |
string |
|
numVirtualDisks |
string |
|
resourcePool |
string |
|
retention |
integer (int64) |
|
toolsRunningStatus |
string |
|
toolsVersionStatus2 |
string |
|
uuid |
string |
|
vCenter |
string |
|
version |
string |
|
vmFolder |
string |
|
vmName |
string |
instantAccessVmRelationships
Name | Description | Schema |
---|---|---|
image |
Backup image associated with this instant access VM. |
image
Name | Schema |
---|---|
data |
|
links |
links
Name | Schema |
---|---|
related |
instantAccessVmRequest
Name | Schema |
---|---|
data |
data
Name | Description | Schema |
---|---|---|
attributes |
||
type |
Specify 'InstantAccessVm' as a type. |
string |
attributes
Name | Description | Schema |
---|---|---|
backupId |
The backup image identifier to be used for creating instant access mount. Required. |
string |
esxiHost |
The ESXi server name. If not specified, the default is the one used at the time of backup. |
string |
powerOn |
If |
boolean |
removeBackingInfo |
Remove the backing info for devices such as CD-ROM, DVD, etc. Default is true. |
boolean |
removeEthCards |
Remove the VM’s network interfaces. If not specified, VM’s network interfaces will be removed after creation. |
boolean |
resetBiosUuid |
Create new BIOS UUID for the VM. Default is false. |
boolean |
resetInstanceUuid |
Create new Instance UUID for the VM. Default is true. |
boolean |
resourcePoolOrVapp |
The resource pool or vApp path. Must begin with a forward slash '/'. If not specified, the default is the one used at the time of backup. |
string |
retention |
Even though default is 2592000, which is 30 days, in this release VM is never automatically expired. |
integer (int64) |
vCenter |
The vCenter server name. If not specified, the default is the one used at the time of backup. |
string |
vmFolder |
The VM folder path. Must begin with a forward slash '/'. If not specified, the default is the one used at the time of backup. |
string |
vmName |
The display name of the virtual machine. Must not contain more than 80 characters. |
string |
instantAccessVmResponse
Name | Schema |
---|---|
data |
instantAccessVmResponseArray
Name | Schema |
---|---|
data |
< instantAccessVmResponseData > array |
instantAccessVmResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
A unique identifier for VM. |
string |
links |
||
relationships |
||
type |
Specify 'instantAccessVm' as a type. |
string |
links
Name | Schema |
---|---|
self |
linkObject
Name | Schema |
---|---|
href |
string |
recoveryResponse
The recovery response.
Name | Description | Schema |
---|---|---|
data |
Contains the recovery response data. |
|
relationships |
Contains the resources related to the recovery operation, such as |
data
Name | Description | Schema |
---|---|---|
attributes |
Contains the recovery response attributes. |
|
id |
The response identifier. |
integer (int64) |
type |
The response type. |
string |
attributes
Name | Description | Schema |
---|---|---|
msg |
The response message. |
string |
relationships
Name | Description | Schema |
---|---|---|
recoveryJob |
Represents the job created by this recovery operation. |
recoveryJob
Name | Description | Schema |
---|---|---|
data |
Contains the recovery job data. |
|
links |
Contains the links to get the job details. |
data
Name | Description | Schema |
---|---|---|
id |
The job identifier. |
integer (int64) |
type |
The resource type. Set to |
string |
links
Name | Description | Schema |
---|---|---|
related |
Gets a list of recent jobs. |
string |
self |
Gets the details about this recovery job. |
string |
resourceIdentifierObject
A resource identifier object representing an individual resource.
Name | Schema |
---|---|
id |
string |
type |
string |
vmwareFullVmRecoveryRequest
The recovery request schema for VMware full VM recovery.
Name | Description | Schema |
---|---|---|
data |
Contains the recovery request data. |
data
Name | Description | Schema |
---|---|---|
attributes |
Contains the recovery request attributes. |
|
type |
The resource type. Must be set to |
enum (recoveryRequest) |
attributes
Name | Description | Schema |
---|---|---|
recoveryObject |
Represents the virtual machine being recovered. |
|
recoveryOptions |
Describes the recovery options to be used for this recovery. |
|
recoveryPoint |
Selects the recovery point for this recovery based on the specified options. Required. |
recoveryObject
Name | Description | Schema |
---|---|---|
vmDisks |
Represents one or more virtual machine disks. If not specified, the default is the disk or disks used at the time of backup. |
< vmDisks > array |
vmDisplayName |
The display name of the virtual machine. Must not contain more than 80 characters. If not specified, the default is the one used at the time of backup. |
string |
vmEnvironment |
Describes the VMware environment where this virtual machine is to be recovered. If not specified, the default is the one used at the time of backup. |
vmDisks
Name | Description | Schema |
---|---|---|
destination |
The destination path of the virtual machine disk. |
string |
source |
The source path of the virtual machine disk. |
string |
vmEnvironment
Name | Description | Schema |
---|---|---|
datacenter |
The datacenter path. Must begin with a forward slash '/'. If not specified, the default is the one used at the time of backup. |
string |
esxiServer |
The ESXi server name. If not specified, the default is the one used at the time of backup. |
string |
network |
The VM network name. Multiple VM networks can be specified using comma-separated values. If multiple VM networks are specified, they are attached to the recovered VM in the specified order. The default is the VM network or networks that were used at the time of backup. |
string |
resourcePoolOrVapp |
The resource pool or vApp path. Must begin with a forward slash '/'. If not specified, the default is the one used at the time of backup. |
string |
vCenter |
The vCenter server name. If not specified, the default is the one used at the time of backup. |
string |
vmFolder |
The VM folder path. Must begin with a forward slash '/'. If not specified, the default is the one used at the time of backup. |
string |
vmxDatastore |
The name of the datastore to restore the VMX file to. If not specified, the default is the one used at the time of backup. |
string |
recoveryOptions
Name | Description | Schema |
---|---|---|
defaultVmDiskProvisioning |
The default disk provisioning format that is to be used for all of the virtual disks created during recovery. If not specified, the default is the one used at the time of backup. |
enum (thin, thick-lazy-zeroed, thick-eager-zeroed) |
diskMediaServer |
The media server that is to be used to perform this recovery. If not specified, the default is the one used at the time of backup. |
string |
overwriteExistingVm |
If |
boolean |
powerOnAfterRecovery |
If |
boolean |
recoverToVmxDatastore |
If |
boolean |
recoveryHost |
The server that is to be used as the VM recovery host to perform this recovery. If not specified, the default is the one used at the time of backup. |
string |
removeBackingInformation |
If |
boolean |
removeNetworkInterfaces |
If |
boolean |
removeTagAssociations |
If |
boolean |
retainBiosUuid |
If |
boolean |
retainHardwareVersion |
If |
boolean |
retainInstanceUuid |
If |
boolean |
transportMode |
The transport mode combination that is to be used to perform this recovery. The string must be specified all in lowercase, with colon separated values such as |
string |
recoveryPoint
Name | Description | Schema | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
backupId |
The backup image identifier to be used for this recovery. Required, if |
string |
||||||||
client |
The client identifier that was used at the time of backup. Required, if |
string |
||||||||
filter |
Selects the backup images for recovery based on the specified
filter can be used to specify a time interval, such as backupTime ge '2016-11-20T23:20:50Z' and backupTime le '2016-12-20T23:20:50Z' . If the filter only specifies the start of the time interval, such as backupTime ge '2016-11-20T23:20:50Z' , then the end of the interval is assumed to be the current time. If the filter only specifies the end of the time interval, such as backupTime le '2016-11-20T23:20:50Z' , then the start of the interval is assumed to be 6 months prior to that. If the filter is not specified, the end of the time interval is assumed to be the current time and the start of the interval is assumed to be 6 months prior to that. |
string |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Security API
Overview
The NetBackup Security APIs provide access to the security-related resources of NetBackup. These APIs manage authorization tokens, host ID-based certificates, security configuration options, and auditing.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /security/auditlogs
Description
Views the NetBackup audit logs.
Requires Permission: [View Audit Logs]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
category |
The category ID of the required audit record. 0-GENERAL 1-POLICY 2-AUDITCFG 3-JOB 4-AUDITSVC 5-STU 6-POOL 7-STORAGESRV 8-BPCONF 9-AUDITDB 10-HOLD 11-USER 12-AZFAILURE 13-CATALOG 14-TOKEN 15-CERT 16-LOGIN 17-SEC_CONFIG 18-HOST 19-CONNECTION 20-DATAACCESS 21-CONFIG 22-ALERT |
integer |
|
Query |
datalimit |
The number of audit records to be fetched. |
integer |
|
Query |
domain |
The domain name of the user. |
string |
|
Query |
domaintype |
The domain type of the user. |
integer |
|
Query |
endtime |
The end time for the audit records. The audit records are fetched until this time. |
integer (int64) |
|
Query |
locale |
The locale value. |
string |
|
Query |
operation |
The operation ID of the audit record. 0-GENERAL 1-CREATE 2-MODIFY 3-DELETE 4-START 5-STOP 6-CANCEL 7-RESUME 8-ACCESS |
integer |
|
Query |
starttime |
The start time for the audit records. NetBackup starts fetching the audit records at this time. |
integer (int64) |
|
Query |
username |
The name of the user. |
string |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The list of audit records. |
|
401 |
The |
|
404 |
No audit record found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/cacert
Description
Returns the certificate of the NetBackup web service certificate authority(CA) and the list of certificates of the NetBackup CA in the pem formatted string as well as extracted details from these certificates. Each NetBackup host must establish trust with the NetBackup web service CA before it can make secure calls to NetBackup APIs.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, the CA certificate is sent. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
GET /security/certificates/crl
Description
Returns the latest Certificate Revocation List (CRL) as a DER-encoded file. The file conforms to the standard X.509 CRL format and semantics.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, the latest CRL file is sent. |
file |
406 |
Invalid |
|
500 |
There was an internal error with output of the Certificate Revocation List (CRL). Please try again. |
string |
503 |
Not found, the CRL is not generated yet. |
string |
Produces
-
application/pkix-crl
GET /security/certificates/current
Description
Returns the list of details for the latest certificate for each host from the certificate database.
Requires Permission: [Manage Certificates]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, the list of details for the latest certificate for each host is sent. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /security/certificates/revoke
Description
Revokes the NetBackup host ID-based certificate for the specified host ID.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
hostId |
The unique ID assigned to the NetBackup host. |
string |
Body |
Reason |
The reason for a certification revocation. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Request successful. |
No Content |
400 |
Bad request. The request contains an invalid parameter, or the certificate has already been revoked. |
|
401 |
The |
|
404 |
The specified host was not found. |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/certificates/{serialNumber}
Description
Returns the certificate details of the certificate with the specified serial number.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
serialNumber |
The serial number of the certificate. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, the certificate details are sent. |
|
401 |
The |
|
404 |
The certificate entry does not exist. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /security/credentials
Description
Sets the security credentials.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
Security credentials |
The security credential that needs to be set. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The request was successful. |
No Content |
400 |
Bad request. The request contains an invalid parameter. |
|
401 |
The |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/credentials/{credname}/isset
Description
Verifies whether a certain security credential is set or not.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
credname |
The name of the security credential key. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The request was successful. |
|
401 |
The |
|
406 |
Invalid |
|
500 |
There was an error when attempting to query the security credential. |
Security
Type | Name |
---|---|
apiKey |
GET /security/logindetails
Description
Views the logs that are specific to the NetBackup login audit records.
Requires Permission: []
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
datalimit |
The number of audit records to be fetched. |
integer |
|
Query |
domaintype |
The domain type of the user. |
integer |
|
Query |
lastlogon |
Set the value to true to view the audit records for the last failed and the last successful login attempts. If the value is set to false, audit records for all login attempts are fetched. |
boolean |
|
Query |
locale |
The locale value. |
string |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
The list of audit records. |
|
401 |
The |
|
404 |
No audit record found. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/ping
Description
Tests the connection for the security service from the client. It returns the master server time in milliseconds.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ping successful - master server time in milliseconds |
|
406 |
Invalid |
Produces
-
text/vnd.netbackup+plain;version=2.0
-
application/vnd.netbackup+json;version=2.0
POST /security/properties
Description
Configures NetBackup security options, such as certificate deployment security level, secure communication with hosts, automatic addition of host ID-to-host name mappings and use of external Certificate Authority (CA).
Requires Permission: [Manage Global Security Settings]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
Security configuration properties |
The security configurations that need to be updated. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Request successful. |
No Content |
400 |
Bad request. The request contains an invalid parameter. |
|
401 |
The |
|
415 |
Unsupported Media Type. The media type specified in the |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/properties
Description
Fetches the configuration settings for NetBackup security.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, security configurations are sent in the JSON format. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
GET /security/properties/default
Description
Fetches the default settings specific to NetBackup security.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, default security configuration settings are sent in the JSON format. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
POST /security/securitytokens
Description
Creates an authorization token based on the properties that are sent with the request payload.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
Create Token Data |
The properties of the token to be created. |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
On successful response, the token value is sent. |
|
400 |
Bad request. The request contains an invalid parameter. |
|
401 |
The |
|
404 |
In case of reissue-token, the host ID that is specified does not exist. |
|
406 |
Invalid |
|
409 |
The token already exists. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
Failed to create the token. |
|
503 |
Server busy. Try again later. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/securitytokens
Description
Returns the data for all tokens in the form of a list.
Requires Permission: [Manage Certificates]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, a list of tokens is sent. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /security/securitytokens/delete/invalid
Description
Cleans all invalid authorization tokens.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
Reason |
Specify the reason for deleting the invalid tokens. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Request successful. |
No Content |
400 |
Bad request. The request contains an invalid parameter. |
|
401 |
The |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/securitytokens/state/valid
Description
Returns the data for all valid tokens.
Requires Permission: [Manage Certificates]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, a list of valid tokens is sent. |
|
401 |
The |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/securitytokens/{tokenName}
Description
Returns the token data for the specified token.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
tokenName |
The token name. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, the token data is sent. |
|
401 |
The |
|
404 |
The token does not exist. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /security/securitytokens/{tokenName}/delete
Description
Deletes an authorization token based on the token name that is specified in the URI.
Requires Permission: [Manage Certificates]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
tokenName |
The token name. |
string |
Body |
Reason |
Specify the reason for deleting the token. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Request successful. |
No Content |
400 |
Bad request. The request contains an invalid parameter. |
|
401 |
The |
|
404 |
The token does not exist. |
|
406 |
Invalid |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /security/serverinfo
Description
Returns NetBackup master server information.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, the NetBackup master server information is sent. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
GET /security/servertime
Description
Returns the master server time in milliseconds in the JSON format.
Requires Permission: []
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
On successful response, the master server time in milliseconds is sent in the JSON format. |
|
406 |
Invalid |
Produces
-
application/vnd.netbackup+json;version=2.0
Definitions
aliasAutoAdd
Here are the defined values for the aliasAutoAdd setting. 0 - OFF - The NetBackup administrator’s approval is required to add host aliases. 1 - ON - Aliases can be automatically added without the NetBackup administrator’s approval.
Type : integer
allowInsecureBackLevelHost
Here are the defined values for the allowInsecureBackLevelHost setting: 0 - OFF - The NetBackup host cannot communicate with insecure hosts. 1 - ON - The NetBackup host can communicate with insecure hosts.
Type : integer
auditRecordDetails
Name | Description | Schema |
---|---|---|
auditKeyList |
The list of the audit placeholder values. |
< auditRecordKey > array |
auditRecordAttributeList |
The list of the audit record attributes. |
< auditRecordAttribute > array |
auditTime |
||
auditUserIdentity |
User information. |
object |
categoryId |
The category ID of the fetched audit record. |
integer |
categoryIdDisplayString |
The resolved category value from the categoryId field. |
string |
messageId |
The UMI message ID of the fetched audit record. |
integer |
messageIdDisplayString |
The resolved message value from the messageId UMI. |
string |
operationId |
The operation ID of the fetched audit record. |
integer |
operationIdDisplayString |
The resolved operation value from the operationId field. |
string |
reason |
The reason value of the audit record. |
string |
auditRecordKey
Name | Description | Schema |
---|---|---|
typeId |
The data type of the placeholder. |
integer |
typeIdDisplayString |
The value of the placeholder for the audit description message. |
string |
certificateAutoDeployLevel
Here are the defined values for the certificate deployLevel level. 0 - Very High - Automatic certificate deployment is disabled. 1 - High - Certificates are automatically deployed on known hosts. 2 - Medium - Certificates are automatically deployed on all hosts.
Type : integer
certificateDetails
Name | Description | Schema |
---|---|---|
caCert |
An x.509 certificate in a PEM-formatted string. |
string |
caCertDetails |
certificateRegistrationRequest
Requests data for the registration of the host certificate that was issued by a third-party CA.
Name | Description | Schema |
---|---|---|
data |
Contains payload for TPCA issued certificate registration with NetBackup. |
data
Name | Description | Schema |
---|---|---|
attributes |
Contains the payload attributes. |
|
id |
The request identifier. |
string |
type |
The type of the certificate registration request. |
enum (certificateRegistrationRequest) |
attributes
Name | Description | Schema |
---|---|---|
domainContext |
For internal use only. |
integer |
hostInfo |
||
registrationToken |
The authorization token. Depending on the certificate deployment security setting, NetBackup hosts may require an authorization token to register the host certificate that is issued by a third-party CA with NetBackup. |
string |
certificateRegistrationResponse
The response after the registration of the certificate that is issued by a third-party CA.
Name | Description | Schema |
---|---|---|
data |
The response payload after the certificate issued by a third-party CA is registered with NetBackup. |
data
Name | Description | Schema |
---|---|---|
attributes |
The attributes of the certificate registration response. |
|
id |
The response identifier. |
string |
type |
The type of the certificate registration response. |
enum (certificateRegistrationResponse) |
attributes
Name | Description | Schema |
---|---|---|
externalCaUsage |
Here, TPCA = Third-party certificate authority. NBCA = NetBackup certificate authority. In response payload, externalCaUsage is a global security setting that specifies if the TCPA should be enforced or not. Possible values can be >
Disabled (0) - Only NBCA is used for NetBackup communication
Enabled (1) - If one of the communicating hosts has only NBCA certificate, communication
happens through NBCA. If both hosts have TCPA certificate, communication happens through TCPA.
Enforced (2) - Communication happens only through TCPA certificates, Communication through NBCA
is not allowed. |
integer |
hostId |
The unique ID assigned to the NetBackup host. |
string |
masterHostId |
The host ID of the NetBackup master server. |
string |
securityLevel |
The certificate deployment level of the master server of the host that initiated the certificate registration. |
integer |
certificateState
The certificate state. Here are the defined values for the certificate state. 1 - Active. 2 - Revoked.
Type : integer
certificateTokenType
Indicates the type of token that was used to issue the certificate or the scenario in which the certificate was issued. Here are the defined values for token types. 0 - No token. 1 - Single-use token. 2 - Multi-use token. 3 - Reissue token. Here are the defined values based on these scenarios. 4 - Certificate renewal. 5 - Auto created (catalog recovery).
Type : integer
credIsSetResponse
A flag that specifies whether the security credential is set or not.
Type : boolean
csr
A CSR is a PKCS10 formatted message that is sent from a Secure Sockets Layer (SSL) digital certificate applicant to a certificate authority (CA). The CSR validates the information the NetBackup CA requires to issue a certificate.
Type : string
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
externalCaUsage
Here are the defined values for the external CA usage parameter. 0 - Disabled - Use of external CA is disabled. 1 - Enabled - Use of external CA is enabled.
Type : integer
extractedCertDetails
Name | Description | Schema |
---|---|---|
fingerprint |
A certificate’s fingerprint is the unique identifier of the certificate. It is a digest (hash function) of a certificate in x509 binary format calculated using SHA1 algorithm. |
string |
notAfter |
Gets the date and time after which a certificate is no longer valid. |
string (date-time) |
notBefore |
Gets the date and time on which a certificate becomes valid. |
string (date-time) |
serialNumber |
||
subjectCN |
The subject common name (CN) |
string |
subjectOU |
The subject Organizational Unit (OU) |
string |
getAuditRecordResponse
Name | Description | Schema |
---|---|---|
auditRecordList |
The list of audit record details. |
< auditRecordDetails > array |
isDataTruncated |
Indicates whether the data is truncated or not. |
boolean |
getCACertificateResponse
Name | Description | Schema |
---|---|---|
caCertificateData |
A list of certificates of the NetBackup certificate authority (VxAT) in a pem-formatted string. |
< certificateDetails > array |
webRootCertificateData |
< certificateDetails > array |
getCertificateListResponse
Name | Description | Schema |
---|---|---|
certificateList |
A list of certificate details. |
< getCertificateResponse > array |
getCertificateResponse
Name | Description | Schema |
---|---|---|
certificateKey |
For internal use. |
integer |
createOn |
||
hostId |
||
hostName |
||
hostType |
||
notAfter |
||
notBefore |
||
publicKey |
The public key of the host for which the certificate is issued. |
string |
revocationReason |
||
serialNumber |
||
state |
||
tokenType |
||
updatedOn |
getSecPropertyResponse
List of security settings.
Name | Schema |
---|---|
aliasAutoAdd |
|
allowInsecureBackLevelHost |
|
certificateAutoDeployLevel |
|
externalCaUsage |
getServerInfoResponse
Name | Description | Schema |
---|---|---|
masterHostId |
The host ID of the NetBackup master server. |
|
serverName |
The name of the NetBackup master server. |
string |
getServerTimeResponse
Name | Schema |
---|---|
serverTime |
getTokenData
Name | Description | Schema |
---|---|---|
allowedCount |
The maximum usage count of the token. |
integer |
hostId |
||
tokenActivationTime |
||
tokenExpirationTime |
||
tokenKey |
For internal use. |
integer |
tokenName |
The token name to be created. |
string |
tokenState |
The validity of the token. A token is invalid if the usedCount has exceeded the allowedCount, the token is not active yet, or the token has expired. It is valid otherwise. Here are the defined values for token states: 0 - Not Valid. 1 - Valid. |
integer |
tokenType |
||
tokenValue |
||
usedCount |
The used count of the token. |
integer |
getTokenResponse
Name | Description | Schema |
---|---|---|
tokenList |
List of tokens. |
< getTokenData > array |
hostID
The unique ID assigned to the NetBackup host.
Type : string
hostInformation
Name | Description | Schema |
---|---|---|
csr |
||
hostAlias |
A list of host aliases of the specified host. The specified hostName property must be present in this hostAlias array. |
< hostName > array |
hostName |
hostName
The name of the host for which the certificate is issued or is to be issued.
Type : string
hostRegistrationData
Name | Schema |
---|---|
hostName |
hostType
The type of host (server or client). Here are the defined values for the host type: 0 - Unknown. 1 - Server. 2 - Client.
Type : integer
postCertificateResponse
Name | Description | Schema |
---|---|---|
certificate |
||
crl |
The certificate revocation list. |
string (byte) |
hostId |
The host ID of the NetBackup host that has requested a certificate. |
|
masterHostId |
The host ID of the NetBackup master server. |
|
securityLevel |
The level of host checking for certificate registration and the frequency of updates for CRLs. |
integer |
postCreateTokenRequest
Name | Description | Schema |
---|---|---|
allowedCount |
The maximum usage count of the token. The default value is 1. |
integer |
hostId |
||
reason |
The reason for creating the token. |
string |
tokenName |
The token name to be created. |
string |
type |
||
validFor |
The validity of the token in seconds. The default validity is 1 day. |
integer |
postCreateTokenResponse
Name | Description | Schema |
---|---|---|
tokenValue |
The token value. Use for certificate deployment. |
string |
postDeleteTokenRequest
Name | Description | Schema |
---|---|---|
reason |
The reason for deleting the token. |
string |
postRevokeCertificateRequest
Name | Schema |
---|---|
revocationReason |
postSecPropertyRequest
Name | Schema |
---|---|
aliasAutoAdd |
|
allowInsecureBackLevelHost |
|
certificateAutoDeployLevel |
|
externalCaUsage |
revocationReason
The reason for a certificate revocation. Here are the defined values for the revocation reason. 0 = Unspecified. 1 = Key Compromise. 2 = CA Compromise. 3 = Affiliation Changed. 4 = Superseded. 5 = Cessation Of Operation. 6 = Certificate Hold. 7 = Others.
Type : integer
secCredDef
Name | Description | Schema |
---|---|---|
credName |
The name of the security credential key. |
string |
credValue |
The value associated with the security credential key. |
string |
serialNo
The serial number of the certificate.
Type : integer
time
The number of milliseconds since the Epoch, 1970-01-01 00:00:00 +0000.
Type : integer (int64)
token
The authorization token. It can be of type standard token, reissue token. Depending on the certificate deployment security setting, NetBackup hosts may require an authorization token to obtain a host ID-based certificate from the certificate authority (master server). To request a certificate reissue, the token is mandatory and should be of type reissue.
Type : string
tokenType
The type of the token to be created. Here are the defined values for the token types. 0 - Standard Token. 1 - Reissue Token.
Type : integer
Security
rbacCertSecurity
Type : apiKey
Name : Authorization
In : HEADER
rbacUserSecurity
Type : apiKey
Name : Authorization
In : HEADER
APIs for the Service Catalog
Overview
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup/servicecatalog
Schemes : HTTPS
Paths
POST /slos
Description
Creates a new SLO definition.
Requires Permission: [Manage Protection Plans]
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the SLO definition. |
|
400 |
Bad request. The body of the request is not valid. |
|
401 |
The |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /slos
Description
Retrieves the list of SLO definitions based on specified filters. If no filters are specified, information for 10 SLO definitions is retrieved, sorted in descending order by the name. All the filters are based on OData standards. Filtering is supported for the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
id |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies the SLO ID. |
string |
name |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies the SLO name. |
string |
description |
eq ne gt ge lt le and or not () contains endswith startswith |
Specifies the SLO description. |
string |
subscriptionCount |
eq ne gt ge lt le |
Specifies the SLO subscription count. |
integer |
Requires Permission: [View Protection Plans, Manage Protection Plans, Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
Specifies filters according to OData standards |
string |
|
Query |
page[limit] |
The number of records on one page, after the offset. |
integer |
|
Query |
page[offset] |
The subscription record number offset. |
integer |
|
Query |
sort |
Sort in ascending order on the specified property. Prefix with '-' for descending order. |
string |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved a list of existing SLOs. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /slos/{sloID}
Description
Gets the specified SLO definition.
Requires Permission: [View Protection Plans, Manage Protection Plans, Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
sloID |
The unique ID for the SLO definition. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the specified SLO definition. |
|
401 |
The |
|
404 |
The SLO definition was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PUT /slos/{sloID}
Description
Updates the existing SLO definition.
Requires Permission: [Manage Protection Plans]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
sloID |
The unique ID for the SLO definition. |
string |
Body |
body |
The updated SLO definition. |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully updated the SLO definition. |
No Content |
400 |
Bad request. The request body is not valid. |
|
401 |
The |
|
404 |
The SLO definition was not found. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /slos/{sloID}
Description
Deletes the existing SLO definition.
Requires Permission: [Manage Protection Plans]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
sloID |
The unique ID for the SLO definition. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully removed the existing SLO. |
No Content |
401 |
The |
|
404 |
The SLO definition was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
PATCH /slos/{sloID}
Description
Updates few attributes of SLO definition for existing SLO.
Requires Permission: [Manage Protection Plans]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
sloID |
The unique ID for the SLO definition. |
string |
Body |
body |
The updated SLO definition. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully updated the SLO definition. |
|
400 |
Bad request. The body of the request is not valid. |
|
401 |
The |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
POST /slos/{sloID}/subscriptions
Description
Creates a subscription for the specified SLO.
Requires Permission: [View Protection Plans, Manage Protection Plans, Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
sloID |
The unique ID for the SLO definition. |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Successfully created the subscription. |
|
400 |
Bad request. The request body is not valid. |
|
401 |
The |
|
404 |
Specified SLO was not found. |
Consumes
-
application/vnd.netbackup+json;version=2.0
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /slos/{sloID}/subscriptions/{subscriptionID}
Description
Gets an existing subscription.
Requires Permission: [View Protection Plans, Manage Protection Plans, Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
sloID |
The unique ID for the SLO definition. |
string |
Path |
subscriptionID |
A unique ID for the subscription. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully retrieved the subscription. |
|
401 |
The |
|
404 |
The subscription was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
DELETE /slos/{sloID}/subscriptions/{subscriptionID}
Description
Deletes the subscription.
Requires Permission: [View Protection Plans, Manage Protection Plans, Manage Assets, Manage Appservers and Asset Groups]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
sloID |
The unique ID for the SLO definition. |
string |
Path |
subscriptionID |
A unique ID for the subscription. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
Successfully removed the specified subscription. |
No Content |
401 |
The |
|
404 |
The specified subscription was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Definitions
allLinks
Name | Schema |
---|---|
first |
|
last |
|
next |
|
prev |
|
self |
backupWindows
The window during which the backup is allowed to start. Each day of the week is defined independently.
Type : < backupWindows > array
backupWindows
Name | Description | Schema |
---|---|---|
dayOfWeek |
The day of the week the backup window starts. Possible values for DAY are 1 (Sunday) through 7 (Saturday). |
integer |
durationSeconds |
The duration of the backup window expressed in seconds. |
integer |
startSeconds |
The start time of the backup window, expressed in seconds elapsed since the beginning of the day. |
integer |
duplication
Name | Schema |
---|---|
retention |
|
storageUnit |
string |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
frequency
Name | Schema |
---|---|
unit |
enum (HOURS, DAYS, WEEKS, MONTHS, YEARS) |
value |
integer |
linkObject
Name | Schema |
---|---|
href |
string |
paginationAttributes
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
page |
integer |
pages |
integer |
prev |
integer |
patchSchedule
Name | Schema |
---|---|
backupStorageUnit |
string |
duplication |
|
replication |
duplication
Name | Schema |
---|---|
storageUnit |
string |
replication
Name | Schema |
---|---|
replicationTarget |
patchSloAttributes
Name | Schema |
---|---|
description |
string |
name |
string |
schedules |
< patchSchedule > array |
patchSloRequest
Name | Schema |
---|---|
data |
patchSloRequestData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
A unique identifier for SLO definition, such as GUID. |
string |
type |
Specify 'slo' as the SLO type. |
enum (slo) |
postSloAttributes
Name | Description | Schema |
---|---|---|
description |
string |
|
isSnapshotStorageOnly |
Indicates whether the SLO uses snapshot storage only. |
boolean |
name |
string |
|
schedules |
< schedule > array |
postSloRequest
Name | Schema |
---|---|
data |
postSloRequestData
Name | Description | Schema |
---|---|---|
attributes |
||
type |
Specify 'slo' as the SLO type. |
enum (slo) |
postSubscriptionRequest
Name | Schema |
---|---|
data |
postSubscriptionRequestData
Name | Description | Schema |
---|---|---|
attributes |
||
type |
Specify 'subscription' as the subscription type. |
enum (subscription) |
putSloRequest
Name | Schema |
---|---|
data |
putSloRequestData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
A unique identifier for SLO definition, such as GUID. |
string |
type |
Specify 'slo' as the SLO type. |
enum (slo) |
replication
Name | Schema |
---|---|
replicationTarget |
|
retention |
replicationTarget
Name | Schema |
---|---|
targetMasterServer |
string |
targetSlp |
string |
resourceIdentifierObject
A resource identifier object representing an individual resource.
Name | Schema |
---|---|
id |
string |
type |
string |
retention
Name | Schema |
---|---|
unit |
enum (HOURS, DAYS, WEEKS, MONTHS, YEARS) |
value |
integer |
schedule
Name | Schema |
---|---|
backupStorageUnit |
string |
backupWindows |
|
duplication |
|
frequency |
|
replication |
|
retention |
sloAttributes
Name | Description | Schema |
---|---|---|
capabilities |
< string > array |
|
description |
string |
|
isSnapshotStorageOnly |
Indicates whether the SLO uses snapshot storage only. |
boolean |
name |
string |
|
schedules |
< schedule > array |
|
subscriptionCount |
Number of subscriptions associated with SLO. |
integer |
sloResponse
Name | Schema |
---|---|
data |
sloResponseArray
Name | Schema |
---|---|
data |
< sloResponseData > array |
sloResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
A unique identifier for SLO definition, such as GUID. |
string |
links |
||
type |
Specify 'slo' as the SLO type. |
enum (slo) |
links
Name | Schema |
---|---|
self |
subscriptionAttributes
Name | Description | Schema |
---|---|---|
selectionId |
The asset ID or asset group ID. |
string |
selectionType |
The asset selection type. |
enum (ASSET, ASSETGROUP) |
subscriptionRelationships
Name | Description | Schema |
---|---|---|
slo |
SLO associated with this subscription. |
slo
Name | Schema |
---|---|
data |
|
links |
links
Name | Schema |
---|---|
related |
subscriptionResponse
Name | Schema |
---|---|
data |
|
included |
< sloResponseData > array |
subscriptionResponseArray
Name | Schema |
---|---|
data |
< subscriptionResponseData > array |
included |
< sloResponseData > array |
links |
|
meta |
meta
Name | Schema |
---|---|
pagination |
subscriptionResponseData
Name | Description | Schema |
---|---|---|
attributes |
||
id |
A unique ID for the subscription. |
string |
links |
||
relationships |
||
type |
Subscription type as 'subscription'. |
enum (subscription) |
links
Name | Schema |
---|---|
self |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Storage API
Overview
The NetBackup Storage API provides access to the backup storage of the NetBackup master servers.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /storage/backup-sizes
Description
Returns the total backup size information based on the specified filters. All the filters are based on OData standards and filtering on the following attributes is supported.
Name | Supported Operators | Description | Schema |
---|---|---|---|
clientName |
eq |
The client name. |
string |
masterServerName |
eq |
The master server name. |
string |
Requires Permission: [View Usage Data]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
The filter criteria in OData format. |
string |
|
Query |
page[limit] |
The number of backup size records on one page. |
integer |
|
Query |
page[offset] |
The backup size record number offset. |
integer |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the total backup size information. |
|
401 |
The |
|
404 |
The client name was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /storage/storage-units
Description
Returns the list of attributes for all storage units.
Requires Permission: [Manage SLPs]
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the list of attributes for all storage units. |
|
401 |
The |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /storage/storage-units/{storageUnitName}
Description
Returns the definition of the storage unit.
Requires Permission: [Manage SLPs]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
storageUnitName |
The name of the storage unit. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned the details of the storage unit. |
|
400 |
Bad Request. |
|
401 |
The |
|
404 |
A storage unit with the specified name was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
Unknown |
GET /storage/storage-units/{storageUnitName}/replication-relationships
Description
Fetches the list of storage lifecycle policies (SLPs) of type "import" from the target master servers. All the filters are based on OData standards and filtering on the following attributes is supported.
Name |
Supported Operators |
Description |
Schema |
targetMaster |
eq |
The target master from which to fetch the import storage lifecycle policies (SLPs). |
string |
dataClassification |
eq |
The data classification type. For example, Platinum, Gold, or Silver. |
string |
Returns an empty list of storage lifecycle policies of type "import" for the storage units that are not capable of replication.
Requires Permission: [Manage SLPs]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
storageUnitName |
The name of the storage unit. |
string |
Query |
filter |
Specifies the filters according to OData standards. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully fetched the list of import storage lifecycle policies (SLPs) from the target master server. |
|
400 |
Bad request. |
|
401 |
Authentication failed. |
|
404 |
The specified storage unit was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Definitions
backupSize
Name | Schema |
---|---|
attributes |
|
type |
enum (BackupSize) |
backupSizeAttributes
Name | Schema |
---|---|
clientBackupSizeDetails |
< clientBackupSizeDetails > array |
createDateTime |
string (date-time) |
masterServerName |
string |
clientBackupSizeDetails
Name | Description | Schema |
---|---|---|
clientName |
The name of the client. |
string |
policyName |
The name of the policy. |
string |
policyType |
The type of the policy. |
string |
storageType |
The type of the storage unit. |
string |
storageUnitName |
The name of the storage unit. |
string |
totalBackupSizeMB |
The total backup size, in MB. |
number (double) |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getImportSLPResponse
Name | Schema |
---|---|
data |
< data > array |
links |
data
Name | Schema |
---|---|
attributes |
|
id |
string |
type |
enum (importSLPData) |
attributes
Name | Schema |
---|---|
dataClassification |
string |
slpName |
string |
targetMasterServer |
string |
links
Name | Schema |
---|---|
self |
self
Name | Schema |
---|---|
href |
string |
getStorageUnitsResponse
Name | Schema |
---|---|
data |
< storageUnitDefinition > array |
getbackupSizesResponse
Name | Schema |
---|---|
data |
< backupSize > array |
meta |
meta
Name | Schema |
---|---|
pagination |
pagination
Name | Schema |
---|---|
count |
integer |
first |
integer |
last |
integer |
limit |
integer |
next |
integer |
offset |
integer |
storageUnitDefinition
Name | Description | Schema |
---|---|---|
attributes |
||
id |
The name of the storage unit. |
string |
type |
Type of the object. |
enum (storage-unit) |
attributes
Name | Description | Schema |
---|---|---|
accelerator |
Indicates if the storage unit supports NetBackup Accelerator. |
boolean |
cloudAttributes |
Specifies the cloud-specific attributes for this storage unit. This object is returned only for cloud storage units. |
|
diskPoolCapabilities |
The capabilities of the disk pool associated with this storage unit. |
< string > array |
diskPoolState |
The state of the disk pool associated with this storage unit. |
enum (UP, DOWN) |
freeCapacityBytes |
The space that is available for the storage unit, in bytes. |
integer (int64) |
instantAccessEnabled |
Indicates if the storage unit supports instant access. |
boolean |
isCloudSTU |
Indicates if the storage unit is a cloud storage unit. |
boolean |
replicationCapable |
Indicates if the storage unit (used as a source, target, or both) supports replication. |
boolean |
replicationSourceCapable |
Indicates if the storage unit can be used as a source for replicating backup images. |
boolean |
replicationTargetCapable |
Indicates if the storage unit can be used as a target for replicating backup images. |
boolean |
scaleOutEnabled |
Indicates if the storage unit supports scale-out storage. |
boolean |
storageServerCapabilities |
The capabilities of the storage server associated with this storage unit. |
< string > array |
storageServerName |
The name of the storage server associated with this storage unit. |
string |
storageServerState |
The state of the storage server associated with this storage unit. |
enum (UP, DOWN) |
storageServerType |
The type of the storage server associated with this storage unit. |
string |
storageSubType |
The subtype of storage unit. |
enum (Basic, DiskPool) |
storageType |
The type of storage unit. |
enum (Disk, Tape, NDMP) |
totalCapacityBytes |
The total capacity of the storage unit, in bytes. |
integer (int64) |
usedCapacityBytes |
The space in the storage unit that is used, in bytes. |
integer (int64) |
cloudAttributes
Name | Description | Schema |
---|---|---|
catalyst |
Indicates if the storage unit supports NetBackup CloudCatalyst. |
boolean |
cloudProvider |
The name of the cloud vendor. |
string |
compressed |
Indicates if the storage unit is configured to compress data before sending to the cloud storage. |
boolean |
encrypted |
Indicates if the storage unit is configured to encrypt data before sending to the cloud storage. |
boolean |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Licensing API
Overview
The NetBackup Capacity Licensing Data Usage API obtains the details of the front-end data usage of the NetBackup master servers and clients.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /licensing/capacity
Description
Returns the front-end data usage details of a single or multiple NetBackup master servers, based on specified filters. If no filters are specified, details are returned for the last 10 NetBackup master servers queried. All the filters are based on OData standards and filtering is supported using the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
masterServer |
eq |
The name of the NetBackup master server. |
string |
Requires Permission: [View Usage Data]
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
filter |
The filter criteria in OData format. |
string |
|
Query |
page[limit] |
The number of results on one page. |
integer |
|
Query |
page[offset] |
The record number offset. |
integer |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
success response. |
|
401 |
The |
|
404 |
Entity not found. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
GET /licensing/capacity/client-details
Description
Returns the front-end data usage details of a specified NetBackup master server and client. If no filters are specified, details are returned for the last 10 NetBackup master servers queried. All the filters are based on OData standards and filtering is supported using the following attributes:
Name | Supported Operators | Description | Schema |
---|---|---|---|
masterServer |
eq |
Specifies the NetBackup master server name. |
string |
clientName |
eq |
Specifies the NetBackup client name. This is a required input parameter. |
string |
Requires Permission: [View Usage Data]
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
filter |
The filter criteria in OData format. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
success response. |
|
401 |
The |
|
404 |
Entity not found. |
|
415 |
Unsupported Media Type. The media type specified in the |
|
500 |
An unexpected system error occurred. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Definitions
clientDetailsResponse
Type : < clientDetailsResponse > array
clientDetailsResponse
Name | Schema |
---|---|
clientConsumptionMB |
number (double) |
clientName |
string |
policyDetails |
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
masterDetailsConsolidation
Name | Schema |
---|---|
consolidatedMasterConsumptionMB |
number (double) |
mastersCount |
number |
masterDetailsResponse
Type : < masterDetailsResponse > array
masterDetailsResponse
Name | Schema |
---|---|
attributes |
|
id |
string |
type |
string |
attributes
Name | Schema |
---|---|
clientDetails |
|
masterConsumptionMB |
number (double) |
masterResponse
Name | Schema |
---|---|
data |
|
meta |
meta
Name | Schema |
---|---|
pagination |
paginationValues
Name | Schema |
---|---|
count |
integer (int64) |
first |
integer (int64) |
last |
integer (int64) |
limit |
integer (int64) |
next |
integer (int64) |
offset |
integer (int64) |
prev |
integer (int64) |
policyDetailsResponse
Type : < policyDetailsResponse > array
policyDetailsResponse
Name | Schema |
---|---|
backupId |
string |
masterServer |
string |
policyConsumptionMB |
number (double) |
policyName |
string |
policyType |
string |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER
NetBackup Troubleshooting API
Overview
The NetBackup Troubleshooting API provides information about the NetBackup status codes.
Version information
Version : 2.0
URI scheme
Host : <masterserver>:1556
BasePath : /netbackup
Schemes : HTTPS
Paths
GET /status-codes/{statusCode}
Description
Provides information about the specified NetBackup status code.
Requires Permission: []
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
statusCode |
The NetBackup status code. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfully returned information about the specified NetBackup status code. |
|
400 |
The specified NetBackup status code is invalid. |
|
401 |
The |
|
404 |
The NetBackup status code was not found. |
Produces
-
application/vnd.netbackup+json;version=2.0
Security
Type | Name |
---|---|
apiKey |
Example HTTP response
Response 200
{
"data" : {
"type" : "statusCode",
"id" : 156,
"attributes" : {
"statusMessage" : "snapshot error encountered"
}
}
}
Definitions
errorResponse
Name | Description | Schema |
---|---|---|
details |
A map containing error field and error field message to provide more context to nature of the error. |
object |
errorCode |
The NetBackup error code. |
integer (int64) |
errorMessage |
The NetBackup error code description. |
string |
getStatusCodeResponse
The status code information.
Name | Description | Schema |
---|---|---|
data |
Contains the status code information. |
data
Name | Description | Schema |
---|---|---|
attributes |
The status code information. |
|
id |
The status code identifier. |
string |
type |
The resource type. |
string |
attributes
Name | Description | Schema |
---|---|---|
statusMessage |
The message corresponding to the specified NetBackup status code. |
string |
Security
rbacSecurity
Type : apiKey
Name : Authorization
In : HEADER