Skip to main content

Update DB2 MultiNode Subclient

This operation is used to update the properties of a DB2 MultiNode's Backupset Subclient

Path Parameters
  • SubclientID integer required

    ID of the subclient

Request Body
  • subClientProperties object
  • planEntity object

    pass this parameters if you want to update plan of a subclient

  • planName string

    Name of the plan

  • planId integer

    ID of the plan

  • commonProperties object
  • snapCopyInfo object
  • isSnapBackupEnabled boolean

    True if snap backup needs to be enabled

  • snapToTapeSelectedEngine object

    pass this object to select snap vendor

  • snapShotEngineId integer

    ID of the snapshot vendor

  • snapShotEngineName string

    Name of the snapshot vendor

  • snapToTapeProxyToUseSource boolean

    Use source if access node is unreachable

  • snapToTapeProxyToUse object

    Pass this object if you want to set a proxy for snap backup

  • clientId integer

    Id of client which should act as proxy

  • clientName string

    Name of client that should act as proxy

  • useSeparateProxyForSnapToTape boolean

    True if a proxy should be used for snap backup copy

  • backupCopyInterface string
  • separateProxyForSnapToTape object

    pass this object of seperate proxy to be used for backup copy

  • clientId integer

    ID of the client

  • clientName string

    Name of the client

  • subClientEntity object
  • clientName string
  • instanceName string
  • displayName string
  • backupsetId integer
  • _type_ integer
  • commCellName string
  • instanceId integer
  • csGUID string
  • subclientGUID string
  • subclientId integer
  • clientId integer
  • appName string
  • backupsetName string
  • applicationId integer
  • subclientName string
  • entityInfo object
  • companyId integer
  • companyName string
  • multiCommcellId integer
  • prepostProcess object

    pass this object to use pre and post process commands

  • preBackupCommand string

    path for pre process command

  • postBackupCommand string

    path for post process command

  • oracleSubclientProp object
  • selectiveOnlineFull boolean
  • backupControlFile boolean
  • backupSPFile boolean
  • useRmanForLogBackup boolean
  • contentOperationType integer
  • db2SubclientProp object required

    Update subclient properties using the parameters below

  • db2BackupData boolean

    True if subclient should backup data

  • db2BackupMode integer

    1 for offline database , 0 for online database

  • db2BackupLogFiles boolean

    True if subclient should backup archived logs

  • db2DeleteLogFilesAfter boolean

    True to delete log files post log backup from archived location

  • skipLogsInBackupImage integer

    True if you want to exclude logs in backup image

  • db2UseDedupeDevice boolean
  • numberOfBackupStreams integer

    No.of streams the subclient should use for data backup

  • db2DpfStreams string

    streams to be used by each node in DB2 MultiNode setup

  • db2BackupType integer

    1 if subclient is using online subset

  • content object[]

    pass this object if you want to edit content of subclient

  • db2Content object
  • db2TableSpace string

    tablespace name

  • association object
  • entity object[]

    pass this object to update general properties of subclient

  • clientName string

    Name of the client

  • instanceName string

    Name of the DB2 instance

  • displayName string

    Display name of client in commcell

  • backupsetId integer

    ID of the backupset

  • _type_ integer
  • commCellName string
  • instanceId integer

    ID of the instance

  • csGUID string
  • subclientGUID string
  • subclientId integer

    ID of the subclient

  • clientId integer

    ID of the client

  • appName string

    DB2 MultiNode

  • backupsetName string

    Name of the backupset (DB2 database)

  • applicationId integer

    Possible values: [103]

    103 for DB2 MultiNode

  • subclientName string

    Name of the subclient

  • entityInfo object
  • companyId integer
  • companyName string
  • multiCommcellId integer
Responses

OK

POST /subclient/:subclientid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
SubclientID — path required
Body

{
"subClientProperties": {
"planEntity": {
"planName": "string",
"planId": 0
},
"commonProperties": {
"snapCopyInfo": {
"isSnapBackupEnabled": true,
"snapToTapeSelectedEngine": {
"snapShotEngineId": 0,
"snapShotEngineName": "string"
},
"snapToTapeProxyToUseSource": true,
"snapToTapeProxyToUse": {
"clientId": 0,
"clientName": "string"
},
"useSeparateProxyForSnapToTape": true,
"backupCopyInterface": "string",
"separateProxyForSnapToTape": {
"clientId": 0,
"clientName": "string"
}
},
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"commCellName": "string",
"instanceId": 0,
"csGUID": "string",
"subclientGUID": "string",
"subclientId": 0,
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"prepostProcess": {
"preBackupCommand": "string",
"postBackupCommand": "string"
}
},
"oracleSubclientProp": {
"selectiveOnlineFull": true,
"backupControlFile": true,
"backupSPFile": true,
"useRmanForLogBackup": true
},
"contentOperationType": 0,
"db2SubclientProp": {
"db2BackupData": true,
"db2BackupMode": 0,
"db2BackupLogFiles": true,
"db2DeleteLogFilesAfter": true,
"skipLogsInBackupImage": 0,
"db2UseDedupeDevice": true,
"numberOfBackupStreams": 0,
"db2DpfStreams": "string",
"db2BackupType": 0
},
"content": [
{
"db2Content": {
"db2TableSpace": "string"
}
}
]
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"commCellName": "string",
"instanceId": 0,
"csGUID": "string",
"subclientGUID": "string",
"subclientId": 0,
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 103,
"subclientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
]
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:SubclientID' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"planEntity": {
"planName": "string",
"planId": 0
},
"commonProperties": {
"snapCopyInfo": {
"isSnapBackupEnabled": true,
"snapToTapeSelectedEngine": {
"snapShotEngineId": 0,
"snapShotEngineName": "string"
},
"snapToTapeProxyToUseSource": true,
"snapToTapeProxyToUse": {
"clientId": 0,
"clientName": "string"
},
"useSeparateProxyForSnapToTape": true,
"backupCopyInterface": "string",
"separateProxyForSnapToTape": {
"clientId": 0,
"clientName": "string"
}
},
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"commCellName": "string",
"instanceId": 0,
"csGUID": "string",
"subclientGUID": "string",
"subclientId": 0,
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"subclientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"prepostProcess": {
"preBackupCommand": "string",
"postBackupCommand": "string"
}
},
"oracleSubclientProp": {
"selectiveOnlineFull": true,
"backupControlFile": true,
"backupSPFile": true,
"useRmanForLogBackup": true
},
"contentOperationType": 0,
"db2SubclientProp": {
"db2BackupData": true,
"db2BackupMode": 0,
"db2BackupLogFiles": true,
"db2DeleteLogFilesAfter": true,
"skipLogsInBackupImage": 0,
"db2UseDedupeDevice": true,
"numberOfBackupStreams": 0,
"db2DpfStreams": "string",
"db2BackupType": 0
},
"content": [
{
"db2Content": {
"db2TableSpace": "string"
}
}
]
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"commCellName": "string",
"instanceId": 0,
"csGUID": "string",
"subclientGUID": "string",
"subclientId": 0,
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 103,
"subclientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
]
}
}'