Restoring Azure Cosmos DB Tables

You can restore an Azure table 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. Click on the Cosmos DB Table API instance name.

  3. In the Recovery points section, select a date that contains a backup, and then click Restore.

    Dates with a grey circle indicate that a backup exists for that day. You can also select the time range or a specific time of the backup.

    The Backup content page appears.

  4. Select the backups to restore.

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

    • To use a backup from a specific date, in the upper-right corner of the page, click Show backup 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.

  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. In the Number of parallel writers box, enter the number of streams to use.

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

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

  10. To change the Cosmos DB account, in the Destination Cosmos DB account box, select a new Cosmos DB account name.

  11. To change the table name, in the Destination table box, type a new name.

  12. Click OK.

  13. Click Submit.

Loading...