Automate transfer of snapshots from AWS Backup Vault to S3.

0

I will like to be able to transfer the snapshots I created using AWS Backup to S3, then setup policy to transfer them to S3 Glacier so to optimise cost. I have setup AWS Backup to backup the RDS DB instance to a Backup Vault. I need a way to automate the transfer of snapshots from the Backup Vault to S3.

I have read this AWS article on how to export DB snapshot to S3: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html#USER_ExportSnapshot.Exporting but the snapshots must already been listed under the RDS->Snapshot console. For the snapshots created using the AWS Backup, the snapshots are only listed under Backup->Backup Vaults-> Recovery Points, there is no option to export to S3. Those snapshots under Recovery Points do not appear on the RDS->Snapshot console.

I have also read that the lifecyle for Backup Vault does not apply to RDS snapshots (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html). Would this feature be available to RDS soon?

Please advice. Thank you.

profile picture
Lottie
asked 6 months ago593 views
1 Answer
1
Accepted Answer

Hi,

You can explore the solution here at https://github.com/aws-samples/rds-snapshot-export-to-s3-pipeline/blob/master/README.md to setup automatix export of RDS snapshot data to S3.

However note that when you export a DB snapshot, Amazon RDS extracts data from the snapshot and stores it in an Amazon S3 bucket. The data is stored in an Apache Parquet format that is compressed and consistent.

It is not the snapshot that gets exported but the data.

Also there is a reason why RDS snapshots are not available to move into deep archive storage as they are increment in nature.

Review the limitations with exporting RDS snapshot data to S3.

AWS
answered 6 months ago
profile picture
EXPERT
reviewed a month ago
  • If I manually create snapshot with lambda and schedule it to run every day/week, and set policy on the S3 bucket to delete snapshot older than 6months. Would I still able to restore snapshots 5 months old or last week? Are the snapshots manually created (not automated) increment in nature?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions