/apply-logs/sqlserver

Follow

Apply transferred log backups to the standby database

Request

HTTP Method: POST
Content Type: application/json

Parameters

Property

Type

Description

Required

configuration_id

integer(int64)

configuration ID (non-negative)

required

db_file_loc

string map

location for database files on standby host

{
    "params": {
        "configuration_id": 1,
        "db_file_loc": {
            "file_name1": "loc1",
            "file_name2": "loc2"
        }
    }
}

Response

HTTP Status: 200

Content Type: application/json

Response

Property

Type

Description

error

object of type error_response

error response

result

object of type task_response

successful

boolean

response with error or not

error_response

Property

Type

Description

message

string

error message

task_response

Property

Type

Description

task_id

integer(int64)

task ID

{
    "error": {
        "message": "string"
    },
    "result": {
        "task_id": 1
    },
    "successful": true
}

HTTP Status: 400

Content Type: application/json

Response

Property

Type

Description

error

object of type error_response

error response

successful

boolean

always false

error_response

Property

Type

Description

message

string

error message

{
    "error": {
        "message": "string"
    },
    "successful": false
}
Have more questions? Submit a request

Comments