You can call this operation to modify a backup plan.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyBackupPlan

The operation that you want to perform. Set the values to ModifyBackupPlan.

BackupTime String Yes 00:30Z

The start time of the backup task each day. The time is displayed in UTC and denoted by Z.

ClusterId String Yes cds-uf6m0bod****6158

The ID of the cluster for the backup.

DataCenterId String Yes cn-shanghai-e

The ID of the data center in the cluster.

BackupPeriod String No Monday, Tuesday

The backup cycle.

Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.

RetentionPeriod Integer No 7

The retention period in the backup plan.

Active Boolean No true

Specifies whether the backup plan is activated.

Response parameters

Parameter Type Example Description
RequestId String FA04A743-6C3F-4C06-A2B7-6B75B9D3D18C

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ModifyBackupPlan
&BackupTime=00:30Z
&ClusterId=cds-uf6m0bod****6158
&DataCenterId=cn-shanghai-e
&<Common request parameters>

Sample success responses

XML format

<ModifyBackupPlanResponse>
  <RequestId>FA04A743-6C3F-4C06-A2B7-6B75B9D3D18C</RequestId>
</ModifyBackupPlanResponse>

JSON format

{
  "RequestId": "FA04A743-6C3F-4C06-A2B7-6B75B9D3D18C"
}

Error codes

For a list of error codes, visit the API Error Center.