You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-how-to-import-export-data.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to import and export data to and from blob storage with y
4
4
author: flang-msft
5
5
ms.service: cache
6
6
ms.topic: conceptual
7
-
ms.date: 01/31/2023
7
+
ms.date: 03/10/2023
8
8
ms.author: franlanglois
9
9
10
10
---
@@ -23,7 +23,7 @@ For information on which Azure Cache for Redis tiers support import and export,
23
23
24
24
## Import
25
25
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.
27
27
28
28
> [!NOTE]
29
29
> 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
76
76
> - Export works with page blobs that are supported by both classic and Resource Manager storage accounts.
77
77
> - Azure Cache for Redis does not support exporting to ADLS Gen2 storage accounts.
78
78
> - 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)
79
80
>
80
81
> For more information, see [Azure storage account overview](../storage/common/storage-account-overview.md).
81
82
>
@@ -110,6 +111,7 @@ This section contains frequently asked questions about the Import/Export feature
110
111
-[Can I automate Import/Export using PowerShell, CLI, or other management clients?](#can-i-automate-importexport-using-powershell-cli-or-other-management-clients)
111
112
-[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)
112
113
-[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)
113
115
114
116
### What pricing tiers can use Import/Export?
115
117
@@ -135,7 +137,7 @@ Azure Cache for Redis supports RDB import up through RDB version 7.
135
137
136
138
### Can I use Import/Export with Redis cluster?
137
139
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.
139
141
140
142
### How does Import/Export work with a custom databases setting?
141
143
@@ -170,6 +172,12 @@ To resolve this error, start the import or export operation before 15 minutes ha
170
172
171
173
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.
172
174
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)
0 commit comments