Skip to main content

Create Task (Backup)

Select

SaaS
Customer Managed

This operation runs a backup job for a subclient or a backup set.

More Details

Request Body
  • taskInfo object
  • associations object[]
  • applicationId integer
  • clientName string
  • commCellId integer
  • backupsetName string
  • _type_ integer
  • appName string
  • task object
  • sequenceNumber integer
  • initiatedFrom integer
  • taskType integer
  • policyType integer
  • taskId integer
  • taskFlags object
  • disabled boolean
  • subTasks object[]
  • subTask object
  • subTaskType integer
  • operationType integer
  • options object
  • backupOpts object
  • truncateLogsOnSource boolean
  • sybaseSkipFullafterLogBkp boolean
  • backupLevel integer
  • runIncrementalBackup boolean
  • isSpHasInLineCopy boolean
  • runSILOBackup boolean
  • doNotTruncateLog boolean
  • dataOpt object
  • skipCatalogPhaseForSnapBackup boolean
  • followMountPoints boolean
  • enableIndexCheckPointing boolean
  • enforceTransactionLogUsage boolean
  • spaceReclamation boolean
  • skipConsistencyCheck boolean
  • createNewIndex boolean
  • verifySynthFull boolean
  • dataPathOpt object
  • mediaAgent object
  • mediaAgentId integer
  • library object
  • libraryId integer
  • drivePool object
  • drivePoolId integer
  • spareGroup object
  • spareMediaGroupId integer
  • drive object
  • driveId integer
  • mediaOpt object
  • markMediaFullOnSuccess boolean
  • numberofDays integer
  • startNewMedia boolean
  • retentionJobType integer
  • allowOtherSchedulesToUseMediaSet boolean
  • reserveResourcesBeforeScan boolean
  • commonOpts object
  • jobDescription string
  • jobRetryOpts object
  • killRunningJobWhenTotalRunningTimeExpires boolean
  • numberOfRetries integer
  • enableNumberOfRetries boolean
  • runningTime object
  • enableTotalRunningTime boolean
  • totalRunningTime integer
  • startUpOpts object
  • startInSuspendedState boolean
  • useDefaultPriority boolean
  • priority integer
Responses

OK


Schema
  • taskId integer
  • jobIds string[]
POST /createtask    

Authorization

type: apiKeyname: Authtokenin: header

Request

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

{
"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
}
}
}
}
]
}
}'