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 個答案
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
已回答 2 年前
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

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南