All Products
Search
Document Center

ApsaraDB RDS:Delete or reduce backup files

Last Updated:Mar 28, 2026

Backup storage costs accumulate as long as backup files exist. To reduce costs for an ApsaraDB RDS for PostgreSQL instance, delete unneeded backup files or reduce the volume of backups generated going forward.

Important

Deleted backup files are permanently removed and cannot be recovered.

Note

Data backup files and log backup files consume backup storage allocated by Alibaba Cloud — not the storage capacity of the RDS instance. To release instance storage instead, see FAQ about storage capacity.

What you can and cannot delete manually

Before you start, confirm which backup types support manual deletion:

Backup typeManual deletionDelete via policy
Manual backupYes — delete individual backup sets from the consoleYes — reduce retention period
Automatic backupNo — cannot be deleted individuallyYes — reduce retention period

Delete or reduce data backup files

Delete data backup files

Delete manually (manual backups only)

To verify whether a backup set is eligible for manual deletion, click the image icon in the Backup Method column. If Manual Backup is displayed, the backup set can be deleted.

  1. Log on to the ApsaraDB RDS console and go to the Instances page. In the top navigation bar, select the region where your instance resides. Then, find the RDS instance and click the instance ID.

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

  3. Click the Base Backups tab, then the Data Backup tab.

  4. Find the backup set and click Delete in the Actions column.

    1

Delete via retention policy (manual and automatic backups)

Shorten the retention period to automatically delete older backup sets. This applies to both manual and automatic backups.

  1. Log on to the ApsaraDB RDS console and go to the Instances page. In the top navigation bar, select the region where your instance resides. Then, find the RDS instance and click the instance ID.

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

  3. Click the Backup Strategy tab.

  4. In the Data Backup Settings section, click Edit and reduce the backup retention period. The minimum retention period is 7 days. Backup sets older than the configured period are deleted automatically.

Reduce data backup files

Lower the backup frequency to generate fewer backup sets going forward.

  1. Log on to the ApsaraDB RDS console and go to the Instances page. In the top navigation bar, select the region where your instance resides. Then, find the RDS instance and click the instance ID.

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

  3. Click the Backup Strategy tab.

  4. In the Data Backup Settings section, click Edit and reduce the backup frequency.

    Note

    Set the backup frequency to at least twice a week to maintain adequate data protection.

Delete log backup files

Log backup frequency cannot be reduced directly. To delete log backup files, either shorten the log backup retention period or disable the log backup feature.

  1. Log on to the ApsaraDB RDS console and go to the Instances page. In the top navigation bar, select the region where your instance resides. Then, find the RDS instance and click the instance ID.

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

  3. Click the Backup Strategy tab.

  4. In the Data Backup Settings section, click Edit, then choose one of the following options:

    • Reduce the log backup retention period — The minimum retention period is 7 days. Log backup sets older than the configured period are deleted automatically.

    • Disable the log backup feature — Existing log backup files are deleted within 1–3 minutes after you disable this feature.

      Warning

      Disabling log backups removes the ability to perform point-in-time recovery (PITR) for your instance.

API reference

OperationDescription
DeleteBackupDeletes data backup files of an instance
ModifyBackupPolicyModifies the backup policy of an instance