Skip to content

Commit 02109e7

Browse files
Merge pull request #269801 from kanshiG/patch-150
Update continuous-backup-restore-resource-model.md
2 parents 03bfe00 + db608f0 commit 02109e7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

articles/cosmos-db/continuous-backup-restore-resource-model.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: kanshiG
55
ms.author: govindk
66
ms.service: cosmos-db
77
ms.topic: conceptual
8-
ms.date: 06/28/2022
8+
ms.date: 03/21/2024
99
ms.reviewer: mjbrown
1010
---
1111

@@ -30,6 +30,9 @@ A new property in the account level backup policy named ``Type`` under the ``bac
3030

3131
This property indicates how the account was created. The possible values are *Default* and *Restore*. To perform a restore, set this value to *Restore* and provide the appropriate values in the `RestoreParameters` property.
3232

33+
### publicNetworkAccess
34+
This property needs to be set to 'Disabled' to restore account without public network access. If this property is not provided, restore of the account will proceed with publicNetworkAccess as `Enabled`.
35+
3336
### RestoreParameters
3437

3538
The `RestoreParameters` resource contains the restore operation details including, the account ID, the time to restore, and resources that need to be restored.
@@ -41,6 +44,7 @@ The `RestoreParameters` resource contains the restore operation details includin
4144
| ``restoreTimestampInUtc`` | Point in time in UTC to restore the account. |
4245
| ``databasesToRestore`` | List of `DatabaseRestoreResource` objects to specify which databases and containers should be restored. Each resource represents a single database and all the collections under that database. For more information, see [restorable SQL resources](#restorable-sql-resources). If this value is empty, then the entire account is restored. |
4346
| ``gremlinDatabasesToRestore`` | List of `GremlinDatabaseRestoreResource` objects to specify which databases and graphs should be restored. Each resource represents a single database and all the graphs under that database. For more information, see [restorable Gremlin resources](#restorable-graph-resources). If this value is empty, then the entire account is restored. |
47+
| ``restoreWithTtlDisabled`` | boolean flag values (true/false) to disable Time-To-Live in the restored account upon completion of the restore. (preview) |
4448
| ``tablesToRestore`` | List of `TableRestoreResource` objects to specify which tables should be restored. Each resource represents a table under that database. For more information, see [restorable Table resources](#restorable-table-resources). If this value is empty, then the entire account is restored. |
4549

4650
### Sample resource
@@ -60,8 +64,10 @@ The following JSON is a sample database account resource with continuous backup
6064
}
6165
],
6266
"createMode": "Restore",
67+
"publicNetworkAccess":"Disabled",
6368
"restoreParameters": {
6469
"restoreMode": "PointInTime",
70+
"restoreWithTtlDisabled" : "true",
6571
"restoreSource": "/subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc",
6672
"restoreTimestampInUtc": "2020-06-11T22:05:09Z",
6773
"databasesToRestore": [
@@ -83,7 +89,7 @@ The following JSON is a sample database account resource with continuous backup
8389
},
8490
"backupPolicy": {
8591
"type": "Continuous"
86-
....
92+
...
8793
}
8894
}
8995
}

articles/cosmos-db/restore-in-account-continuous-backup-resource-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Resource model for same account restore
2+
title: Resource model for same account restore
33
titleSuffix: Azure Cosmos DB
44
description: Review the required parameters and resource model for the same account(in-account) point-in-time restore feature of Azure Cosmos DB.
55
author: kanshiG

0 commit comments

Comments
 (0)