Restoring a Kudu instance
This API is used to restore Kudu instance
- application/json
Request Body
taskInfo object
associations object[]
subclientId integerSubclient Id
applicationId integerDefault value:
64
Application Id
clientName stringHadoop Client Name
backupsetId integerBackupset Id
instanceId integerInstance Id
clientId integerClient Id
_type_ integerDefault value:
7
task object
taskType integerDefault value:
1
initiatedFrom integerDefault value:
1
subTasks object[]
subTask object
subTaskType integerDefault value:
3
operationType integerDefault value:
1001
Operation type
options object required
restoreOptions object
Restore options
browseOption object
commCellId integerDefault value:
2
Commcell Id
backupset object
Source client backupset id
backupsetId integerclientId integertimeRange objectcommonOptions object
Common
unconditionalOverwrite booleanDefault value:
false
Unconditionally over
isFromBrowseBackup booleanDefault value:
true
preserveLevel integerDefault value:
1
stripLevelType integeroverwriteFiles booleanOverwrite files on selected destination
distributedAppsRestoreOptions object required
Restore
distributedRestore booleanDefault value:
true
isMultiNodeRestore booleanDefault value:
true
clientType integerDefault value:
29
Client Type
dataAccessNodes object required
Data Access
dataAccessNodes object[]
Data Access Nodes
hostName stringHost Name
clientId integerclientName stringClient Name
displayName stringClient display name
stageFreeRestoreOptions object
Stage free restore
restoreItems object[]
Source Table to destination table mapping
srcEntityName stringdestEntityName stringdestination object required
Destination details
noOfStreams integerNo of streams for restore
destClient object
Destination client
clientId integerclientName stringClient Name
destinationInstance object required
Destination Instance details
clientId integerclientName stringclient name
applicationId integerappName stringDefault value:
Big Data Apps
instanceId integerinstanceName stringInstance name
fileOption object required
sourceItem string[]Source Data
qrOption object required
destAppTypeId integerDefault value:
64
commonOpts object
notifyUserOnJobCompletion boolean
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 59,
"jobIds": [
"33"
]
}
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": "string",
"errorCode": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "No instance is specified",
"errorCode": 4
}