Alibaba PostgreSQL instance restore
Select
Customer Managed
This operation is used to submit Alibaba Postgres instance restores.
- application/json
Request Body
taskInfo object
associations object[]
clientName string requiredName of the cloud account
instanceName string requiredName of the instance
displayName stringDisplay name of the cloud account
_type_ string requiredPossible values: [
INSTANCE_ENTITY,BACKUPSET_ENTITY,SUBCLIENT_ENTITY]backupsetName string requiredDefault value:
DumpBasedBackupSetapplicationId integer requiredDefault value:
125isDefaultBackupSet booleanDefault value:
trueentityName stringName of the entity from which restore is submitted
task object
taskType stringPossible values: [
IMMEDIATE,SCHEDULE]subTasks object[]
subTask object
subTaskType stringDefault value:
RESTOREoperationType stringDefault value:
RESTOREoptions object
restoreOptions object
browseOption object required
commCellId integerbackupset object
clientName stringbackupsetName stringdestination object
destClient object required
clientName stringDestination Client Name
destinationInstance object required
instanceName stringDestinaton Instance name
applicationId integerDefault value:
125clientName stringDestination Client Name
displayName stringDestination Client Display Name
fileOption object required
sourceItem string[]List of databases to restore
postgresRstOption object required
tableLevelRestore booleanDefault value:
falserefTime object
time integerfromTime object
time integerpointOfTime object
time integerpointInTime booleanDefault value:
falsecommonOpts object
notifyUserOnJobCompletion booleanDefault value:
trueprePostOpts object
preRecoveryCommand stringpostRecoveryCommand stringrunPostWhenFail boolean
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 9957,
"jobIds": [
"110838"
]
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to start backups as no eligible subclients were found. ",
"errorCode": 587207178
}
Loading...