Restoring Azure Cosmos DB Tables

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

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

    The Instances page appears.

  2. In the row for the instance that you want to back up, click the action button action_button, and then click Restore.

    The Backup content page appears.

  3. 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.

  4. 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.

  5. 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.

  6. Click Restore.

    The Restore options dialog box appears.

  7. 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.

  8. To select a Cosmos DB account where you want to restore all the tables, move the Redirect all Tables toggle key to right.

  9. 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.

  10. In the Number of parallel writers box, enter the number of streams to use.

  11. 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.

  12. 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.

  13. In the Destination Keyspace box, enter a destination keyspace for data replication of nodes.

  14. Click OK.

  15. Click Submit.

Loading...