Sybase Restore Options
Select
SaaS
Customer Managed
This operation is used to perform Sybase Restores
- application/json
Request Body
taskInfo object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
- Example 2
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 2250,
"jobIds": [
"37058"
]
}
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": {
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"clientId": 0,
"instanceName": "string",
"appName": "Sybase",
"applicationId": "5 for Sybase",
"clientName": "string",
"instanceId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"toTime": 0
}
},
"destination": {
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 5,
"appName": "Sybase",
"clientId": 0,
"clientName": "string"
}
},
"sybaseRstOption": {
"sybaseRecoverType": "STATE_RECOVER",
"pointofTime": true,
"fromTime": {
"time": 0
},
"refTime": {
"time": 0
},
"destinationServer": {
"id": 0,
"name": "string"
},
"pointInTime": {
"time": 0
},
"instanceRestore": true,
"sybaseDatabase": [
{
"databaseId": {
"id": 0,
"name": "string"
},
"creationTimeInt": {
"time": 0
},
"associatedSubClientId": 0,
"devices": [
"string"
],
"systemDataBase": true
}
],
"renameDatabases": true,
"restoreOptions": true,
"restoreType": "string",
"isTableLevel": true
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"sybaseCreateDevices": true,
"restoreToDisk": true
}
},
"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": {
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"clientId": 0,
"instanceName": "string",
"appName": "Sybase",
"applicationId": "5 for Sybase",
"clientName": "string",
"instanceId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"toTime": 0
}
},
"destination": {
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 5,
"appName": "Sybase",
"clientId": 0,
"clientName": "string"
}
},
"sybaseRstOption": {
"sybaseRecoverType": "STATE_RECOVER",
"pointofTime": true,
"fromTime": {
"time": 0
},
"refTime": {
"time": 0
},
"destinationServer": {
"id": 0,
"name": "string"
},
"pointInTime": {
"time": 0
},
"instanceRestore": true,
"sybaseDatabase": [
{
"databaseId": {
"id": 0,
"name": "string"
},
"creationTimeInt": {
"time": 0
},
"associatedSubClientId": 0,
"devices": [
"string"
],
"systemDataBase": true
}
],
"renameDatabases": true,
"restoreOptions": true,
"restoreType": "string",
"isTableLevel": true
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"sybaseCreateDevices": true,
"restoreToDisk": true
}
},
"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": {
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"clientId": 0,
"instanceName": "string",
"appName": "Sybase",
"applicationId": "5 for Sybase",
"clientName": "string",
"instanceId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"toTime": 0
}
},
"destination": {
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 5,
"appName": "Sybase",
"clientId": 0,
"clientName": "string"
}
},
"sybaseRstOption": {
"sybaseRecoverType": "STATE_RECOVER",
"pointofTime": true,
"fromTime": {
"time": 0
},
"refTime": {
"time": 0
},
"destinationServer": {
"id": 0,
"name": "string"
},
"pointInTime": {
"time": 0
},
"instanceRestore": true,
"sybaseDatabase": [
{
"databaseId": {
"id": 0,
"name": "string"
},
"creationTimeInt": {
"time": 0
},
"associatedSubClientId": 0,
"devices": [
"string"
],
"systemDataBase": true
}
],
"renameDatabases": true,
"restoreOptions": true,
"restoreType": "string",
"isTableLevel": true
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"sybaseCreateDevices": true,
"restoreToDisk": true
}
},
"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": {
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"clientId": 0,
"instanceName": "string",
"appName": "Sybase",
"applicationId": "5 for Sybase",
"clientName": "string",
"instanceId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"toTime": 0
}
},
"destination": {
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 5,
"appName": "Sybase",
"clientId": 0,
"clientName": "string"
}
},
"sybaseRstOption": {
"sybaseRecoverType": "STATE_RECOVER",
"pointofTime": true,
"fromTime": {
"time": 0
},
"refTime": {
"time": 0
},
"destinationServer": {
"id": 0,
"name": "string"
},
"pointInTime": {
"time": 0
},
"instanceRestore": true,
"sybaseDatabase": [
{
"databaseId": {
"id": 0,
"name": "string"
},
"creationTimeInt": {
"time": 0
},
"associatedSubClientId": 0,
"devices": [
"string"
],
"systemDataBase": true
}
],
"renameDatabases": true,
"restoreOptions": true,
"restoreType": "string",
"isTableLevel": true
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"sybaseCreateDevices": true,
"restoreToDisk": true
}
},
"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": {
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"clientId": 0,
"instanceName": "string",
"appName": "Sybase",
"applicationId": "5 for Sybase",
"clientName": "string",
"instanceId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"toTime": 0
}
},
"destination": {
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 5,
"appName": "Sybase",
"clientId": 0,
"clientName": "string"
}
},
"sybaseRstOption": {
"sybaseRecoverType": "STATE_RECOVER",
"pointofTime": true,
"fromTime": {
"time": 0
},
"refTime": {
"time": 0
},
"destinationServer": {
"id": 0,
"name": "string"
},
"pointInTime": {
"time": 0
},
"instanceRestore": true,
"sybaseDatabase": [
{
"databaseId": {
"id": 0,
"name": "string"
},
"creationTimeInt": {
"time": 0
},
"associatedSubClientId": 0,
"devices": [
"string"
],
"systemDataBase": true
}
],
"renameDatabases": true,
"restoreOptions": true,
"restoreType": "string",
"isTableLevel": true
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"sybaseCreateDevices": true,
"restoreToDisk": true
}
},
"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": {
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"clientId": 0,
"instanceName": "string",
"appName": "Sybase",
"applicationId": "5 for Sybase",
"clientName": "string",
"instanceId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"toTime": 0
}
},
"destination": {
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 5,
"appName": "Sybase",
"clientId": 0,
"clientName": "string"
}
},
"sybaseRstOption": {
"sybaseRecoverType": "STATE_RECOVER",
"pointofTime": true,
"fromTime": {
"time": 0
},
"refTime": {
"time": 0
},
"destinationServer": {
"id": 0,
"name": "string"
},
"pointInTime": {
"time": 0
},
"instanceRestore": true,
"sybaseDatabase": [
{
"databaseId": {
"id": 0,
"name": "string"
},
"creationTimeInt": {
"time": 0
},
"associatedSubClientId": 0,
"devices": [
"string"
],
"systemDataBase": true
}
],
"renameDatabases": true,
"restoreOptions": true,
"restoreType": "string",
"isTableLevel": true
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"sybaseCreateDevices": true,
"restoreToDisk": true
}
},
"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": {
"task": {
"taskType": "IMMEDIATE",
"initiatedFrom": "GUI"
},
"associations": [
{
"clientId": 0,
"instanceName": "string",
"appName": "Sybase",
"applicationId": "5 for Sybase",
"clientName": "string",
"instanceId": 0
}
],
"subTasks": [
{
"subTask": {
"subTaskType": "RESTORE",
"operationType": "RESTORE"
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"toTime": 0
}
},
"destination": {
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destinationInstance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 5,
"appName": "Sybase",
"clientId": 0,
"clientName": "string"
}
},
"sybaseRstOption": {
"sybaseRecoverType": "STATE_RECOVER",
"pointofTime": true,
"fromTime": {
"time": 0
},
"refTime": {
"time": 0
},
"destinationServer": {
"id": 0,
"name": "string"
},
"pointInTime": {
"time": 0
},
"instanceRestore": true,
"sybaseDatabase": [
{
"databaseId": {
"id": 0,
"name": "string"
},
"creationTimeInt": {
"time": 0
},
"associatedSubClientId": 0,
"devices": [
"string"
],
"systemDataBase": true
}
],
"renameDatabases": true,
"restoreOptions": true,
"restoreType": "string",
"isTableLevel": true
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"sybaseCreateDevices": true,
"restoreToDisk": true
}
},
"commonOpts": {
"notifyUserOnJobCompletion": true
}
}
}
]
}
}'