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
demandé il y a 6 mois632 vues
1 réponse
2
Réponse acceptée

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
répondu il y a 6 mois
profile picture
EXPERT
vérifié il y a 11 jours
profile picture
EXPERT
vérifié il y a 2 mois
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions