/sync/oracle
Synchronize databases using incremental backups
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
---|---|---|---|
| integer(int64) | configuration ID (non-negative) | required |
| boolean | resume a prior sync operation |
|
| string | directory for database backup on source host |
|
| string | directory for database backup on standby host |
|
| boolean | synchronize lag |
|
| boolean | synchronize no-logging operations |
|
| boolean | use transportable media for the database backup |
|
{
"params": {
"configuration_id": 1,
"resume": false,
"source_backup_dir": "string",
"standby_backup_dir": "string",
"sync_lag": false,
"sync_nologging": false,
"transportable": 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
}