This topic describes how to delete the backup files or reduce the backup frequency of an ApsaraDB RDS for MySQL instance. For more information, see Billing.

Delete data backup files or reduce the data backup frequency

  • Delete data backup files.
    1. Visit the RDS instance list, select a region above, and click the target instance ID.
    2. In the left-side navigation pane, click Backup and Restoration.
    3. On the Data Backup tab, find the data backup file that you want to delete, and click Delete in the Actions column.
      Note If you cannot find the Delete button, you can check whether the following requirements are met:
      • If the log backup feature is disabled, you can delete only the data backup files that are retained for more than seven days.
      • If the log backup feature is enabled, you can delete only the data backup files that are retained for longer than the specified log backup retention period. For example, if you set the log backup retention period to seven days, you can delete the data backup files that are retained for more than seven days.
  • Configure a policy that allows ApsaraDB RDS to automatically delete data backup files.
    1. Visit the RDS instance list, select a region above, and click the target instance ID.
    2. In the left-side navigation pane, click Backup and Restoration.
    3. On the Backup Settings tab, click Edit. In the Backup Settings dialog box, reduce the data backup retention period.

      ApsaraDB RDS deletes the data backup files that are stored for longer than the specified data backup retention period. For example, if you set the data backup retention period of your RDS instance to 30 days, ApsaraDB RDS immediately deletes the data backup files that have been retained for more than 30 days on your RDS instance.

  • Reduce the data backup frequency.
    1. Visit the RDS instance list, select a region above, and click the target instance ID.
    2. In the left-side navigation pane, click Backup and Restoration.
    3. On the Backup Settings tab, click Edit. In the Backup Settings dialog box, reduce the data backup frequency.
  • Delete or migrate the data that does not need to be backed up.

Delete log backup files or reduce the log backup frequency

  • Reduce the log backup retention period.
    1. Visit the RDS instance list, select a region above, and click the target instance ID.
    2. In the left-side navigation pane, click Backup and Restoration.
    3. On the Backup Settings tab, click Edit. In the Backup Settings dialog box, reduce the log backup retention period.
      For example, if you set the log backup retention period of your RDS instance to 30 days, ApsaraDB RDS immediately deletes the log backup files that have been retained for more than 30 days on your RDS instance.
      Note You can set the log backup retention period only when the log backup feature is enabled.
  • Disable the log backup feature.
    1. Visit the RDS instance list, select a region above, and click the target instance ID.
    2. In the left-side navigation pane, click Backup and Restoration.
    3. On the Backup Settings tab, click Edit. In the Backup Settings dialog box, disable the log backup feature.
      Note After the log backup feature is disabled, ApsaraDB RDS immediately deletes all log backup files. You cannot restore the data of your RDS instance to a specific point in time.
  • Reduce unnecessary add, delete, and update operations, especially the update operations on large fields.
    Add, delete, and update operations increase the total size of log backup files.
    Note You can use the SQL Explorer feature to view the add, delete, update, and query operations that are performed on your RDS instance. For more information, see Use the SQL Explorer feature on an ApsaraDB RDS for MySQL instance.

Related operations

Operation Description
DeleteBackup Deletes one or more data backup files from an ApsaraDB RDS instance.
ModifyBackupPolicy Modifies the automatic backup settings of an ApsaraDB RDS instance.