RDS Cross Region DR fails with Exception: Cannot copy more than 5 snapshots across regions
You may see the following errors in the CPM logs when cross region RDS DR copies fail to successfully copy to the DR region.
ERROR: cpm_copy_dbsnapshot(aws_rds_utils.py:217) Exception: Cannot copy more than 5 snapshots across regions (SnapshotQuotaExceeded)
INFO: start_copy_region(dr_rds.py:429) RDS DR We reached the max limit of snapshot copy requests for region (your-target-region) (policy Policy_name,in DR account). Exception Cannot copy more than 5 snapshots across regions
To avoid this limitation you can stagger your policies so you are not attempting to copy more than the allowed RDS snapshots cross region at a time. If you have a policy with more than 5 RDS databases in it then you can split them up into separate policies. Also check to ensure that you do not have any errors in AWS, to do this check your RDS snapshots in the target region to see if any of them seem stuck or have a status of "error" or "pending" for a long time, they may need to be deleted.
Related Articles
Cross region copy of RDS snapshots may fail with error: RDS DR copy snapshot failed (in Backup account). No matching KMS alias in target region
Issue: The Following error may appear in the CPM Server logs: ERROR: start_copy_region(dr_rds.py:301) RDS DR copy snapshot failed (in Backup account). No matching KMS alias on target region (source EU (Frankfurt), target Asia Pacific ...
Replication of RDS snapshots may fail with "Cross region snapshot copy is not supported for TDE encrypted snapshots"
================================================================================================= As of June 13 2007, AWS has fixed this issue: ...
Cross Account and Cross region DR of encrypted RDS may fail
If cross region and cross account of encrypted RDS is successful in 3 copies (local backup, cross region in the same account and same region cross account) but it fails in the cross region cross account backup, although the KMS key exists, please ...
Cross-region DR copy of encrypted snapshot may fail with "Copy failed due to an AWS limitation regarding default encryption key” error
DR of encrypted snapshots may fail with the following error in the Backup log: Error - <DR Policy>, copy snapshot failed (in Backup account) due to an AWS limitation regarding default encryption key source <source region>, target <target region>, ...
Cross-Region DR RDS backup may fail with "Copy failed due to an AWS limitation regarding default encryption key” error
RDS DR backup of encrypted snapshots between different regions may fail with the following error in the Backup log: Error - RDS DR, copy snapshot failed (to DR account) due to an AWS limitation regarding default encryption key (source US East (Ohio), ...