Set up Oracle disaster recovery
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Default | Required |
---|---|---|---|---|
| integer(int64) | configuration ID (non-negative) |
| required |
| boolean | enable observer | true |
|
| boolean | enable automated standby update | true |
|
| integer(int32) | interval for automated standby update in seconds (minimum: 60) | 600 |
|
| boolean | ship archive logs from the source database while creating the standby database | true |
|
| boolean | perform backup, transfer and restore operations in parallel when possible | true |
|
| boolean | resume a prior create-standby operation | false |
|
| boolean | save entered values for later use; does not perform the action | false |
|
| string(password) | password to use when creating the Windows service |
|
|
| string | user name to use when creating the Windows service |
|
|
| string map | set an Oracle database parameter for the standby database; set empty string value to delete the parameter(its default value will be used) |
|
|
| boolean | assume source_backup_dir and standby_backup_dir are on a shared file system; skip transferring the backup | false |
|
| string | directory for database backup on source host |
|
|
| boolean | register standby database with Oracle Restart or Clusterware | false |
|
| string | directory for database backup on standby host |
|
|
| boolean | use transportable media for the database backup | false |
|
| boolean | use existing spfile on standby host |
|
|
| boolean | use default values from a saved template | false |
|
{ "params": { "auto_update": true, "auto_update_interval": 600, "configuration_id": 1, "logship": true, "observer": true, "parallel": true, "resume": false, "save_template": false, "service_password": "string", "service_user": "string", "set_param": { "del_key": "", "set_key": "value" }, "shared_space": false, "source_backup_dir": "string", "srvctl": false, "standby_backup_dir": "string", "transportable": false, "use_existing_spfile": false, "use_template": 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 }
Comments