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
Log on to the ApsaraDB for MyBase console.
In the upper-left corner of the page, select the target region.
In the left-side navigation pane, choose .
In the Actions column of the target instance, click Details.
In the lower-right corner of the Basic Information page, view the backup size.
NoteBackups for ApsaraDB MyBase for MySQL instances are free of charge. You will be notified in advance if charges are introduced.
Reduce data backup size
Log on to the ApsaraDB for MyBase console.
In the upper-left corner of the page, select the target region.
In the left-side navigation pane, choose .
In the Actions column of the target instance, click Details.
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.
NoteIf 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.
NoteThe 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
Log on to the ApsaraDB for MyBase console.
In the upper-left corner of the page, select the target region.
In the left-side navigation pane, choose .
In the Actions column of the target instance, click Details.
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.
NoteYou 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.
NoteAfter 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.