Description

This API is used to query a backup policy you set. You can query the backup cycle, backup time, and other details of an instance.

Request parameters

Table 1. Request Parameters
Name Type Required Description
<Common request parameter> - Yes See Public parameters.
Action String Yes Required parameter. Value: DescribeBackupPolicy.
InstanceId String Yes Instance ID

Response parameters

Table 2. Response Parameters
Name Type Description
<Common return parameter> - See Public return parameters.
BackupRetentionPeriod String Backup retention period
PreferredBackupTime String Backup time, in the format of HH:mmZ- HH:mm Z
PreferredBackupPeriod String Backup cycle:
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday
PreferredNextBackupTime String Next backup time

Example

Https://r-kvstore.aliyuncs.com
<Common request parameter>
&Action= DescribeBackupPolicy
&InstanceId= de5d88e34d004211

Response example


"BackupRetentionPeriod":"7"
"PreferredBackupTime":"06:00Z-07:00Z"
"PreferredNextBackupTime":"2017-10-19T06:16Z"
"PreferredBackupPeriod":"Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday"
"RequestId" : "5C97648D-C85F-4D58-A71F-7B6750856BF7”