AWS DynamoDB Back and Restore
There is no direct way to copy DynamoDB tables as of now. So, we must take a backup and restore the table with a new name. Let's learn.
Step 1: Search DynamoDB from the search bar and Click Tabes on the left side. Select the table from the right that you want to take the backup.
Step 2: Click on the Backup Tab, click the Create Back dropdown below, and select Create an on-demand backup.
Step 3: Create on-demand backup, click the Create Backup button.
It will take approx 5 minutes to take the backup and it will change the status to complete.
Step 6: After completion, you can Go to Dynamo DB from the search bar and you can find the backup there then you can press the restore button.
Step 7: Here you can update the table name that you want and press the restore button.
You can see the request submitted successfully.
Step 8: To check the status, you again can go to AWS backup --> Jobs --> and click Restore Jobs.
Step 9: After completion, you can see a new table Under DynamoDb tables
This way you can create a table copy in the DynamoDB.
That's all about this article, thank you.