Restore Subclient
Perform the restore of a file server subclient.
- application/json
Request Body
taskInfo object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
Restore Job Id
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 1124,
"jobIds": [
"124114"
]
}
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": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string",
"subclientId": 0,
"subclientGUID": "string",
"subclientName": "string",
"applicationId": 0,
"appName": "string",
"backupsetId": 0,
"backupsetName": "string",
"instanceId": 0,
"instanceName": "string",
"csGUID": "string",
"commCellName": "string",
"_type_": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string"
}
}
],
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"restoreACLsType": "ACL_DATA",
"impersonation": {
"useImpersonation": false,
"user": {
"userName": "string",
"password": "string"
}
},
"virtualServerRstOption": {
"isVolumeBrowse": false
},
"volumeRstOption": {
"volumeLeveRestore": false
},
"browseOption": {
"browseJobCommCellId": 2,
"noImage": false,
"commCellId": 2,
"backupset": {
"backupsetId": 0,
"backupsetName": "string",
"clientId": 0,
"clientName": "string"
}
},
"commonOptions": {
"isFromBrowseBackup": true,
"preserveLevel": 1,
"stripLevelType": 0,
"overwriteFiles": true,
"unconditionalOverwrite": true
},
"destination": {
"destAppId": 0,
"inPlace": true,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"destPath": [
"string"
],
"applicationId": 29,
"clientName": "string",
"clientId": 0
},
"noOfStreams": 0
},
"fileOption": {
"sourceItem": [
"string"
],
"fsCloneOptions": {
"cloneMountPath": "string"
}
},
"qrOption": {
"destAppTypeId": 29
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
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": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string",
"subclientId": 0,
"subclientGUID": "string",
"subclientName": "string",
"applicationId": 0,
"appName": "string",
"backupsetId": 0,
"backupsetName": "string",
"instanceId": 0,
"instanceName": "string",
"csGUID": "string",
"commCellName": "string",
"_type_": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string"
}
}
],
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"restoreACLsType": "ACL_DATA",
"impersonation": {
"useImpersonation": false,
"user": {
"userName": "string",
"password": "string"
}
},
"virtualServerRstOption": {
"isVolumeBrowse": false
},
"volumeRstOption": {
"volumeLeveRestore": false
},
"browseOption": {
"browseJobCommCellId": 2,
"noImage": false,
"commCellId": 2,
"backupset": {
"backupsetId": 0,
"backupsetName": "string",
"clientId": 0,
"clientName": "string"
}
},
"commonOptions": {
"isFromBrowseBackup": true,
"preserveLevel": 1,
"stripLevelType": 0,
"overwriteFiles": true,
"unconditionalOverwrite": true
},
"destination": {
"destAppId": 0,
"inPlace": true,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"destPath": [
"string"
],
"applicationId": 29,
"clientName": "string",
"clientId": 0
},
"noOfStreams": 0
},
"fileOption": {
"sourceItem": [
"string"
],
"fsCloneOptions": {
"cloneMountPath": "string"
}
},
"qrOption": {
"destAppTypeId": 29
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
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": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string",
"subclientId": 0,
"subclientGUID": "string",
"subclientName": "string",
"applicationId": 0,
"appName": "string",
"backupsetId": 0,
"backupsetName": "string",
"instanceId": 0,
"instanceName": "string",
"csGUID": "string",
"commCellName": "string",
"_type_": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string"
}
}
],
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"restoreACLsType": "ACL_DATA",
"impersonation": {
"useImpersonation": false,
"user": {
"userName": "string",
"password": "string"
}
},
"virtualServerRstOption": {
"isVolumeBrowse": false
},
"volumeRstOption": {
"volumeLeveRestore": false
},
"browseOption": {
"browseJobCommCellId": 2,
"noImage": false,
"commCellId": 2,
"backupset": {
"backupsetId": 0,
"backupsetName": "string",
"clientId": 0,
"clientName": "string"
}
},
"commonOptions": {
"isFromBrowseBackup": true,
"preserveLevel": 1,
"stripLevelType": 0,
"overwriteFiles": true,
"unconditionalOverwrite": true
},
"destination": {
"destAppId": 0,
"inPlace": true,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"destPath": [
"string"
],
"applicationId": 29,
"clientName": "string",
"clientId": 0
},
"noOfStreams": 0
},
"fileOption": {
"sourceItem": [
"string"
],
"fsCloneOptions": {
"cloneMountPath": "string"
}
},
"qrOption": {
"destAppTypeId": 29
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
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": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string",
"subclientId": 0,
"subclientGUID": "string",
"subclientName": "string",
"applicationId": 0,
"appName": "string",
"backupsetId": 0,
"backupsetName": "string",
"instanceId": 0,
"instanceName": "string",
"csGUID": "string",
"commCellName": "string",
"_type_": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string"
}
}
],
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"restoreACLsType": "ACL_DATA",
"impersonation": {
"useImpersonation": false,
"user": {
"userName": "string",
"password": "string"
}
},
"virtualServerRstOption": {
"isVolumeBrowse": false
},
"volumeRstOption": {
"volumeLeveRestore": false
},
"browseOption": {
"browseJobCommCellId": 2,
"noImage": false,
"commCellId": 2,
"backupset": {
"backupsetId": 0,
"backupsetName": "string",
"clientId": 0,
"clientName": "string"
}
},
"commonOptions": {
"isFromBrowseBackup": true,
"preserveLevel": 1,
"stripLevelType": 0,
"overwriteFiles": true,
"unconditionalOverwrite": true
},
"destination": {
"destAppId": 0,
"inPlace": true,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"destPath": [
"string"
],
"applicationId": 29,
"clientName": "string",
"clientId": 0
},
"noOfStreams": 0
},
"fileOption": {
"sourceItem": [
"string"
],
"fsCloneOptions": {
"cloneMountPath": "string"
}
},
"qrOption": {
"destAppTypeId": 29
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
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": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string",
"subclientId": 0,
"subclientGUID": "string",
"subclientName": "string",
"applicationId": 0,
"appName": "string",
"backupsetId": 0,
"backupsetName": "string",
"instanceId": 0,
"instanceName": "string",
"csGUID": "string",
"commCellName": "string",
"_type_": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string"
}
}
],
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"restoreACLsType": "ACL_DATA",
"impersonation": {
"useImpersonation": false,
"user": {
"userName": "string",
"password": "string"
}
},
"virtualServerRstOption": {
"isVolumeBrowse": false
},
"volumeRstOption": {
"volumeLeveRestore": false
},
"browseOption": {
"browseJobCommCellId": 2,
"noImage": false,
"commCellId": 2,
"backupset": {
"backupsetId": 0,
"backupsetName": "string",
"clientId": 0,
"clientName": "string"
}
},
"commonOptions": {
"isFromBrowseBackup": true,
"preserveLevel": 1,
"stripLevelType": 0,
"overwriteFiles": true,
"unconditionalOverwrite": true
},
"destination": {
"destAppId": 0,
"inPlace": true,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"destPath": [
"string"
],
"applicationId": 29,
"clientName": "string",
"clientId": 0
},
"noOfStreams": 0
},
"fileOption": {
"sourceItem": [
"string"
],
"fsCloneOptions": {
"cloneMountPath": "string"
}
},
"qrOption": {
"destAppTypeId": 29
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
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": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string",
"subclientId": 0,
"subclientGUID": "string",
"subclientName": "string",
"applicationId": 0,
"appName": "string",
"backupsetId": 0,
"backupsetName": "string",
"instanceId": 0,
"instanceName": "string",
"csGUID": "string",
"commCellName": "string",
"_type_": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string"
}
}
],
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"restoreACLsType": "ACL_DATA",
"impersonation": {
"useImpersonation": false,
"user": {
"userName": "string",
"password": "string"
}
},
"virtualServerRstOption": {
"isVolumeBrowse": false
},
"volumeRstOption": {
"volumeLeveRestore": false
},
"browseOption": {
"browseJobCommCellId": 2,
"noImage": false,
"commCellId": 2,
"backupset": {
"backupsetId": 0,
"backupsetName": "string",
"clientId": 0,
"clientName": "string"
}
},
"commonOptions": {
"isFromBrowseBackup": true,
"preserveLevel": 1,
"stripLevelType": 0,
"overwriteFiles": true,
"unconditionalOverwrite": true
},
"destination": {
"destAppId": 0,
"inPlace": true,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"destPath": [
"string"
],
"applicationId": 29,
"clientName": "string",
"clientId": 0
},
"noOfStreams": 0
},
"fileOption": {
"sourceItem": [
"string"
],
"fsCloneOptions": {
"cloneMountPath": "string"
}
},
"qrOption": {
"destAppTypeId": 29
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'
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": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string",
"subclientId": 0,
"subclientGUID": "string",
"subclientName": "string",
"applicationId": 0,
"appName": "string",
"backupsetId": 0,
"backupsetName": "string",
"instanceId": 0,
"instanceName": "string",
"csGUID": "string",
"commCellName": "string",
"_type_": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string"
}
}
],
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"restoreACLsType": "ACL_DATA",
"impersonation": {
"useImpersonation": false,
"user": {
"userName": "string",
"password": "string"
}
},
"virtualServerRstOption": {
"isVolumeBrowse": false
},
"volumeRstOption": {
"volumeLeveRestore": false
},
"browseOption": {
"browseJobCommCellId": 2,
"noImage": false,
"commCellId": 2,
"backupset": {
"backupsetId": 0,
"backupsetName": "string",
"clientId": 0,
"clientName": "string"
}
},
"commonOptions": {
"isFromBrowseBackup": true,
"preserveLevel": 1,
"stripLevelType": 0,
"overwriteFiles": true,
"unconditionalOverwrite": true
},
"destination": {
"destAppId": 0,
"inPlace": true,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"destPath": [
"string"
],
"applicationId": 29,
"clientName": "string",
"clientId": 0
},
"noOfStreams": 0
},
"fileOption": {
"sourceItem": [
"string"
],
"fsCloneOptions": {
"cloneMountPath": "string"
}
},
"qrOption": {
"destAppTypeId": 29
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'