Using Console
Using CLI
<instance-id>
with the actual ID of your RDS instance:
--backup-retention-period
: Specifies the number of days to retain automated backups. You can adjust this value as needed.--apply-immediately
: This flag ensures that the changes take effect immediately.BackupRetentionPeriod
is set to the desired value and that BackupRetentionPeriod
is not 0
.
Using Python