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년 전

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

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

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

관련 콘텐츠