Skip to content

Commit 88d6266

Browse files
authored
Update restore-account-continuous-backup.md
Removed preview note for gremlin/table, fixed the arm template, fixed the cli/ps versions.
1 parent bd202e8 commit 88d6266

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

articles/cosmos-db/restore-account-continuous-backup.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to identify the restore time and restore a live or delete
44
author: kanshiG
55
ms.service: cosmos-db
66
ms.topic: how-to
7-
ms.date: 04/18/2022
7+
ms.date: 03/31/2023
88
ms.author: govindk
99
ms.reviewer: mjbrown
1010
ms.custom: devx-track-azurepowershell, devx-track-azurecli, ignite-2022
@@ -17,8 +17,7 @@ Azure Cosmos DB's point-in-time restore feature helps you to recover from an acc
1717

1818
This article describes how to identify the restore time and restore a live or deleted Azure Cosmos DB account. It shows restore the account using [Azure portal](#restore-account-portal), [PowerShell](#restore-account-powershell), [CLI](#restore-account-cli), or an [Azure Resource Manager template](#restore-arm-template).
1919

20-
> [!NOTE]
21-
> Currently in preview, the restore action for API for Table and Gremlin is supported via PowerShell and the Azure CLI.
20+
2221

2322
## <a id="restore-account-portal"></a>Restore an account using Azure portal
2423

@@ -107,7 +106,7 @@ Use the following steps to get the restore details from Azure portal:
107106

108107
## <a id="restore-account-powershell"></a>Restore an account using Azure PowerShell
109108

110-
Before restoring the account, install the [latest version of Azure PowerShell](/powershell/azure/install-az-ps) or version higher than 6.2.0. Next connect to your Azure account and select the required subscription with the following commands:
109+
Before restoring the account, install the [latest version of Azure PowerShell](/powershell/azure/install-az-ps) or version higher than 9.6.0. Next connect to your Azure account and select the required subscription with the following commands:
111110

112111
1. Sign into Azure using the following command:
113112

@@ -198,7 +197,7 @@ To restore Customer Managed Key (CMK) continuous account please refer to the ste
198197

199198
### <a id="get-the-restore-details-powershell"></a>Get the restore details from the restored account
200199

201-
Import the `Az.CosmosDB` module and run the following command to get the restore details. The restoreTimestamp will be under the restoreParameters object:
200+
Import the `Az.CosmosDB` module version 1.10.0 and run the following command to get the restore details. The restoreTimestamp will be under the restoreParameters object:
202201

203202
```azurepowershell
204203
Get-AzCosmosDBAccount -ResourceGroupName MyResourceGroup -Name MyCosmosDBDatabaseAccount
@@ -391,8 +390,8 @@ Before restoring the account, install Azure CLI with the following steps:
391390

392391
1. Install the latest version of Azure CLI
393392

394-
* Install the latest version of [Azure CLI](/cli/azure/install-azure-cli) or version higher than 2.26.0.
395-
* If you have already installed CLI, run `az upgrade` command to update to the latest version. This command will only work with CLI version higher than 2.11. If you have an earlier version, use the above link to install the latest version.
393+
* Install the latest version of [Azure CLI](/cli/azure/install-azure-cli) or version higher than 2.46.0.
394+
* If you have already installed CLI, run `az upgrade` command to update to the latest version. This command will only work with CLI version higher than 2.46.0. If you have an earlier version, use the above link to install the latest version.
396395

397396
1. Sign in and select your subscription
398397

@@ -854,12 +853,12 @@ Use the following ARM template to restore an account for the Azure Cosmos DB API
854853
"restoreSource": "/subscriptions/2296c272-5d55-40d9-bc05-4d56dc2d7588/providers/Microsoft.DocumentDB/locations/West US/restorableDatabaseAccounts/5cb9d82e-ec71-430b-b977-cd6641db85bc",
855854
"restoreMode": "PointInTime",
856855
"restoreTimestampInUtc": "2021-10-27T23:20:46Z",
857-
"gremlinDatabasesToRestore": {
856+
"gremlinDatabasesToRestore": [{
858857
"databaseName": "db1",
859858
"graphNames": [
860859
"graph1", "graph2"
861860
]
862-
}
861+
}]
863862
}
864863
}
865864
}

0 commit comments

Comments
 (0)