Skip to content

Commit 3003f60

Browse files
committed
Freshness on Disaster Recovery conceptual article
1 parent 9373c84 commit 3003f60

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/azure-app-configuration/concept-disaster-recovery.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: lisaguthrie
55
ms.author: lcozzens
66
ms.service: azure-app-configuration
77
ms.topic: conceptual
8-
ms.date: 05/29/2019
8+
ms.date: 02/20/2020
99
---
1010

1111
# Resiliency and disaster recovery
@@ -22,7 +22,7 @@ Your application loads its configuration from both the primary and secondary sto
2222

2323
## Failover between configuration stores
2424

25-
Technically, your application isn't executing a failover. It's attempting to retrieve the same set of configuration data from two App Configuration stores simultaneously. Arrange your code so that it loads from the secondary store first and then the primary store. This approach ensures that the configuration data in the primary store takes precedence whenever it's available. The following code snippet shows how you can implement this arrangement in the .NET Core CLI:
25+
Technically, your application isn't executing a failover. It's attempting to retrieve the same set of configuration data from two App Configuration stores simultaneously. Arrange your code so that it loads from the secondary store first and then the primary store. This approach ensures that the configuration data in the primary store takes precedence whenever it's available. The following code snippet shows how you can implement this arrangement in .NET Core:
2626

2727
#### [.NET Core 2.x](#tab/core2x)
2828

@@ -65,17 +65,18 @@ From the Azure portal, you can push a change to another configuration store by f
6565

6666
1. Go to the **Import/Export** tab, and select **Export** > **App Configuration** > **Target** > **Select a resource**.
6767

68-
2. In the new blade that opens, specify the subscription, resource group, and resource name of your secondary store, and then select **Apply**.
68+
1. In the new blade that opens, specify the subscription, resource group, and resource name of your secondary store, then select **Apply**.
6969

70-
3. The UI is updated so that you can choose what configuration data you want to export to your secondary store. You can leave the default time value as is and set both **From label** and **To label** to the same value. Select **Apply**.
70+
1. The UI is updated so that you can choose what configuration data you want to export to your secondary store. You can leave the default time value as is and set both **From label** and **To label** to the same value. Select **Apply**.
7171

72-
4. Repeat the previous steps for all configuration changes.
72+
1. Repeat the previous steps for all configuration changes.
7373

7474
To automate this export process, use the Azure CLI. The following command shows how to export a single configuration change from the primary store to the secondary:
7575

76+
```azurecli
7677
az appconfig kv export --destination appconfig --name {PrimaryStore} --label {Label} --dest-name {SecondaryStore} --dest-label {Label}
78+
```
7779

7880
## Next steps
7981

8082
In this article, you learned how to augment your application to achieve geo-resiliency during runtime for App Configuration. You also can embed configuration data from App Configuration at build or deployment time. For more information, see [Integrate with a CI/CD pipeline](./integrate-ci-cd-pipeline.md).
81-

0 commit comments

Comments
 (0)