/dr-test/start/oracle
Backup the standby database and optionally activate it
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
---|---|---|---|
| integer(int64) | configuration ID (non-negative) | required |
| string | directory to write backup files to |
|
| string | RMAN formatSpec, default value ensures uniqueness |
|
| string | image or backupset | required |
| boolean | true to backup only, false to backup and activate |
|
{
"params": {
"backup_dir": "string",
"backup_format": "string",
"backup_type": "string",
"configuration_id": 1,
"stop_before_activation": false
}
}
Response
HTTP Status: 200
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| object of type |
|
| boolean | response with error or not |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
task_response
Property | Type | Description |
---|---|---|
| integer(int64) | task ID |
{
"error": {
"message": "string"
},
"result": {
"task_id": 1
},
"successful": true
}
HTTP Status: 400
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| boolean | always false |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
{
"error": {
"message": "string"
},
"successful": false
}