Using AWS Backup
AWS Backup is a web service that you can use to automate data backups and data protection across AWS services. Using this service, you can configure backup policies and monitor backup activity for your AWS resources in one place. AWS Backup supports cross-Region and cross-account backup and restore of data for Amazon DynamoDB, Amazon Simple Storage Service (Amazon S3), and other AWS services. For cross-account backup and restore of DynamoDB tables, the source and target accounts should be part of an AWS Organizations organization.
You can use backup and restore to copy a DynamoDB database across accounts. At a high level, the following steps are required to copy a DynamoDB table from the source account to the target account, where both the accounts are part of an organization.
Turn on the cross-account management feature in AWS Backup for both the accounts.
Create new backup vaults in the source and target accounts.
Create a new DynamoDB table backup from the source account.
After the backup job is completed, copy the backup from the source account to the target account.
Restore the backup in the target account.
For more detailed instructions, see the Copy Amazon DynamoDB tables across accounts using AWS Backup pattern. For more information about AWS Backup for DynamoDB, see the AWS documentation.
Advantages
The process doesn’t consume DynamoDB read capacity units (RCUs) or write capacity units (WCUs).
No new code is required.
You can schedule the backup and restore process.
Disadvantages
Both source and target accounts should be part of an AWS Organizations organization.