|
1 | 1 | ### YamlMime:FAQ
|
2 | 2 | metadata:
|
3 |
| - title: Frequently asked questions about Azure Cosmos DB continuous backup |
| 3 | + title: Frequently asked questions about continuous backup |
| 4 | + titleSuffix: Azure Cosmos DB |
4 | 5 | description: This article lists frequently asked questions about the Azure Cosmos DB point-in-time restore feature that's available in continuous backup mode.
|
5 | 6 | author: kanshiG
|
6 |
| - ms.service: cosmos-db |
7 |
| - ms.custom: ignite-2022 |
8 |
| - ms.topic: faq |
9 |
| - ms.date: 04/14/2022 |
10 | 7 | ms.author: govindk
|
11 | 8 | ms.reviewer: mjbrown
|
| 9 | + ms.topic: faq |
| 10 | + ms.service: cosmos-db |
| 11 | + ms.date: 04/19/2023 |
| 12 | + ms.custom: ignite-2022 |
12 | 13 | title: Frequently asked questions about the Azure Cosmos DB continuous backup
|
13 | 14 | summary: |
|
14 | 15 | [!INCLUDE[NoSQL, MongoDB, Gremlin, Table](includes/appliesto-nosql-mongodb-gremlin-table.md)]
|
15 | 16 |
|
16 | 17 | This article lists frequently asked questions about the Azure Cosmos DB point-in-time restore functionality that's available in continuous backup mode.
|
17 |
| - |
18 |
| -
|
19 | 18 | sections:
|
20 | 19 | - name: Ignored
|
21 | 20 | questions:
|
22 | 21 | - question: |
|
23 | 22 | How much time does it takes to restore?
|
24 | 23 | answer: |
|
25 | 24 | Restore time is a function of the data size, the amount of log backup that needs to be replayed, and the number of partitions that need to be restored. Restoring 1 terabyte of data typically takes 30 to 90 minutes.
|
26 |
| -
|
27 | 25 | - question: |
|
28 | 26 | Can I submit the restore time in local time?
|
29 | 27 | answer: |
|
30 |
| - The restore might not happen, depending on whether key resources like databases or containers existed at that time. You can verify by entering the time and looking at a selected database or container for that time. If no resources exist to restore, the restore process won't work. |
31 |
| -
|
| 28 | + The restore might not happen, depending on whether key resources like databases or containers existed at that time. You can verify by entering the time and looking at a selected database or container for that time. If that is no resources exist to restore, the restore process doesn't work. |
32 | 29 | - question: |
|
33 | 30 | How can I track the restoration of an account?
|
34 | 31 | answer: |
|
35 |
| - After you submit the restore command and wait on the page, the status bar shows a message about a successfully restored account when the operation finishes. You can also search for the restored account and [track its status](restore-account-continuous-backup.md#track-restore-status). While the restore is in progress, the account status is **Creating**. After the restore operation finishes, the account status changes to **Online**. |
36 |
| - |
37 |
| - For PowerShell and the Azure CLI, you can track the progress of a restore operation by using the `az cosmosdb show` command: |
38 |
| - |
39 |
| - ```azurecli-interactive |
40 |
| - az cosmosdb show --name "accountName" --resource-group "resourceGroup" |
41 |
| - ``` |
42 |
| - |
43 |
| - The `provisioningState` value is `Succeeded` when the account is online. |
44 |
| - |
45 |
| - ```json |
46 |
| - { |
47 |
| - "virtualNetworkRules": [], |
48 |
| - "writeLocations" : [ |
49 |
| - { |
50 |
| - "documentEndpoint": "https://<accountname>.documents.azure.com:443/", |
51 |
| - "failoverpriority": 0, |
52 |
| - "id": "accountName" , |
53 |
| - "isZoneRedundant" : false, |
54 |
| - "locationName": "West US 2", |
55 |
| - "provisioningState": "Succeeded" |
56 |
| - } |
57 |
| - ] |
58 |
| - } |
59 |
| - ``` |
60 |
| - |
| 32 | + [!INCLUDE[](includes/continuous-backup-restore-frequently-asked-questions-restore-progress-commands.md)] |
61 | 33 | - question: |
|
62 | 34 | How can I find out whether a continuous backup mode account was restored from another account?
|
63 | 35 | answer: |
|
64 |
| - You can identify whether an account is restored and get the restore details by using the [Azure portal](restore-account-continuous-backup.md#get-the-restore-details-portal), [Azure PowerShell](restore-account-continuous-backup.md#get-the-restore-details-powershell), and the [Azure CLI](restore-account-continuous-backup.md#get-the-restore-details-cli). |
65 |
| - |
| 36 | + You can identify whether an account is restored and gets the restore details by using the [Azure portal](restore-account-continuous-backup.md#get-the-restore-details-portal), [Azure PowerShell](restore-account-continuous-backup.md#get-the-restore-details-powershell), and the [Azure CLI](restore-account-continuous-backup.md#get-the-restore-details-cli). |
66 | 37 | - question: |
|
67 |
| - What is the use of instanceId in the account definition? |
| 38 | + What is the use of `instanceId` in the account definition? |
68 | 39 | answer: |
|
69 |
| - At any point in time, an Azure Cosmos DB account's `accountName` property is globally unique while it's alive. After the account is deleted, it's possible to create another account with the same name. If that happens, `accountName` is no longer enough to identify an instance of an account. |
70 |
| - |
71 |
| - The instance ID, or `instanceId`, is a property of an instance of an account. It's used to disambiguate across multiple accounts (live and deleted) if they have same name for restore. You can get the instance ID by running the `Get-AzCosmosDBRestorableDatabaseAccount` or `az cosmosdb restorable-database-account` command. The name attribute value denotes the instance ID. |
72 |
| - |
| 40 | + [!INCLUDE[](includes/continuous-backup-restore-frequently-asked-questions-instanceid.md)] |
73 | 41 | - question: |
|
74 | 42 | Is continuous backup supported for Azure Synapse Link enabled accounts?
|
75 | 43 | answer: |
|
76 |
| -
|
77 | 44 | No. Currently, continuous backup mode and Azure Synapse Link can't coexist in the same database account.
|
78 |
| - - question: | |
79 |
| - Is continuous backup mode supported for API for Table or Gremlin? |
80 |
| - answer: | |
81 |
| -
|
82 |
| - Yes, currently it is in preview and restore is supported from PowerShell and the Azure CLI. |
83 | 45 | additionalContent: |
|
84 |
| -
|
85 | 46 | ## Next steps
|
86 | 47 |
|
87 | 48 | * Learn more about [continuous backup](continuous-backup-restore-introduction.md) mode.
|
|
0 commit comments