Skip to content

Commit c3351f3

Browse files
committed
review cx
1 parent a39889a commit c3351f3

File tree

1 file changed

+40
-9
lines changed

1 file changed

+40
-9
lines changed

articles/azure-cache-for-redis/cache-how-to-premium-persistence.md

Lines changed: 40 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about Redis persistence, and how to configure and manage data
44

55
ms.custom: devx-track-azurecli
66
ms.topic: conceptual
7-
ms.date: 04/10/2025
7+
ms.date: 04/21/2025
88
appliesto:
99
- ✅ Azure Cache for Redis
1010
---
@@ -16,6 +16,27 @@ This article describes Redis persistence, and how to configure and manage data p
1616

1717
The ability to persist data is an important way to boost the durability of a cache instance, because it stores all cache data in memory. Persistence should be a key part of your Azure Redis [high availability and disaster recovery](cache-high-availability.md) strategy.
1818

19+
>[!IMPORTANT]
20+
>The data persistence functionality provides resilience for unexpected Redis node failures. Data persistence isn't a data backup or point in time recovery (PITR) feature. If corrupted data is written to the Redis instance, the corrupted data is also persisted. To make backups of your Redis instance, use the [Export](cache-how-to-import-export-data.md) feature.
21+
22+
#### [Premium tier](#tab/premium)
23+
24+
>[!IMPORTANT]
25+
>If you're using persistence on the Premium tier, check to see if your storage account has soft delete enabled before using the data persistence feature. Using data persistence with soft delete causes high storage costs. For more information, see [Should I enable soft delete?](#how-frequently-does-rdb-and-aof-persistence-write-to-my-blobs-and-should-i-enable-soft-delete)
26+
27+
#### [Enterprise tiers](#tab/enterprise)
28+
29+
>[!IMPORTANT]
30+
>The *always write* option for AOF persistence on the Enterprise and Enterprise Flash tiers is retired and no longer recommended. This option had significant performance limitations. Use the *write every second* option or use RDB persistence instead.
31+
32+
---
33+
34+
## Scope of availability
35+
36+
|Tier | Basic, Standard | Premium |Enterprise, Enterprise Flash |
37+
|---------|---------|---------|---------|
38+
|Available | No | Yes | Yes (preview) |
39+
1940
## Types of Redis data persistence
2041

2142
Azure Redis offers two types of data persistence, the *Redis database* (RDB) format and the *Append-only File* (AOF) format.
@@ -26,21 +47,25 @@ Azure Redis offers two types of data persistence, the *Redis database* (RDB) for
2647

2748
## Requirements and limitations
2849

29-
- Data persistence functionality provides resilience for unexpected Redis node failures. Data persistence isn't a data backup or point in time recovery (PITR) feature. If corrupted data is written to the Redis instance, the corrupted data also persists. To back up your Redis instance, use the [export feature](cache-how-to-import-export-data.md).
50+
- Data persistence functionality provides resilience for unexpected Redis node failures. Data persistence isn't a data backup or PITR feature. If corrupted data is written to the Redis instance, the corrupted data also persists. To back up your Redis instance, use the [Export](cache-how-to-import-export-data.md) feature.
51+
52+
- Azure Cache for Redis persistence features are intended to restore data automatically to the same cache after data loss. You can't import persisted data files to a new or existing cache.
53+
54+
- To move data across caches, use the [Import and Export data](cache-how-to-import-export-data.md) features.
3055

31-
- Azure Cache for Redis persistence features are intended to restore data automatically to the same cache after data loss. You can't import persisted data files to a new or existing cache. To move data across caches, use the [Import and Export data](cache-how-to-import-export-data.md) feature. To generate data backups to add to a cache, you can use automated PowerShell or Azure CLI scripts that export data periodically.
56+
- To generate any backups of data that can be added to a new cache, you can use automated scripts using PowerShell or Azure CLI that export data periodically.
3257

3358
- Persistence isn't supported with caches that use [passive geo-replication](cache-how-to-geo-replication.md) or [active geo-replication](cache-how-to-active-geo-replication.md).
3459

3560
#### [Premium tier](#tab/premium)
3661

3762
- On the Premium tier, data is persisted directly to an Azure Storage account that you own and manage.
3863

39-
- The storage account for data persistence must be in the same region as the cache instance. However, you can use a storage account in a different subscription to persist data if you use [managed identity](cache-managed-identity.md) to connect to the storage account.
64+
- The storage account for Premium-tier data persistence must be in the same region as the cache instance. However, you can use a storage account in a different subscription to persist data if you use [managed identity](cache-managed-identity.md) to connect to the storage account.
4065

41-
- It's best to disable the soft delete feature on the storage account you use for data persistence. Using data persistence with soft delete causes high storage costs. For more information, see [Pricing and billing](/azure/storage/blobs/soft-delete-blob-overview) and [Should I enable soft delete?](#how-frequently-does-rdb-and-aof-persistence-write-to-my-blobs-and-should-i-enable-soft-delete)
66+
- It's best to disable the soft delete feature on the storage account you use for Premium-tier data persistence. Using data persistence with soft delete causes high storage costs. For more information, see [Pricing and billing](/azure/storage/blobs/soft-delete-blob-overview) and [Should I enable soft delete?](#how-frequently-does-rdb-and-aof-persistence-write-to-my-blobs-and-should-i-enable-soft-delete)
4267

43-
- RDB files are backed up to storage in the form of page blobs. Page blobs aren't supported in storage accounts with Hierarchical Namespace (HNS) enabled, such as Azure Data Lake Storage Gen2, so persistence tends to fail in those storage accounts.
68+
- RDB files are backed up to storage in the form of page blobs. Page blobs aren't supported in storage accounts with Hierarchical Namespace (HNS) enabled, such as Azure Data Lake Storage Gen2, so persistence tends to fail in those storage accounts.
4469

4570
- On the Premium tier, AOF persistence isn't supported with [multiple replicas](cache-how-to-multi-replicas.md).
4671

@@ -49,11 +74,11 @@ Azure Redis offers two types of data persistence, the *Redis database* (RDB) for
4974
- On the Enterprise and Enterprise Flash tiers, data is persisted to a managed disk attached directly to the cache instance. The location isn't configurable nor accessible to the user. Using a managed disk improves persistence performance.
5075

5176
>[!NOTE]
52-
>The *always write* option for AOF persistence is retired and no longer recommended. This option had significant performance limitations. Use the *write every second* option or use RDB persistence instead.
77+
>The *always write* option for AOF persistence on the Enterprise and Enterprise Flash tiers is retired and no longer recommended. This option had significant performance limitations. Use the *write every second* option or use RDB persistence instead.
5378
5479
---
5580

56-
### Data encryption
81+
## Data encryption
5782

5883
Because Redis persistence creates data at rest, it's important to encrypt this data. Encryption options vary based on the Azure Redis tier you use.
5984

@@ -80,10 +105,13 @@ You can use the Azure portal, Azure Resource Manager (ARM) templates, PowerShell
80105

81106
### Set up data persistence in the Azure portal
82107

83-
In the Azure portal, you can set up data persistence when you create your Azure Redis Premium or Enterprise-level cache instance. You can also add persistence to a previously created cache by navigating to **Data persistence** under **Settings** in the left navigation menu for your cache.
108+
In the Azure portal, you can set up data persistence when you create your Azure Redis Premium or Enterprise-level cache instance.
84109

85110
#### [Premium tier](#tab/premium)
86111

112+
>[!NOTE]
113+
>You can also add persistence to a previously created cache by navigating to **Data persistence** under **Settings** in the left navigation menu for your cache.
114+
87115
1. To create a Premium cache in the [Azure portal](https://portal.azure.com), follow the instructions at [Quickstart: Create an open-source Redis cache](quickstart-create-redis.md), and select **Premium** for the **Cache SKU** on the **Basics** tab.
88116

89117
:::image type="content" source="media/cache-how-to-premium-persistence/create-resource.png" alt-text="Screenshot that shows a form to create an Azure Cache for Redis resource.":::
@@ -121,6 +149,9 @@ With AOF persistence, write operations to the cache save to the named storage ac
121149

122150
#### [Enterprise tiers](#tab/enterprise)
123151

152+
>[!NOTE]
153+
>You can also add persistence to a previously created cache by navigating to **Advanced settings** under **Settings** in the left navigation menu for your cache.
154+
124155
1. To create an Enterprise-level cache in the [Azure portal](https://portal.azure.com), follow the instructions in the [Enterprise tier quickstart guide](quickstart-create-redis-enterprise.md).
125156

126157
1. When you fill out the **Advanced** tab, select either **RDB** or **AOF** persistence for **Backup file** under **(PREVIEW) Data Persistence**.

0 commit comments

Comments
 (0)