You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/restore-account-continuous-backup.md
+54-50Lines changed: 54 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,9 +150,9 @@ Restore-AzCosmosDBAccount `
150
150
```
151
151
If `PublicNetworkAccess` is not set, restored account is accessible from public network, please ensure to pass Disabled to the `PublicNetworkAccess` option to disable public network access for restored account.
152
152
153
-
[NOTE]
153
+
> [!NOTE]
154
154
> For restoring with public network access disabled, you'll need to install the preview of powershell module of CosmosDB by executing `Install-Module -Name Az.CosmosDB -AllowPrerelease`. You would also require version 5.1 of the Powershell.
155
-
>
155
+
156
156
**Example 2:** Restoring specific collections and databases. This example restores the collections *MyCol1*, *MyCol2* from *MyDB1* and the entire database *MyDB2*, which, includes all the containers under it.
#### Find databases or graphs that can be restored at any given timestamp
355
354
356
355
Use the following command to get the list of databases or graphs that can be restored at any given timestamp. This command only works with live accounts.
If `public-network-access` is not set, restored account is accessible from public network, please ensure to pass Disabled to the `public-network-access` option to disable public network access for restored account.
422
+
```
423
+
If `public-network-access` is not set, restored account is accessible from public network, please ensure to pass Disabled to the `public-network-access` option to `False` public network access for restored account.
424
+
425
+
> [!NOTE]
426
+
> For restoring with public network access disabled, you'll need to install the cosmosdb-preview 0.23.0 of CLI extension by executing `az extension update --name cosmosdb-preview `. You would also require version 2.17.1 of the CLI.
425
427
426
-
> [NOTE]
427
-
> For restoring with public network access disabled, you'll need to install the cosmosdb-preview 0.23.0 of CLI extension by executing `az extension update --name cosmosdb-preview `. You would also require version 2.17.1 of the CLI.
428
428
429
429
430
430
#### Create a new Azure Cosmos DB account by restoring only selected databases and containers from an existing database account
### <aid="get-the-restore-details-cli"></a>Get the restore details from the restored account
472
472
@@ -664,6 +664,8 @@ az cosmosdb mongodb restorable-resource list \
664
664
665
665
666
666
667
+
668
+
667
669
#### List all the versions of databases in a live database account
668
670
The enumeration commands described below help you discover the resources that are available for restore at various timestamps. Additionally, they also provide a feed of key events on the restorable account, database, and graph resources. These commands only work for live accounts.
669
671
@@ -689,7 +691,7 @@ This command output now shows when a database was created and deleted.
689
691
690
692
}
691
693
]
692
-
```
694
+
```
693
695
694
696
#### List all the versions of Gremlin graphs of a database in a live database account
695
697
@@ -716,7 +718,7 @@ This command output shows includes list of operations performed on all the conta
0 commit comments