Update DB2 SubClient Properties
Select
This operation is used to update properties of a DB2 Subclient.
Path Parameters
- SubClientID integer required
ID of the DB2 subclient
- application/json
Request Body
subClientProperties object
commonProperties object
snapCopyInfo object
isSnapBackupEnabled booleanTrue if snap backup needs to be enabled
snapToTapeSelectedEngine object
pass this object to select snap vendor
snapShotEngineId integerID of the snapshot vendor
snapShotEngineName stringName of the snapshot vendor
snapToTapeProxyToUse object
Pass this object if you want to set a proxy for snap backup
clientId integerId of client which should act as proxy
clientName stringName of client that should act as proxy
useSeparateProxyForSnapToTape booleanTrue if a proxy should be used for snap backup copy
backupCopyInterface stringseparateProxyForSnapToTape object
pass this object of seperate proxy to be used for backup copy
clientId integerID of the client
clientName stringName of the client
useDB2ACSInterface booleanTrue if DB2 ACS needs to be enabled
subClientEntity object
clientName stringinstanceName stringdisplayName stringbackupsetId integer_type_ integercommCellName stringinstanceId integercsGUID stringsubclientGUID stringsubclientId integerclientId integerappName stringbackupsetName stringapplicationId integersubclientName stringentityInfo object
companyId integercompanyName stringmultiCommcellId integerprepostProcess object
runPostScan integerrunPostBackup integerrunAs integerPossible values: [
1
,2
]1 if the same user using which subclient is configured , 2 if user creds are being passed to run pre and post backup commands
prepostUserName object
Pass this object if pre post scripts need to be run using a specific user
userName stringUsername of user using which pre and post process scripts should run
password stringPassword in base64 encoded format
preBackupCommand stringPre backup command to run before any backup
postBackupCommand stringpost backup command to run after any backup
preScanCommand stringpostScanCommand stringprepostCredentialinfo objectcontentOperationType integerdb2SubclientProp object required
Update subclient properties using the parameters below
db2BackupData booleanTrue if subclient should backup data
db2BackupMode integer1 for offline database , 0 for online database
db2BackupLogFiles booleanTrue if subclient should backup archived logs
db2DeleteLogFilesAfter booleanTrue to delete log files post log backup from archived location
skipLogsInBackupImage integerPossible values: [
0
,1
]1 if you want to include logs in backup image , 0 if you want to exclude logs from backup image
db2UseDedupeDevice booleannumberOfBackupStreams integerNo.of streams the subclient should use for data backup
db2BackupType integer1 if subclient is using online subset
planEntity object
pass this parameters if you want to update plan of a subclient
planName stringName of the plan
planId integerID of the plan
content object[]
pass if you want to edit content of subclient (tablespaces)
db2Content object
db2TableSpace stringtablespace name
association object
entity object[]
pass this object to update general properties of subclient
clientName stringName of the client
instanceName stringName of the DB2 instance
displayName stringDisplay name of client in commcell
backupsetId integerID of the backupset
_type_ integercommCellName stringinstanceId integerID of the instance
subclientId integerID of the subclient
clientId integerID of the client
appName stringDB2
backupsetName stringName of the backupset (DB2 database)
applicationId integerPossible values: [
37
,62
]application ID for DB2 Unix is 62 and application ID for DB2 windows is 37
subclientName stringName of the subclient
entityInfo object
companyId integercompanyName stringmultiCommcellId integer
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object[]
warningCode integererrorCode integerwarningMessage string
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string"
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": ""
}
]
}
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
}