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 OracleapplicationId integerDefault value:
61entityInfo object
companyId integercompanyID
companyName stringDefault value:
CommcellmultiCommcellId integertask object
taskType string requiredPossible values: [IMMEDIATE, SCHEDULE]
initiatedFrom integerDefault value:
2subTasks object[]
subTask object
subTaskType stringDefault value:
RESTOREoperationType stringDefault value:
RESTOREoptions object
restoreOptions object
browseOption object
commCellId integerDefault value:
2timeRange 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 OracleapplicationId integerDefault value:
61entityInfo object
companyId integerCompany ID
companyName stringDefault value:
CommcellCompany 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 OracleoracleOpt object
sourcePaths object[]restoreStream integerDefault value:
2restoreData booleanDefault value:
trueEnable this option to restore datafiles
restoreControlFile booleanDefault value:
trueEnable this option if you want the control file to be restored
resetLogs integerDefault value:
1Set to 1 to resetlogs
archiveLog booleanDefault value:
trueopenDatabase booleanDefault value:
truearchiveLogBy integerrecoverFrom integerrecoverTime object
Relevant for PIT restores
time integerSpecify the point in time to recover the database to
restoreFrom integerDefault value:
1restoreTime object
time integerPoint in Time to restore files
noCatalog booleanDefault value:
trueSet to false if recovery catalog is configured
switchDatabaseMode booleanDefault value:
truerecover booleanDefault value:
trueEnable this option to run recovery
fileOption object required
sourceItem string[]Files to be restored
commonOptions object
restoreToDisk booleanDefault value:
falsewhile perform restore to disk operation
commonOpts object
notifyUserOnJobCompletion booleanDefault value:
trueprePostOpts 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
}