AWS Oracle RDS Export Instance Restore
This API allows you to restore backed up database to any on-premise or database present on cloud vm.
- application/json
Request Body
taskInfo object
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 9957,
"jobIds": [
"110838"
]
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to start backups as no eligible subclients were found. ",
"errorCode": 587207178
}
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",
"applicationId": 22,
"entityInfo": {
"companyId": 0,
"companyName": "COMMCELL"
},
"cloudInstanceType": "ORACLE_RDS"
}
],
"task": {
"taskType": 1
},
"subTasks": [
{
"subTask": {
"subTaskType": 3,
"operationType": 1005
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"browseJobCommCellId": 2
},
"destination": {
"inPlace": false,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destPath": [
"string"
],
"noOfStreams": 0,
"destinationInstance": {
"applicationId": 22,
"instanceName": "string"
}
},
"oracleOpt": {
"restoreStream": 0,
"noCatalog": true,
"restoreData": true,
"recover": true,
"recoverFrom": "0- Current Time",
"restoreFrom": "0- Current Time",
"recoverSCN": 0,
"stagingPath": "string",
"redirectItemsPresent": true,
"redirectAllItemsSelected": true,
"renamePathForAllTablespaces": "string",
"redirectTempFilesSelected": true,
"crossmachineRestoreOptions": {
"onlineLogDest": "string"
},
"redirectTempFilesValue": "string",
"rdsRmanImportOpt": {
"stagingPath": "string"
}
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"stripLevelType": 0,
"preserveLevel": 0,
"unconditionalOverwrite": true,
"stripLevel": 0
},
"jobIds": [
{}
]
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": 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": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"applicationId": 22,
"entityInfo": {
"companyId": 0,
"companyName": "COMMCELL"
},
"cloudInstanceType": "ORACLE_RDS"
}
],
"task": {
"taskType": 1
},
"subTasks": [
{
"subTask": {
"subTaskType": 3,
"operationType": 1005
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"browseJobCommCellId": 2
},
"destination": {
"inPlace": false,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destPath": [
"string"
],
"noOfStreams": 0,
"destinationInstance": {
"applicationId": 22,
"instanceName": "string"
}
},
"oracleOpt": {
"restoreStream": 0,
"noCatalog": true,
"restoreData": true,
"recover": true,
"recoverFrom": "0- Current Time",
"restoreFrom": "0- Current Time",
"recoverSCN": 0,
"stagingPath": "string",
"redirectItemsPresent": true,
"redirectAllItemsSelected": true,
"renamePathForAllTablespaces": "string",
"redirectTempFilesSelected": true,
"crossmachineRestoreOptions": {
"onlineLogDest": "string"
},
"redirectTempFilesValue": "string",
"rdsRmanImportOpt": {
"stagingPath": "string"
}
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"stripLevelType": 0,
"preserveLevel": 0,
"unconditionalOverwrite": true,
"stripLevel": 0
},
"jobIds": [
{}
]
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": 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": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"applicationId": 22,
"entityInfo": {
"companyId": 0,
"companyName": "COMMCELL"
},
"cloudInstanceType": "ORACLE_RDS"
}
],
"task": {
"taskType": 1
},
"subTasks": [
{
"subTask": {
"subTaskType": 3,
"operationType": 1005
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"browseJobCommCellId": 2
},
"destination": {
"inPlace": false,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destPath": [
"string"
],
"noOfStreams": 0,
"destinationInstance": {
"applicationId": 22,
"instanceName": "string"
}
},
"oracleOpt": {
"restoreStream": 0,
"noCatalog": true,
"restoreData": true,
"recover": true,
"recoverFrom": "0- Current Time",
"restoreFrom": "0- Current Time",
"recoverSCN": 0,
"stagingPath": "string",
"redirectItemsPresent": true,
"redirectAllItemsSelected": true,
"renamePathForAllTablespaces": "string",
"redirectTempFilesSelected": true,
"crossmachineRestoreOptions": {
"onlineLogDest": "string"
},
"redirectTempFilesValue": "string",
"rdsRmanImportOpt": {
"stagingPath": "string"
}
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"stripLevelType": 0,
"preserveLevel": 0,
"unconditionalOverwrite": true,
"stripLevel": 0
},
"jobIds": [
{}
]
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": 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": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"applicationId": 22,
"entityInfo": {
"companyId": 0,
"companyName": "COMMCELL"
},
"cloudInstanceType": "ORACLE_RDS"
}
],
"task": {
"taskType": 1
},
"subTasks": [
{
"subTask": {
"subTaskType": 3,
"operationType": 1005
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"browseJobCommCellId": 2
},
"destination": {
"inPlace": false,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destPath": [
"string"
],
"noOfStreams": 0,
"destinationInstance": {
"applicationId": 22,
"instanceName": "string"
}
},
"oracleOpt": {
"restoreStream": 0,
"noCatalog": true,
"restoreData": true,
"recover": true,
"recoverFrom": "0- Current Time",
"restoreFrom": "0- Current Time",
"recoverSCN": 0,
"stagingPath": "string",
"redirectItemsPresent": true,
"redirectAllItemsSelected": true,
"renamePathForAllTablespaces": "string",
"redirectTempFilesSelected": true,
"crossmachineRestoreOptions": {
"onlineLogDest": "string"
},
"redirectTempFilesValue": "string",
"rdsRmanImportOpt": {
"stagingPath": "string"
}
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"stripLevelType": 0,
"preserveLevel": 0,
"unconditionalOverwrite": true,
"stripLevel": 0
},
"jobIds": [
{}
]
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": 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": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"applicationId": 22,
"entityInfo": {
"companyId": 0,
"companyName": "COMMCELL"
},
"cloudInstanceType": "ORACLE_RDS"
}
],
"task": {
"taskType": 1
},
"subTasks": [
{
"subTask": {
"subTaskType": 3,
"operationType": 1005
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"browseJobCommCellId": 2
},
"destination": {
"inPlace": false,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destPath": [
"string"
],
"noOfStreams": 0,
"destinationInstance": {
"applicationId": 22,
"instanceName": "string"
}
},
"oracleOpt": {
"restoreStream": 0,
"noCatalog": true,
"restoreData": true,
"recover": true,
"recoverFrom": "0- Current Time",
"restoreFrom": "0- Current Time",
"recoverSCN": 0,
"stagingPath": "string",
"redirectItemsPresent": true,
"redirectAllItemsSelected": true,
"renamePathForAllTablespaces": "string",
"redirectTempFilesSelected": true,
"crossmachineRestoreOptions": {
"onlineLogDest": "string"
},
"redirectTempFilesValue": "string",
"rdsRmanImportOpt": {
"stagingPath": "string"
}
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"stripLevelType": 0,
"preserveLevel": 0,
"unconditionalOverwrite": true,
"stripLevel": 0
},
"jobIds": [
{}
]
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": 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": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"applicationId": 22,
"entityInfo": {
"companyId": 0,
"companyName": "COMMCELL"
},
"cloudInstanceType": "ORACLE_RDS"
}
],
"task": {
"taskType": 1
},
"subTasks": [
{
"subTask": {
"subTaskType": 3,
"operationType": 1005
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"browseJobCommCellId": 2
},
"destination": {
"inPlace": false,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destPath": [
"string"
],
"noOfStreams": 0,
"destinationInstance": {
"applicationId": 22,
"instanceName": "string"
}
},
"oracleOpt": {
"restoreStream": 0,
"noCatalog": true,
"restoreData": true,
"recover": true,
"recoverFrom": "0- Current Time",
"restoreFrom": "0- Current Time",
"recoverSCN": 0,
"stagingPath": "string",
"redirectItemsPresent": true,
"redirectAllItemsSelected": true,
"renamePathForAllTablespaces": "string",
"redirectTempFilesSelected": true,
"crossmachineRestoreOptions": {
"onlineLogDest": "string"
},
"redirectTempFilesValue": "string",
"rdsRmanImportOpt": {
"stagingPath": "string"
}
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"stripLevelType": 0,
"preserveLevel": 0,
"unconditionalOverwrite": true,
"stripLevel": 0
},
"jobIds": [
{}
]
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": 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": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"applicationId": 22,
"entityInfo": {
"companyId": 0,
"companyName": "COMMCELL"
},
"cloudInstanceType": "ORACLE_RDS"
}
],
"task": {
"taskType": 1
},
"subTasks": [
{
"subTask": {
"subTaskType": 3,
"operationType": 1005
},
"options": {
"restoreOptions": {
"browseOption": {
"commCellId": 2,
"timeRange": {
"fromTime": 0,
"toTime": 0
},
"browseJobCommCellId": 2
},
"destination": {
"inPlace": false,
"destClient": {
"clientId": 0,
"clientName": "string"
},
"destPath": [
"string"
],
"noOfStreams": 0,
"destinationInstance": {
"applicationId": 22,
"instanceName": "string"
}
},
"oracleOpt": {
"restoreStream": 0,
"noCatalog": true,
"restoreData": true,
"recover": true,
"recoverFrom": "0- Current Time",
"restoreFrom": "0- Current Time",
"recoverSCN": 0,
"stagingPath": "string",
"redirectItemsPresent": true,
"redirectAllItemsSelected": true,
"renamePathForAllTablespaces": "string",
"redirectTempFilesSelected": true,
"crossmachineRestoreOptions": {
"onlineLogDest": "string"
},
"redirectTempFilesValue": "string",
"rdsRmanImportOpt": {
"stagingPath": "string"
}
},
"fileOption": {
"sourceItem": [
"string"
]
},
"commonOptions": {
"stripLevelType": 0,
"preserveLevel": 0,
"unconditionalOverwrite": true,
"stripLevel": 0
},
"jobIds": [
{}
]
},
"commonOpts": {
"notifyUserOnJobCompletion": true,
"prePostOpts": {
"preRecoveryCommand": "string",
"postRecoveryCommand": "string",
"runPostWhenFail": true
}
}
}
}
]
}
}'