Backup size

更新时间:
复制 MD 格式

Learn how to view and manage the backup size for an ApsaraDB MyBase for MySQL instance.

Backup size = Data backup size + Log backup size

View backup size

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select the target region.

  3. In the left-side navigation pane, choose Instances > MySQL.

  4. In the Actions column of the target instance, click Details.

  5. In the lower-right corner of the Basic Information page, view the backup size.

    Note

    Backups for ApsaraDB MyBase for MySQL instances are free of charge. You will be notified in advance if charges are introduced.

Reduce data backup size

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select the target region.

  3. In the left-side navigation pane, choose Instances > MySQL.

  4. In the Actions column of the target instance, click Details.

  5. In the left-side navigation pane, click Backup and Restoration.

    • Delete data backup files.

      On the Data Backup tab, click Delete for the target backup.

      Note

      If the Delete button is unavailable, it means the backup does not meet one of the following conditions:

      • If log backup is disabled, you can only delete data backups that are older than 7 days.

      • If log backup is enabled, you can only delete data backups that are older than the specified log backup retention period. For example, if the log backup retention period is 7 days, you can delete data backups that have been retained for more than 7 days.

    • Shorten the data backup retention period.

      On the Backup Strategy tab, click Edit next to Basic Backup, and then shorten the Data Backup Retention Period.

      Note

      The system automatically deletes backups that exceed the specified retention period. For example, if a backup has been retained for 31 days and you change the retention period to 30 days, the 31-day-old backup is immediately deleted.

    • Reduce the data backup frequency.

      On the Backup Strategy tab, click Edit next to Basic Backup, and then select a less frequent backup cycle.

Reduce log backup size

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select the target region.

  3. In the left-side navigation pane, choose Instances > MySQL.

  4. In the Actions column of the target instance, click Details.

  5. In the left-side navigation pane, click Backup and Restoration.

    • Shorten the log backup retention period.

      On the Backup Strategy tab, click Edit next to Local Log Retention Policy, and then shorten the Retention Period.

      Note

      You can set the log backup retention period only when log backup is enabled.

    • Disable log backup.

      On the Backup Strategy tab, click Edit next to Basic Backup, and then disable Log Backup.

      Note

      After you disable log backup, the system immediately deletes all existing log backups, and point-in-time recovery becomes unavailable.

    • Reduce unnecessary INSERT, UPDATE, and DELETE operations, and minimize updates to large fields.

      All INSERT, UPDATE, and DELETE operations on the database increase the log backup size.