Backup files occupy backup storage. Each RDS instance is allocated a free quota on backup storage. If the amount of backup storage that you use exceeds the free quota, you are charged for the excess backup storage that you use. If the size of backup files on your RDS instance exceeds the free quota for backup storage, you can increase the storage capacity of your RDS instance or reduce the backup storage of backup files.
Billing
The billing of backup storage varies based on the database engine of an RDS instance. For more information, see the following topics:
Solutions
Use the following solutions to resolve the problem:
Increase the storage capacity of your RDS instance: The free quota is 50% of the storage capacity that you purchased for your RDS instance. Therefore, you can increase the storage capacity to increase the free quota. This is the recommended solution. For more information about how to increase the storage capacity of an RDS instance, see the following topics:
Shorten the backup retention period: You can set the data backup retention period and the log backup retention period to seven days. The system deletes the backup files that are stored for more than seven days to reduce backup storage. For more information, see the following topics:
NoteThe log backup retention period must be shorter than or equal to the data backup retention period.
Reduce the data backup frequency: You can reduce the data backup frequency to two times to three times a week. For data security purposes, you can reduce the backup frequency to at least twice a week. For more information, see the following topics:
NoteBy default, the data of an ApsaraDB RDS for MariaDB instance is backed up on a daily basis. This backup frequency cannot be modified.
Disable the log backup feature: If you do not need the log backup feature for your workloads, you can disable this feature. For more information, see the following topics:
WarningIf you disable this feature, all log backup files are deleted and you cannot restore the data of your RDS instance to a specified point in time. Proceed with caution.
FAQ
Can I upload binary log files to OSS to reduce the backup storage?
After binary log files are uploaded to Object Storage Service (OSS), they are referred to as log backup files. The log backup files occupy the backup storage. Therefore, you cannot reduce your backup storage by uploading binary log files to OSS.