Enable multi-region backup on your RDS instances with AWS Backup

Learn how to enable the multi-region backup on your RDS instance (PostgreSQL, MySQL) via the AWS Backup feature

Managed RDS instances deployed with Qovery have by default a backup option enabled on the same region where the RDS instance is located. However, for enhanced disaster recovery and compliance purposes, you may need to set up multi-region backups. This guide will help you configure an AWS Backup job to create additional backups of your RDS instances in a different region. Multi-region backups provide several benefits:

  • Improved disaster recovery: If one AWS region becomes unavailable, you can restore your database from a backup in another region.
  • Compliance: Some regulations require data to be backed up in geographically distinct locations.
  • Data migration: Multi-region backups can facilitate moving your database to a different region if needed.

For more information about AWS Backup, have a look at this documentation.

How to configure

Make sure you have already your Managed Database (RDS PostgreSQL or MySQL) deployed with Qovery

1. Create an AWS Backup Plan

Go to the AWS Console and follow this guide to create your AWS Backup plan. For the setup, you can use the default settings but take into account the following points:

  • Vault: you can use the default vault as long as you don't have any additional security requirement (share snapshots externally etc.)
  • Start time: update the start time based on your needs
  • Total retention period: update the retention period for the snapshots based on your needs
  • Copy to destination: at this step, select the region where you want to create the database snapshot

Press Create Plan

2. Assign resources

On the next step, we will define the resource that this backup job should target:

  1. Select the option "Include specific resource types"
  2. In the dropdown list for "Select specific resource types", select "RDS"
  3. (Optional) if you don't want this plan to run on every RDS instance, uncheck the option "All databases" and select the databases from the dropdown list
  4. Press "Assign Resources"

Checking the new backups

Now, based on your schedule, you should see backup jobs starting and creating backups in the selected vault:

  1. Select the region where the backup should be created
  2. Open the "Vault" section on the right
  3. Select the vault that the AWS backup job should target
  4. Verify that new "Recovery points" have been created

Vault Backup location

From this page you can restore a backup (refer to the AWS documentation for more information).