Modify the backup policy

Last Updated: Sep 18, 2017

Description

Modify the backup policy. The RDS system periodically backs up instances according to the user-defined system configuration.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: ModifyBackupPolicy.
DBInstanceId String Yes Instance ID.
PreferredBackupTime String Yes Backup time, in the format ofHH:mmZ- HH:mm Z.
PreferredBackupPeriod String Yes Backup period. Values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
BackupRetentionPeriod String No Retention days of the backup (7 to 730 days). The default value is 7 days.
BackupLog String No The default value is Enable. You can change it to Disabled.

Return parameters

Name Type Description
<Public Return Parameters> None For details, see Public parameters.

Example

  • Request example

    1. https://rds.aliyuncs.com/?Action=ModifyBackupPolicy
    2. &DBInstanceId=riauvjz6zajfiq6ba1370329449201
    3. &PreferredBackupTime=00:00Z01:00Z
    4. &PreferredBackupPeriod=Monday
    5. &<Public Request Parameters>
  • Return example

    XML format:

    1. <CreateBackupResponse>
    2. <RequestId>DA147739-AEAD-4417-9089-65E9B1D8240D</RequestId>
    3. </CreateBackupResponse>

    JSON format:

    1. {
    2. "RequestId":"DA147739-AEAD-4417-9089-65E9B1D8240D"
    3. }
Thank you! We've received your feedback.