Restoring a couchbase instance
Select
This API is used to restore couchbase instance
- application/json
Request Body
taskInfo object
associations object[] required
Subclient Info
applicationId integerInternal field
clientName stringClientname of the couchbase instance
backupsetId integerBackup set ID
instanceId integerCouchbase instance ID
clientId integertask object required
Restore
taskType integerDefault value:
1
default
initiatedFrom integerDefault value:
1
Default value 1
subTasks object[] required
subTask object
Defaults
subTaskType integerDefault value:
3
operationType integerDefault value:
1001
options object required
restoreOptions object
browseOption object
commCellId integerDefault value:
2
Default 2
backupset object
Backupset details
backupsetId integerSource client backupset id
clientId integerClient ID of the source instace
timeRange objectcommonOptions object
Internal fields
unconditionalOverwrite booleanisFromBrowseBackup booleanDefault value:
true
preserveLevel integerDefault value:
1
stripLevelType integeroverwriteFiles booleandistributedAppsRestoreOptions object required
distributedRestore booleanDefault value:
true
Internal field
isMultiNodeRestore booleanDefault value:
true
Internal field
clientType integerDefault value:
29
Internal field
dataAccessNodes object required
Couchbase nodes
dataAccessNodes object[] required
List of access node for couchbase
hostName stringHostname of the accessnode
clientId integerclient Id of the access node
clientName stringclient name of the access node
stageFreeRestoreOptions object
restoreItems object[] required
List of buckets to restore. Get this from browse
srcEntityName stringSource bucket name
destEntityName stringDestination bucket name. Use same for inplace restore
destination object required
noOfStreams integerdestClient object required
Destination cluster details
clientId integerDestination client ID
clientName stringdestinationInstance object required
Destination co instance details
clientId integerClient id of the
clientName stringclient name of the instance (instance name)
applicationId integerDefault value:
64
Default value
appName stringBig Data Apps
instanceId integerInstance ID of the destination
instanceName stringInstance name
fileOption object required
sourceItem string[] requiredList of buckets selected for estore
qrOption object
Internal field
destAppTypeId integerDefault value:
64
commonOpts object
notifyUserOnJobCompletion boolean
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 59,
"jobIds": [
"33"
]
}