edit-icon download-icon

DescribeBackupPolicy

Last Updated: Mar 21, 2018

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

Name Type Required Description
Common request parameters - Yes For more information, see Common request parameters.
Action String Yes Required parameter. Value: DescribeBackupPolicy.
InstanceId String Yes Instance ID

Response parameters

Name Type Description
Common return parameters - For more information, see Common 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

Request example

  1. https://r-kvstore.aliyuncs.com
  2. ?<Common request parameters>
  3. &Action= DescribeBackupPolicy
  4. &InstanceId= de5d88e34d004211

Response example

  1. {
  2. "BackupRetentionPeriod":"7"
  3. "PreferredBackupTime":"06:00Z-07:00Z"
  4. "PreferredNextBackupTime":"2017-10-19T06:16Z"
  5. "PreferredBackupPeriod":"Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday"
  6. "RequestId" : "5C97648D-C85F-4D58-A71F-7B6750856BF7
  7. }
Thank you! We've received your feedback.