Call the EnableBackupLog to enable incremental backup in a backup schedule.
Impacts
No fees are incurred when you enable incremental backup. However, you are charged for the backup traffic and storage capacity that are generated by incremental backup. These billing standards are the same as those for full backup, and they can be deducted from the backup plan or storage package free quota.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | EnableBackupLog |
The operation that you want to perform. Valid values: EnableBackupLog. |
BackupPlanId | String | Yes | dbstooi01xxxx |
The ID of the backup plan. You can call DescribeBackupPlanList query. |
RegionId | String | No | cn-hangzhou |
The region ID of the resource. You can call DescribeRegions query. |
ClientToken | String | No | dbs |
A string. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
BackupPlanId | String | dbstooi01xxxx |
The ID of the backup plan. |
ErrCode | String | Param.NotFound |
The error code. |
ErrMessage | String | findValidDBSJob error |
The returned message. |
HttpStatusCode | Integer | 200 |
The HTTP status code. |
NeedPrecheck | Boolean | false |
Whether the modification will trigger a PreCheck. Valid values:
|
RequestId | String | D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
The ID of the request. |
Success | Boolean | true |
Indicates whether the execution was successful. Valid values:
|
Examples
Sample requests
http(s)://dbs-api.cn-hangzhou.aliyuncs.com/? Action=EnableBackupLog
&BackupPlanId=dbstooi01xxxx
&<Common request parameters>
Sample success responses
XML
format
<RequestId>D6E068C3-25BC-455A-85FE-45F0B22ECB1F</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<BackupPlanId>dbstooi01xxxx</BackupPlanId>
<NeedPrecheck>false</NeedPrecheck>
<ErrMessage>findValidDBSJob error</ErrMessage>
<Success>true</Success>
<ErrCode>Param.NotFound</ErrCode>
JSON
format
{"RequestId":"D6E068C3-25BC-455A-85FE-45F0B22ECB1F","HttpStatusCode":"200","BackupPlanId":"dbstooi01xxxx","NeedPrecheck":"false","ErrMessage":"findValidDBSJob error","Success":"true","ErrCode":"Param.NotFound"}
Error codes
For a list of error codes, visit the API Error Center.