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
已提问 6 个月前631 查看次数
1 回答
2
已接受的回答

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
已回答 6 个月前
profile picture
专家
已审核 11 天前
profile picture
专家
已审核 2 个月前
  • 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?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则