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
  • 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.
LogBackupRetentionPeriod String No Log backup retention days (it can be 7 to 730 days, and cannot be greater than the data backup retention days). When you enable log backup, you can set the number of days that the log backup files are retained. Currently, only MySQL, PostgreSQL, and PPAS instances support this parameter.

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.

Request example
&<Public Request Parameters>

Return example

XML format


JSON format