Full backup of Hive instance
This API is used to run a full backup of Hive instance.
- application/json
Request Body
taskInfo object
task object required
taskType integerDefault value:
1
Type of task
associations object[] required
clientName stringHadoop Client Name
instanceName stringInstance Name
displayName stringClient Name
backupsetId integerHive Backupset
_type_ stringDefault value:
SUBCLIENT_ENTITY
commCellName stringCommcell Name
instanceId integercsGUID stringsubclientGUID stringsubclientId integerclientId integerappName stringDefault value:
Big Data Apps
App Name
backupsetName stringDefault value:
Hive
Backupset Name
applicationId integersubclientName stringHive Subclient Name
entityInfo object
companyId integercompanyName stringsubTasks object[]
subTask object
subTaskType integerDefault value:
2
operationType integerDefault value:
2
options object required
backupOpts object
backupLevel stringdataOpt object
createNewIndex booleancommonOpts object
notifyUserOnJobCompletion boolean
Responses
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 58,
"jobIds": [
"32"
]
}
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
}
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
}
Loading...