Create Task (Backup)
Select
SaaS
Customer Managed
This operation runs a backup job for a subclient or a backup set.
- application/json
Request Body
taskInfo object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- P O S T Create Task ( Backup) - This request starts an immediate backup job.
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 0,
"jobIds": [
"string"
]
}
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": [
{
"applicationId": 0,
"clientName": "string",
"commCellId": 0,
"backupsetName": "string",
"_type_": 0,
"appName": "string"
}
],
"task": {
"sequenceNumber": 0,
"initiatedFrom": 0,
"taskType": 0,
"policyType": 0,
"taskId": 0,
"taskFlags": {
"disabled": true
}
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"truncateLogsOnSource": true,
"sybaseSkipFullafterLogBkp": true,
"backupLevel": 0,
"runIncrementalBackup": true,
"isSpHasInLineCopy": true,
"runSILOBackup": true,
"doNotTruncateLog": true,
"dataOpt": {
"skipCatalogPhaseForSnapBackup": true,
"followMountPoints": true,
"enableIndexCheckPointing": true,
"enforceTransactionLogUsage": true,
"spaceReclamation": true,
"skipConsistencyCheck": true,
"createNewIndex": true,
"verifySynthFull": true
},
"dataPathOpt": {
"mediaAgent": {
"mediaAgentId": 0
},
"library": {
"libraryId": 0
},
"drivePool": {
"drivePoolId": 0
},
"spareGroup": {
"spareMediaGroupId": 0
},
"drive": {
"driveId": 0
}
},
"mediaOpt": {
"markMediaFullOnSuccess": true,
"numberofDays": 0,
"startNewMedia": true,
"retentionJobType": 0,
"allowOtherSchedulesToUseMediaSet": true,
"reserveResourcesBeforeScan": true
}
},
"commonOpts": {
"jobDescription": "string",
"jobRetryOpts": {
"killRunningJobWhenTotalRunningTimeExpires": true,
"numberOfRetries": 0,
"enableNumberOfRetries": true,
"runningTime": {
"enableTotalRunningTime": true,
"totalRunningTime": 0
}
},
"startUpOpts": {
"startInSuspendedState": true,
"useDefaultPriority": true,
"priority": 0
}
}
}
}
]
}
}'
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": [
{
"applicationId": 0,
"clientName": "string",
"commCellId": 0,
"backupsetName": "string",
"_type_": 0,
"appName": "string"
}
],
"task": {
"sequenceNumber": 0,
"initiatedFrom": 0,
"taskType": 0,
"policyType": 0,
"taskId": 0,
"taskFlags": {
"disabled": true
}
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"truncateLogsOnSource": true,
"sybaseSkipFullafterLogBkp": true,
"backupLevel": 0,
"runIncrementalBackup": true,
"isSpHasInLineCopy": true,
"runSILOBackup": true,
"doNotTruncateLog": true,
"dataOpt": {
"skipCatalogPhaseForSnapBackup": true,
"followMountPoints": true,
"enableIndexCheckPointing": true,
"enforceTransactionLogUsage": true,
"spaceReclamation": true,
"skipConsistencyCheck": true,
"createNewIndex": true,
"verifySynthFull": true
},
"dataPathOpt": {
"mediaAgent": {
"mediaAgentId": 0
},
"library": {
"libraryId": 0
},
"drivePool": {
"drivePoolId": 0
},
"spareGroup": {
"spareMediaGroupId": 0
},
"drive": {
"driveId": 0
}
},
"mediaOpt": {
"markMediaFullOnSuccess": true,
"numberofDays": 0,
"startNewMedia": true,
"retentionJobType": 0,
"allowOtherSchedulesToUseMediaSet": true,
"reserveResourcesBeforeScan": true
}
},
"commonOpts": {
"jobDescription": "string",
"jobRetryOpts": {
"killRunningJobWhenTotalRunningTimeExpires": true,
"numberOfRetries": 0,
"enableNumberOfRetries": true,
"runningTime": {
"enableTotalRunningTime": true,
"totalRunningTime": 0
}
},
"startUpOpts": {
"startInSuspendedState": true,
"useDefaultPriority": true,
"priority": 0
}
}
}
}
]
}
}'
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": [
{
"applicationId": 0,
"clientName": "string",
"commCellId": 0,
"backupsetName": "string",
"_type_": 0,
"appName": "string"
}
],
"task": {
"sequenceNumber": 0,
"initiatedFrom": 0,
"taskType": 0,
"policyType": 0,
"taskId": 0,
"taskFlags": {
"disabled": true
}
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"truncateLogsOnSource": true,
"sybaseSkipFullafterLogBkp": true,
"backupLevel": 0,
"runIncrementalBackup": true,
"isSpHasInLineCopy": true,
"runSILOBackup": true,
"doNotTruncateLog": true,
"dataOpt": {
"skipCatalogPhaseForSnapBackup": true,
"followMountPoints": true,
"enableIndexCheckPointing": true,
"enforceTransactionLogUsage": true,
"spaceReclamation": true,
"skipConsistencyCheck": true,
"createNewIndex": true,
"verifySynthFull": true
},
"dataPathOpt": {
"mediaAgent": {
"mediaAgentId": 0
},
"library": {
"libraryId": 0
},
"drivePool": {
"drivePoolId": 0
},
"spareGroup": {
"spareMediaGroupId": 0
},
"drive": {
"driveId": 0
}
},
"mediaOpt": {
"markMediaFullOnSuccess": true,
"numberofDays": 0,
"startNewMedia": true,
"retentionJobType": 0,
"allowOtherSchedulesToUseMediaSet": true,
"reserveResourcesBeforeScan": true
}
},
"commonOpts": {
"jobDescription": "string",
"jobRetryOpts": {
"killRunningJobWhenTotalRunningTimeExpires": true,
"numberOfRetries": 0,
"enableNumberOfRetries": true,
"runningTime": {
"enableTotalRunningTime": true,
"totalRunningTime": 0
}
},
"startUpOpts": {
"startInSuspendedState": true,
"useDefaultPriority": true,
"priority": 0
}
}
}
}
]
}
}'
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": [
{
"applicationId": 0,
"clientName": "string",
"commCellId": 0,
"backupsetName": "string",
"_type_": 0,
"appName": "string"
}
],
"task": {
"sequenceNumber": 0,
"initiatedFrom": 0,
"taskType": 0,
"policyType": 0,
"taskId": 0,
"taskFlags": {
"disabled": true
}
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"truncateLogsOnSource": true,
"sybaseSkipFullafterLogBkp": true,
"backupLevel": 0,
"runIncrementalBackup": true,
"isSpHasInLineCopy": true,
"runSILOBackup": true,
"doNotTruncateLog": true,
"dataOpt": {
"skipCatalogPhaseForSnapBackup": true,
"followMountPoints": true,
"enableIndexCheckPointing": true,
"enforceTransactionLogUsage": true,
"spaceReclamation": true,
"skipConsistencyCheck": true,
"createNewIndex": true,
"verifySynthFull": true
},
"dataPathOpt": {
"mediaAgent": {
"mediaAgentId": 0
},
"library": {
"libraryId": 0
},
"drivePool": {
"drivePoolId": 0
},
"spareGroup": {
"spareMediaGroupId": 0
},
"drive": {
"driveId": 0
}
},
"mediaOpt": {
"markMediaFullOnSuccess": true,
"numberofDays": 0,
"startNewMedia": true,
"retentionJobType": 0,
"allowOtherSchedulesToUseMediaSet": true,
"reserveResourcesBeforeScan": true
}
},
"commonOpts": {
"jobDescription": "string",
"jobRetryOpts": {
"killRunningJobWhenTotalRunningTimeExpires": true,
"numberOfRetries": 0,
"enableNumberOfRetries": true,
"runningTime": {
"enableTotalRunningTime": true,
"totalRunningTime": 0
}
},
"startUpOpts": {
"startInSuspendedState": true,
"useDefaultPriority": true,
"priority": 0
}
}
}
}
]
}
}'
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": [
{
"applicationId": 0,
"clientName": "string",
"commCellId": 0,
"backupsetName": "string",
"_type_": 0,
"appName": "string"
}
],
"task": {
"sequenceNumber": 0,
"initiatedFrom": 0,
"taskType": 0,
"policyType": 0,
"taskId": 0,
"taskFlags": {
"disabled": true
}
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"truncateLogsOnSource": true,
"sybaseSkipFullafterLogBkp": true,
"backupLevel": 0,
"runIncrementalBackup": true,
"isSpHasInLineCopy": true,
"runSILOBackup": true,
"doNotTruncateLog": true,
"dataOpt": {
"skipCatalogPhaseForSnapBackup": true,
"followMountPoints": true,
"enableIndexCheckPointing": true,
"enforceTransactionLogUsage": true,
"spaceReclamation": true,
"skipConsistencyCheck": true,
"createNewIndex": true,
"verifySynthFull": true
},
"dataPathOpt": {
"mediaAgent": {
"mediaAgentId": 0
},
"library": {
"libraryId": 0
},
"drivePool": {
"drivePoolId": 0
},
"spareGroup": {
"spareMediaGroupId": 0
},
"drive": {
"driveId": 0
}
},
"mediaOpt": {
"markMediaFullOnSuccess": true,
"numberofDays": 0,
"startNewMedia": true,
"retentionJobType": 0,
"allowOtherSchedulesToUseMediaSet": true,
"reserveResourcesBeforeScan": true
}
},
"commonOpts": {
"jobDescription": "string",
"jobRetryOpts": {
"killRunningJobWhenTotalRunningTimeExpires": true,
"numberOfRetries": 0,
"enableNumberOfRetries": true,
"runningTime": {
"enableTotalRunningTime": true,
"totalRunningTime": 0
}
},
"startUpOpts": {
"startInSuspendedState": true,
"useDefaultPriority": true,
"priority": 0
}
}
}
}
]
}
}'
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": [
{
"applicationId": 0,
"clientName": "string",
"commCellId": 0,
"backupsetName": "string",
"_type_": 0,
"appName": "string"
}
],
"task": {
"sequenceNumber": 0,
"initiatedFrom": 0,
"taskType": 0,
"policyType": 0,
"taskId": 0,
"taskFlags": {
"disabled": true
}
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"truncateLogsOnSource": true,
"sybaseSkipFullafterLogBkp": true,
"backupLevel": 0,
"runIncrementalBackup": true,
"isSpHasInLineCopy": true,
"runSILOBackup": true,
"doNotTruncateLog": true,
"dataOpt": {
"skipCatalogPhaseForSnapBackup": true,
"followMountPoints": true,
"enableIndexCheckPointing": true,
"enforceTransactionLogUsage": true,
"spaceReclamation": true,
"skipConsistencyCheck": true,
"createNewIndex": true,
"verifySynthFull": true
},
"dataPathOpt": {
"mediaAgent": {
"mediaAgentId": 0
},
"library": {
"libraryId": 0
},
"drivePool": {
"drivePoolId": 0
},
"spareGroup": {
"spareMediaGroupId": 0
},
"drive": {
"driveId": 0
}
},
"mediaOpt": {
"markMediaFullOnSuccess": true,
"numberofDays": 0,
"startNewMedia": true,
"retentionJobType": 0,
"allowOtherSchedulesToUseMediaSet": true,
"reserveResourcesBeforeScan": true
}
},
"commonOpts": {
"jobDescription": "string",
"jobRetryOpts": {
"killRunningJobWhenTotalRunningTimeExpires": true,
"numberOfRetries": 0,
"enableNumberOfRetries": true,
"runningTime": {
"enableTotalRunningTime": true,
"totalRunningTime": 0
}
},
"startUpOpts": {
"startInSuspendedState": true,
"useDefaultPriority": true,
"priority": 0
}
}
}
}
]
}
}'
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": [
{
"applicationId": 0,
"clientName": "string",
"commCellId": 0,
"backupsetName": "string",
"_type_": 0,
"appName": "string"
}
],
"task": {
"sequenceNumber": 0,
"initiatedFrom": 0,
"taskType": 0,
"policyType": 0,
"taskId": 0,
"taskFlags": {
"disabled": true
}
},
"subTasks": [
{
"subTask": {
"subTaskType": 0,
"operationType": 0
},
"options": {
"backupOpts": {
"truncateLogsOnSource": true,
"sybaseSkipFullafterLogBkp": true,
"backupLevel": 0,
"runIncrementalBackup": true,
"isSpHasInLineCopy": true,
"runSILOBackup": true,
"doNotTruncateLog": true,
"dataOpt": {
"skipCatalogPhaseForSnapBackup": true,
"followMountPoints": true,
"enableIndexCheckPointing": true,
"enforceTransactionLogUsage": true,
"spaceReclamation": true,
"skipConsistencyCheck": true,
"createNewIndex": true,
"verifySynthFull": true
},
"dataPathOpt": {
"mediaAgent": {
"mediaAgentId": 0
},
"library": {
"libraryId": 0
},
"drivePool": {
"drivePoolId": 0
},
"spareGroup": {
"spareMediaGroupId": 0
},
"drive": {
"driveId": 0
}
},
"mediaOpt": {
"markMediaFullOnSuccess": true,
"numberofDays": 0,
"startNewMedia": true,
"retentionJobType": 0,
"allowOtherSchedulesToUseMediaSet": true,
"reserveResourcesBeforeScan": true
}
},
"commonOpts": {
"jobDescription": "string",
"jobRetryOpts": {
"killRunningJobWhenTotalRunningTimeExpires": true,
"numberOfRetries": 0,
"enableNumberOfRetries": true,
"runningTime": {
"enableTotalRunningTime": true,
"totalRunningTime": 0
}
},
"startUpOpts": {
"startInSuspendedState": true,
"useDefaultPriority": true,
"priority": 0
}
}
}
}
]
}
}'