RDS Replicated Automated Backup Snapshots don't retain DB's tags


The snapshots of our databases, created by Automated Backups, are set to retain the tags associated to the database, and on the primary snapshot, they do. The replicated automated backups do not retain the tags. Is there a way to set it so that the replicated automated backups retain the original databases' tags?

2 Answers

Try using CLI to copy the snapshots cross-region using the copy-db-snapshot command [+] with --copy-tags option. The Manual snapshots created this way should have the original tags attached.

[+] https://docs.aws.amazon.com/cli/latest/reference/rds/copy-db-snapshot.html#copy-db-snapshot

answered 2 years ago

There is no option to tag StartDBInstanceAutomatedBackupsReplication, so I don't think it can retain the original databases' tags at this time. https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartDBInstanceAutomatedBackupsReplication.html

If you copy with AWS Backup instead of Replicated Automated Backup, the original databases' tags will also be copied. https://docs.aws.amazon.com/aws-backup/latest/devguide/cross-region-backup.html

answered 2 years ago

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