04 July,2023 by Rambler
Question: In Region 1 The DynamoDB tables are being backed up to the MyBackupVault (Region1) And I can see the backups in the MyBackupVault (Region1)
But if I check the matching MyBackupVault in Region2 , the DynamoDB tables are not replicating . Note: RDS works OK for replication
aws backup list-recovery-points-by-backup-vault --backup-vault-name MyBackupVault --by-resource-type DynamoDB --query "RecoveryPoints[].[ResourceName,CreationDate]" --region Region2
[]
aws backup list-recovery-points-by-backup-vault --backup-vault-name MyBackupVault --by-resource-type DynamoDB --query "RecoveryPoints[].[ResourceName,CreationDate]" --region Region1
[
[
"MyDynamoDB1",
"2023-07-04T03:00:00+01:00"
]
During the Copy phase of the job , this is the error message we're seeing :
Copy job from Region1 to Region 2 cannot be initiated for DynamoDB resources. Feature is not supported for provided resource type.
This work is part of a wider project for Creating backup copies across AWS Regions
Answered:
DynamoDB without the Advanced Backup Feature enabled is not a supported feature for DynamoDB replication
Check that Advanced feature is configured for your AWS Backup setup
aws backup describe-region-settings
{
"ResourceTypeOptInPreference": {
"Aurora": true,
"CloudFormation": false,
"DocumentDB": false,
"DynamoDB": true,
"EBS": true,
"EC2": true,
"EFS": true,
"FSx": true,
"Neptune": false,
"RDS": true,
"Redshift": false,
"S3": true,
"SAP HANA on Amazon EC2": false,
"Storage Gateway": false,
"Timestream": false,
"VirtualMachine": false
},
"ResourceTypeManagementPreference": {
"DynamoDB": true,
"EFS": true
}
}
If "DynamoDB":true
under both "ResourceTypeManagementPreference"
and "ResourceTypeOptInPreference"
, you have already enabled advanced DynamoDB backup. For detailed information check Advanced DynamoDB backup
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |