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

1

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 Antworten
1

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

AWS
D-Rao
beantwortet vor 2 Jahren
0

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

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen