SAP Oracle Restore operation
SAP Oracle Restore operation
- application/json
Request Body
taskInfo object
associations object[]
clientName string requiredSource Client Name
instanceName string requiredSource Instance Name
displayName stringClient display Name
instanceId integersource instacne ID
clientId integerSource client ID
appName stringDefault value:
SAP for Oracle
applicationId integerDefault value:
61
entityInfo object
companyId integercompanyID
companyName stringDefault value:
Commcell
multiCommcellId integertask object
taskType string requiredPossible values: [IMMEDIATE, SCHEDULE]
initiatedFrom integerDefault value:
2
subTasks object[]
subTask object
subTaskType stringDefault value:
RESTORE
operationType stringDefault value:
RESTORE
options object
restoreOptions object
browseOption object
commCellId integerDefault value:
2
timeRange object
fromTime integerBrowse time range
toTime integertoTime - Browse time range
destination object
destClient object required
Client details for restore
clientName stringClient Name of destination client
instanceName stringDestination Instance Name
displayName stringDisplay Name of destination client
instanceId integerInstance ID of destination client
clientId integerDestination client ID
appName stringDefault value:
SAP for Oracle
applicationId integerDefault value:
61
entityInfo object
companyId integerCompany ID
companyName stringDefault value:
Commcell
Company Name
multiCommcellId integerdestinationInstance object required
clientName stringDestination client Name
instanceName stringDestination Instance Name
displayName stringDestination display name
instanceId integerDestination Instacne ID
clientId integerDestination client ID
appName stringDefault value:
SAP for Oracle
oracleOpt object
sourcePaths object[]restoreStream integerDefault value:
2
restoreData booleanDefault value:
true
Enable this option to restore datafiles
restoreControlFile booleanDefault value:
true
Enable this option if you want the control file to be restored
resetLogs integerDefault value:
1
Set to 1 to resetlogs
archiveLog booleanDefault value:
true
openDatabase booleanDefault value:
true
archiveLogBy integerrecoverFrom integerrecoverTime object
Relevant for PIT restores
time integerSpecify the point in time to recover the database to
restoreFrom integerDefault value:
1
restoreTime object
time integerPoint in Time to restore files
noCatalog booleanDefault value:
true
Set to false if recovery catalog is configured
switchDatabaseMode booleanDefault value:
true
recover booleanDefault value:
true
Enable this option to run recovery
fileOption object required
sourceItem string[]Files to be restored
commonOptions object
restoreToDisk booleanDefault value:
false
while perform restore to disk operation
commonOpts object
notifyUserOnJobCompletion booleanDefault value:
true
prePostOpts object
preRecoveryCommand stringPre Recovery command
postRecoveryCommand stringPost Recovery command
runPostWhenFail booleanDefault value:
false
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 2003,
"jobIds": [
"2376"
]
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}