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 Risposte
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
con risposta 2 anni fa
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

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande