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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인