# Restoring DynamoDB Tables to the Same Cloud Account

You can restore DynamoDB tables to the same region or to a different region on your cloud account. You can restore tables with the same name or a different name. When you restore the tables in place, you restore them to the same path on the same cloud account from which the database was backed up; the restore operation overwrites the source tables on the database.

Note

While restoring the DynamoDB tables, Commvault also restores the auto scaling policies and global tables.

## Before You Begin

If the DynamoDB table is KMS encrypted, make sure that the user has necessary permissions to access the KMS key.

## Procedure

1. From the Command Center navigation pane, go to Protect > Databases.

   The database overview page appears.

2. On the Instances tab, for the database instance that you want to back up, click the action button , and then click Restore.

   The Backup content page appears.

3. Select the backups to restore:

   - To use the latest backup, in the upper-right corner of the page, click Show latest backups.

   - To use a backup from a specific date, in the upper-right corner of the page, click Show backups as of a specific date, and then select the backup.

   - To use a backup from a specific date range, in the upper-right corner of the page, click Show backup for a date range, and then select the backup.

4. Select the data that you want to restore:

   - To restore all of the data, select the check box next to Region.

   - To restore individual tables, click the Region, and then select the check box next to each table that you want to restore.

5. Click Restore.

   The Restore options page appears.

6. Leave the selected cloud account as is. By default, the source cloud account is selected from the Destination cloud account list.

7. In the Number of streams box, type the number of streams to be used by the restore operation.

8. If you want to restore tables that already exist on the destination, move the Overwrite destination tables toggle key to the right.

   If you do not enable this option and a table already exists on the destination, the restore jobs may fail.

9. If you want to restore data with Local Secondary Index (LSI), move the Restore LSI toggle key to the right.

   Note

   LSI restore uses batch write to restore the data. The entire data is written using write units instead of import.

10. To disable the restore with Global Secondary Index (GSI), move the Restore GSI toggle key to the left. By default, it is enabled.

11. If you wan to restore the replicated tables, move the Restore Replica Tables toggle key to the right.

12. If you want to restore to a different region on the selected cloud account, move the Overwrite region toggle key to the right.

13. From the Region list, select the region you want to restore to.

14. If you want to restore to a different table, under Destination table, enter the new table name.

15. In the KMS Key ARN box, enter the KMS encryption key.

16. You can configure a schedule to repeat this restore operation. To create a schedule, do the following:

    1. Click Schedule.

       The Add schedule dialog box appears.

    2. In the Name box, type a name for the schedule.

    3. Configure the Frequency and Repeat parameters.

    4. To specify exceptions to the schedule, click Exceptions.

       The Exceptions dialog box appears.

    5. Configure the exception parameters:

       - You can click Add Exception to save a set of exception parameters and continue adding sets of exception parameters.

       - Click Save when you have finished configuring the exception parameters.

    6. Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.

    7. To save the schedule and return to the restore dialog box, click Schedule.

17. Click Submit.

    The Confirm restore dialog box appears.

18. Click Yes.

## What to Do Next

If any of the following attributes were configured on the DynamoDB table that you restored, then after the restore operation, re-configure the attributes on the restored table.

- Cloudwatch metrics and alarms

- Resource-based policy

×

Loading...