Add DB2 MultiNode Backupset
This operation is used to add a DB2 MultiNode Backupset
- application/json
Request Body
backupSetInfo object required
backupSetEntity object required
clientName stringName of the DB2 MultiNode pseudo client
instanceName stringName of the DB2 MultiNode instance
displayName stringDisplay name of DB2 Multinode pseudo client
instanceId integer requiredID of the DB2 MultiNode instance
instanceGUID stringclientId integer requiredId of the DB2 MultiNode pseudo client
appName stringDB2 MultiNode
applicationId integer requiredPossible values: [
103
]103 for DB2 MultiNode
entityInfo object
companyId integercompanyName stringmultiCommcellId integerbackupsetName string requiredName of the Backupset to add
db2BackupSet object required
dB2DefaultIndexSP object required
storagePolicyId integer requiredpass 1 to assign same plan or pass storage policy id that should be associated for log backups
dB2DefaultCommandSP object
storagePolicyId integerpass 1 to assign same plan or pass storage policy id that should be associated
commonBackupSet object
isDefaultBackupSet booleanplanEntity object
Pass this object to associate a plan to Backupset
planId integer requiredID of the Plan
planName stringName of the plan
Responses
- 200
- 400
- 401
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object[]
errorCode integerentity object
clientId integerID of the DB2 MultiNode Pseudo Client
applicationId integerbackupsetId integerID of the Backupset created
_type_ integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 0,
"applicationId": 0,
"backupsetId": 0,
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 1483,
"applicationId": 103,
"backupsetId": 8937,
"_type_": 0
}
}
]
}
Bad Request
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Conflict
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
entity object
clientId integerapplicationId integerbackupsetId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"clientId": 0,
"applicationId": 0,
"backupsetId": 0,
"_type_": 0
}
}
{
"errorMessage": "A backup set by this name already exists.",
"errorCode": 3,
"entity": {
"clientId": 1489,
"applicationId": 103,
"backupsetId": 9013,
"_type_": 0
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
entity object
clientId integerapplicationId integerbackupsetId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"clientId": 0,
"applicationId": 0,
"backupsetId": 0,
"_type_": 0
}
}
{
"errorMessage": "Please provide DB2 Log Backup Storage Policy.",
"errorCode": 1,
"entity": {
"clientId": 1489,
"applicationId": 103,
"backupsetId": 9018,
"_type_": 0
}
}
Loading...