Restore a DB2 Database
Select
SaaS
Customer Managed
This operation is used to Restore a DB2 Backupset
- application/json
Request Body
taskInfo object required
Responses
- 200
- 400
- 401
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 72815,
"jobIds": [
"3598986"
]
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid.
Unauthorized
Forbidden
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Security check failed. Invalid SubTask Type.",
"errorCode": 587204044
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to create task.",
"errorCode": 587204001
}
POST /createtask
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": "string",
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 37,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
}
],
"task": {
"taskType": 0,
"initiatedFrom": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 0,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"mediaOption": {
"mediaAgent": {
"mediaAgentId": 0
}
}
},
"destination": {
"destClient": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
},
"destinationInstance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"instanceGUID": "string",
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0,
"selected": true
},
"destPath": [
"string"
]
},
"oracleOpt": {},
"fileOption": {
"sourceItem": [
"string"
]
},
"impersonation": {
"impersonateUserName": "string",
"impersonatePassword": "string",
"impersonation": true
},
"commonOptions": {
"restoreToDisk": true,
"indexFreeRestore": true
},
"jobIds": [
0
],
"db2Option": {
"rollForward": true,
"rollForwardPending": true,
"rollForwardTime": {
"time": 0
},
"rollForwardToEnd": 1,
"useAlternateLogFile": true,
"alternateLogFile": "string",
"rollForwardDir": "string",
"restoreArchiveLogs": true,
"logTimeStart": true,
"logTimeEnd": true,
"archiveLogTime": true,
"logTimeRange": {
"fromTime": 0,
"toTime": 0
},
"useLogTarget": true,
"useLatestImage": true,
"redirect": true,
"restoreData": true,
"recoverDb": true,
"useSnapRestore": true,
"restoreIncremental": true,
"restoreType": 0,
"restoreOnline": true,
"targetDb": "string",
"targetPath": "string",
"storagePath": true,
"redirectAllTableSpacesSelected": true,
"redirectAllItemsSelected": true,
"redirectItemsPresent": true,
"redirectInfo": [
"string"
],
"redirectStorageGroups": true,
"storageGroupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
}
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true,
"impersonation": {
"level": 0,
"user": {
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": "string",
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 37,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
}
],
"task": {
"taskType": 0,
"initiatedFrom": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 0,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"mediaOption": {
"mediaAgent": {
"mediaAgentId": 0
}
}
},
"destination": {
"destClient": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
},
"destinationInstance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"instanceGUID": "string",
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0,
"selected": true
},
"destPath": [
"string"
]
},
"oracleOpt": {},
"fileOption": {
"sourceItem": [
"string"
]
},
"impersonation": {
"impersonateUserName": "string",
"impersonatePassword": "string",
"impersonation": true
},
"commonOptions": {
"restoreToDisk": true,
"indexFreeRestore": true
},
"jobIds": [
0
],
"db2Option": {
"rollForward": true,
"rollForwardPending": true,
"rollForwardTime": {
"time": 0
},
"rollForwardToEnd": 1,
"useAlternateLogFile": true,
"alternateLogFile": "string",
"rollForwardDir": "string",
"restoreArchiveLogs": true,
"logTimeStart": true,
"logTimeEnd": true,
"archiveLogTime": true,
"logTimeRange": {
"fromTime": 0,
"toTime": 0
},
"useLogTarget": true,
"useLatestImage": true,
"redirect": true,
"restoreData": true,
"recoverDb": true,
"useSnapRestore": true,
"restoreIncremental": true,
"restoreType": 0,
"restoreOnline": true,
"targetDb": "string",
"targetPath": "string",
"storagePath": true,
"redirectAllTableSpacesSelected": true,
"redirectAllItemsSelected": true,
"redirectItemsPresent": true,
"redirectInfo": [
"string"
],
"redirectStorageGroups": true,
"storageGroupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
}
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true,
"impersonation": {
"level": 0,
"user": {
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": "string",
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 37,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
}
],
"task": {
"taskType": 0,
"initiatedFrom": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 0,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"mediaOption": {
"mediaAgent": {
"mediaAgentId": 0
}
}
},
"destination": {
"destClient": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
},
"destinationInstance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"instanceGUID": "string",
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0,
"selected": true
},
"destPath": [
"string"
]
},
"oracleOpt": {},
"fileOption": {
"sourceItem": [
"string"
]
},
"impersonation": {
"impersonateUserName": "string",
"impersonatePassword": "string",
"impersonation": true
},
"commonOptions": {
"restoreToDisk": true,
"indexFreeRestore": true
},
"jobIds": [
0
],
"db2Option": {
"rollForward": true,
"rollForwardPending": true,
"rollForwardTime": {
"time": 0
},
"rollForwardToEnd": 1,
"useAlternateLogFile": true,
"alternateLogFile": "string",
"rollForwardDir": "string",
"restoreArchiveLogs": true,
"logTimeStart": true,
"logTimeEnd": true,
"archiveLogTime": true,
"logTimeRange": {
"fromTime": 0,
"toTime": 0
},
"useLogTarget": true,
"useLatestImage": true,
"redirect": true,
"restoreData": true,
"recoverDb": true,
"useSnapRestore": true,
"restoreIncremental": true,
"restoreType": 0,
"restoreOnline": true,
"targetDb": "string",
"targetPath": "string",
"storagePath": true,
"redirectAllTableSpacesSelected": true,
"redirectAllItemsSelected": true,
"redirectItemsPresent": true,
"redirectInfo": [
"string"
],
"redirectStorageGroups": true,
"storageGroupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
}
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true,
"impersonation": {
"level": 0,
"user": {
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": "string",
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 37,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
}
],
"task": {
"taskType": 0,
"initiatedFrom": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 0,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"mediaOption": {
"mediaAgent": {
"mediaAgentId": 0
}
}
},
"destination": {
"destClient": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
},
"destinationInstance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"instanceGUID": "string",
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0,
"selected": true
},
"destPath": [
"string"
]
},
"oracleOpt": {},
"fileOption": {
"sourceItem": [
"string"
]
},
"impersonation": {
"impersonateUserName": "string",
"impersonatePassword": "string",
"impersonation": true
},
"commonOptions": {
"restoreToDisk": true,
"indexFreeRestore": true
},
"jobIds": [
0
],
"db2Option": {
"rollForward": true,
"rollForwardPending": true,
"rollForwardTime": {
"time": 0
},
"rollForwardToEnd": 1,
"useAlternateLogFile": true,
"alternateLogFile": "string",
"rollForwardDir": "string",
"restoreArchiveLogs": true,
"logTimeStart": true,
"logTimeEnd": true,
"archiveLogTime": true,
"logTimeRange": {
"fromTime": 0,
"toTime": 0
},
"useLogTarget": true,
"useLatestImage": true,
"redirect": true,
"restoreData": true,
"recoverDb": true,
"useSnapRestore": true,
"restoreIncremental": true,
"restoreType": 0,
"restoreOnline": true,
"targetDb": "string",
"targetPath": "string",
"storagePath": true,
"redirectAllTableSpacesSelected": true,
"redirectAllItemsSelected": true,
"redirectItemsPresent": true,
"redirectInfo": [
"string"
],
"redirectStorageGroups": true,
"storageGroupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
}
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true,
"impersonation": {
"level": 0,
"user": {
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": "string",
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 37,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
}
],
"task": {
"taskType": 0,
"initiatedFrom": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 0,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"mediaOption": {
"mediaAgent": {
"mediaAgentId": 0
}
}
},
"destination": {
"destClient": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
},
"destinationInstance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"instanceGUID": "string",
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0,
"selected": true
},
"destPath": [
"string"
]
},
"oracleOpt": {},
"fileOption": {
"sourceItem": [
"string"
]
},
"impersonation": {
"impersonateUserName": "string",
"impersonatePassword": "string",
"impersonation": true
},
"commonOptions": {
"restoreToDisk": true,
"indexFreeRestore": true
},
"jobIds": [
0
],
"db2Option": {
"rollForward": true,
"rollForwardPending": true,
"rollForwardTime": {
"time": 0
},
"rollForwardToEnd": 1,
"useAlternateLogFile": true,
"alternateLogFile": "string",
"rollForwardDir": "string",
"restoreArchiveLogs": true,
"logTimeStart": true,
"logTimeEnd": true,
"archiveLogTime": true,
"logTimeRange": {
"fromTime": 0,
"toTime": 0
},
"useLogTarget": true,
"useLatestImage": true,
"redirect": true,
"restoreData": true,
"recoverDb": true,
"useSnapRestore": true,
"restoreIncremental": true,
"restoreType": 0,
"restoreOnline": true,
"targetDb": "string",
"targetPath": "string",
"storagePath": true,
"redirectAllTableSpacesSelected": true,
"redirectAllItemsSelected": true,
"redirectItemsPresent": true,
"redirectInfo": [
"string"
],
"redirectStorageGroups": true,
"storageGroupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
}
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true,
"impersonation": {
"level": 0,
"user": {
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": "string",
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 37,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
}
],
"task": {
"taskType": 0,
"initiatedFrom": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 0,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"mediaOption": {
"mediaAgent": {
"mediaAgentId": 0
}
}
},
"destination": {
"destClient": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
},
"destinationInstance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"instanceGUID": "string",
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0,
"selected": true
},
"destPath": [
"string"
]
},
"oracleOpt": {},
"fileOption": {
"sourceItem": [
"string"
]
},
"impersonation": {
"impersonateUserName": "string",
"impersonatePassword": "string",
"impersonation": true
},
"commonOptions": {
"restoreToDisk": true,
"indexFreeRestore": true
},
"jobIds": [
0
],
"db2Option": {
"rollForward": true,
"rollForwardPending": true,
"rollForwardTime": {
"time": 0
},
"rollForwardToEnd": 1,
"useAlternateLogFile": true,
"alternateLogFile": "string",
"rollForwardDir": "string",
"restoreArchiveLogs": true,
"logTimeStart": true,
"logTimeEnd": true,
"archiveLogTime": true,
"logTimeRange": {
"fromTime": 0,
"toTime": 0
},
"useLogTarget": true,
"useLatestImage": true,
"redirect": true,
"restoreData": true,
"recoverDb": true,
"useSnapRestore": true,
"restoreIncremental": true,
"restoreType": 0,
"restoreOnline": true,
"targetDb": "string",
"targetPath": "string",
"storagePath": true,
"redirectAllTableSpacesSelected": true,
"redirectAllItemsSelected": true,
"redirectItemsPresent": true,
"redirectInfo": [
"string"
],
"redirectStorageGroups": true,
"storageGroupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
}
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true,
"impersonation": {
"level": 0,
"user": {
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
}
}
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/createtask' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"taskInfo": {
"associations": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": "string",
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 37,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
}
],
"task": {
"taskType": 0,
"initiatedFrom": 0
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 0,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"mediaOption": {
"mediaAgent": {
"mediaAgentId": 0
}
}
},
"destination": {
"destClient": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0
},
"destinationInstance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"instanceGUID": "string",
"backupsetGUID": "string",
"clientId": 0,
"appName": "string",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string",
"commCellId": 0,
"selected": true
},
"destPath": [
"string"
]
},
"oracleOpt": {},
"fileOption": {
"sourceItem": [
"string"
]
},
"impersonation": {
"impersonateUserName": "string",
"impersonatePassword": "string",
"impersonation": true
},
"commonOptions": {
"restoreToDisk": true,
"indexFreeRestore": true
},
"jobIds": [
0
],
"db2Option": {
"rollForward": true,
"rollForwardPending": true,
"rollForwardTime": {
"time": 0
},
"rollForwardToEnd": 1,
"useAlternateLogFile": true,
"alternateLogFile": "string",
"rollForwardDir": "string",
"restoreArchiveLogs": true,
"logTimeStart": true,
"logTimeEnd": true,
"archiveLogTime": true,
"logTimeRange": {
"fromTime": 0,
"toTime": 0
},
"useLogTarget": true,
"useLatestImage": true,
"redirect": true,
"restoreData": true,
"recoverDb": true,
"useSnapRestore": true,
"restoreIncremental": true,
"restoreType": 0,
"restoreOnline": true,
"targetDb": "string",
"targetPath": "string",
"storagePath": true,
"redirectAllTableSpacesSelected": true,
"redirectAllItemsSelected": true,
"redirectItemsPresent": true,
"redirectInfo": [
"string"
],
"redirectStorageGroups": true,
"storageGroupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
}
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true,
"impersonation": {
"level": 0,
"user": {
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
}
}
}
}
}
]
}
}'