You can restore an Azure table for Cassandra API to the same or a different Cosmos DB account in your Azure subscription. You can also restore the tables with the same name or a different name.
Procedure
-
From the navigation pane, go to Protect > Databases.
The Instances page appears.
-
In the row for the instance that you want to back up, click the action button , and then click Restore.
The Backup content page appears.
-
Select the restore copy.
-
To perform restore from the default copy, from the Restore from default copy list, select Restore from default copy.
-
To perform restore from the primary copy, from the Restore from default copy list, select Restore from primary.
-
-
Select the backups to restore.
-
To use the latest backup, from the Showing latest backup list, select Show latest backup.
-
To use a backup from a specific date, from the Showing latest backup list, select Show backup as of a specific date.
-
To use a backup from a specific date range, from the Showing latest backup list, select Show backup for a date range.
-
-
Select the data that you want to restore.
-
To restore all of the data, select the check box next to Cosmos DB account name.
-
To restore individual tables, click on the Cosmos DB account name and then select the check box next to each table that you want to restore.
-
-
Click Restore.
The Restore options dialog box appears.
-
To select a destination cloud account (which could be a different subscription) where you want to restore the data, select a cloud account from Destination cloud account list.
-
To select a Cosmos DB account where you want to restore all the tables, move the Redirect all Tables toggle key to right.
-
To adjust the write throughput on the destination Cosmos DB container to increase the throughput for the duration of the restore, move Adjust write throughput toggle key to the right.
-
In the Number of parallel writers box, enter the number of streams to use.
-
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 setting and a table already exists on the destination, the restore might fail.
-
To restore a table with a different name, under Content, in the Actions column, click the Edit button for the table.
The Edit dialog box appears.
-
In the Destination Keyspace box, enter a destination keyspace for data replication of nodes.
-
Click OK.
-
Click Submit.