Database Backups and Point-in-Time Recovery

How managed databases are backed up on AWS and GCP, how long backups and point-in-time recovery are kept, and how to change retention or request a restore.

Managed databases are backed up automatically. This page explains how long backups and point-in-time recovery are kept on each cloud, how to change the retention, and how to request a restore or a restore test.

Pick the tab for the cloud your environment runs on.

RDS instances are backed up automatically on a standard retention schedule. If
you need backups kept for longer or shorter, you can override the retention
period from the database Component's configuration in SVIEW.

Default retention period

If you have not set a custom value, automated backups are retained according to
the database's environment:

EnvironmentStandard RDS (Postgres / MySQL / MariaDB / SQL Server)Aurora (Postgres / MySQL)
Production10 days35 days
Staging / SIT4 days4 days
Sandbox7 days7 days
Dev1 day1 day
DRBackups disabledBackups disabled

Aurora clusters use a longer production retention window than standard
(single-instance) RDS. Check which engine your database uses if you are unsure
which column applies.

Backups are disabled on DR instances by design. A DR instance is a copy of a
source database that is already being backed up, so a second automated backup
schedule would duplicate the data and the cost without adding recoverability.

Setting the retention period

Add a variables.backups_retention_period entry to the RDS Component's
configuration, giving the number of days to retain automated backups:

variables:
  backups_retention_period: 21

Click Save. The platform applies the new retention period to the instance.

⚠️

The AWS maximum is 35 days. Any value above that is rejected, so do not set
one. A value of 0 disables automated backups entirely — do not use it on any
instance holding data you need to recover.

If you need a copy retained beyond 35 days, raise a request: that requires
manual or exported snapshots rather than the automated backup window.

Restoring

For non-production databases you can restore from a snapshot yourself — see
RDS Restore from Snapshot. For production, raise a request
and the restore is run with you.

Related articles


Did this page help you?