Skip to content

Commit 9f6fad7

Browse files
Merge pull request #230320 from flang-msft/fxl---Redis-cache-data-export-to-Firewall-enabled-storage-accounts
Fxl---redis cache data export to firewall enabled storage accounts
2 parents 7e08742 + 599780a commit 9f6fad7

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

articles/azure-cache-for-redis/cache-how-to-import-export-data.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to import and export data to and from blob storage with y
44
author: flang-msft
55
ms.service: cache
66
ms.topic: conceptual
7-
ms.date: 01/31/2023
7+
ms.date: 03/10/2023
88
ms.author: franlanglois
99

1010
---
@@ -23,7 +23,7 @@ For information on which Azure Cache for Redis tiers support import and export,
2323

2424
## Import
2525

26-
Use import to bring Redis compatible RDB files from any Redis server running in any cloud or environment, including Redis running on Linux, Windows, or any cloud provider such as Amazon Web Services and others. Importing data is an easy way to create a cache with pre-populated data. During the import process, Azure Cache for Redis loads the RDB files from Azure storage into memory and then inserts the keys into the cache.
26+
Use import to bring Redis compatible RDB files from any Redis server running in any cloud or environment, including Redis running on Linux, Windows, or any cloud provider such as Amazon Web Services and others. Importing data is an easy way to create a cache with prepopulated data. During the import process, Azure Cache for Redis loads the RDB files from Azure storage into memory and then inserts the keys into the cache.
2727

2828
> [!NOTE]
2929
> Before beginning the import operation, ensure that your Redis Database (RDB) file or files are uploaded into page or block blobs in Azure storage, in the same region and subscription as your Azure Cache for Redis instance. For more information, see [Get started with Azure Blob storage](../storage/blobs/storage-quickstart-blobs-dotnet.md). If you exported your RDB file using the [Azure Cache for Redis Export](#export) feature, your RDB file is already stored in a page blob and is ready for importing.
@@ -76,6 +76,7 @@ Export allows you to export the data stored in Azure Cache for Redis to Redis co
7676
> - Export works with page blobs that are supported by both classic and Resource Manager storage accounts.
7777
> - Azure Cache for Redis does not support exporting to ADLS Gen2 storage accounts.
7878
> - Export is not supported by Blob storage accounts at this time.
79+
> - If your cache data export to Firewall-enabled storage accounts fails, refer to [How to export if I have firewall enabled on my storage account?](#how-to-export-if-i-have-firewall-enabled-on-my-storage-account)
7980
>
8081
> For more information, see [Azure storage account overview](../storage/common/storage-account-overview.md).
8182
>
@@ -110,6 +111,7 @@ This section contains frequently asked questions about the Import/Export feature
110111
- [Can I automate Import/Export using PowerShell, CLI, or other management clients?](#can-i-automate-importexport-using-powershell-cli-or-other-management-clients)
111112
- [I received a timeout error during my Import/Export operation. What does it mean?](#i-received-a-timeout-error-during-my-importexport-operation-what-does-it-mean)
112113
- [I got an error when exporting my data to Azure Blob Storage. What happened?](#i-got-an-error-when-exporting-my-data-to-azure-blob-storage-what-happened)
114+
- [How to export if I have firewall enabled on my storage account?](#how-to-export-if-i-have-firewall-enabled-on-my-storage-account)
113115

114116
### What pricing tiers can use Import/Export?
115117

@@ -135,7 +137,7 @@ Azure Cache for Redis supports RDB import up through RDB version 7.
135137

136138
### Can I use Import/Export with Redis cluster?
137139

138-
Yes, and you can import/export between a clustered cache and a non-clustered cache. Since Redis cluster [only supports database 0](cache-how-to-premium-clustering.md#do-i-need-to-make-any-changes-to-my-client-application-to-use-clustering), any data in databases other than 0 isn't imported. When clustered cache data is imported, the keys are redistributed among the shards of the cluster.
140+
Yes, and you can import/export between a clustered cache and a nonclustered cache. Since Redis cluster [only supports database 0](cache-how-to-premium-clustering.md#do-i-need-to-make-any-changes-to-my-client-application-to-use-clustering), any data in databases other than 0 isn't imported. When clustered cache data is imported, the keys are redistributed among the shards of the cluster.
139141

140142
### How does Import/Export work with a custom databases setting?
141143

@@ -170,6 +172,12 @@ To resolve this error, start the import or export operation before 15 minutes ha
170172

171173
Export works only with RDB files stored as page blobs. Other blob types aren't currently supported, including Blob storage accounts with hot and cool tiers. For more information, see [Azure storage account overview](../storage/common/storage-account-overview.md). If you're using an access key to authenticate a storage account, having firewall exceptions on the storage account tends to cause the import/export process to fail.
172174

175+
### How to export if I have firewall enabled on my storage account?
176+
177+
For firewall enabled storage accounts, we need to check “Allow Azure services on the trusted services list to access this storage account” then, use managed identity (System/User assigned) and provision Storage Blob Data Contributor RBAC role for that object ID.
178+
179+
More information here - [Managed identity for storage accounts - Azure Cache for Redis](cache-managed-identity.md)
180+
173181
## Next steps
174182

175183
Learn more about Azure Cache for Redis features.

0 commit comments

Comments
 (0)