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
-`/Source`: Provide the URI for the source storage account (up to the container).
65
-
-`/Dest`: Provide the URI for the target storage account (up to the container).
66
-
-`/SourceKey`: Provide the primary key for the source storage account. You can copy this key from the Azure portal by selecting the storage account.
67
-
-`/DestKey`: Provide the primary key for the target storage account. You can copy this key from the portal by selecting the storage account.
55
+
azure storage blob download -k "<Account Key>" -a "<Storage Account Name>" --container "<Blob Container Name>" -b "<Remote File Name>" -d "<Local path where the file will be downloaded to>"
68
56
69
-
After you run this command, the container files are moved to the
70
-
target storage account.
57
+
- Upload a single blob:
71
58
72
-
> [!NOTE]
73
-
> The AzCopy CLI does not work together with the **Pattern** switch when you copy from one Azure blob to another.
74
-
>
75
-
> You can directly copy and edit the AzCopy command, and cross-check to make sure that **Pattern** matches the source. Also make sure that **/S** wildcards are in effect. For more information, see [AzCopy parameters](storage-use-azcopy.md).
**How do I migrate Blobs from one storage account to another?**
62
+
63
+
You can do this using our [Blob migration script](../scripts/storage-common-transfer-between-storage-accounts.md).
64
+
65
+
## Migration or backup
76
66
77
67
**How do I move data from one storage container to another?**
78
68
@@ -114,20 +104,6 @@ Use AzCopy to copy the data. For more information, see [Transfer data with AzCop
114
104
115
105
Use AzCopy to move data. For more information, see [Transfer data with AzCopy on Windows](storage-use-azcopy.md) and [Transfer data with AzCopy on Linux](storage-use-azcopy-linux.md).
116
106
117
-
**How do I map a container folder on a virtual machine?**
118
-
119
-
Use an Azure file share.
120
-
121
-
**How do I back up Azure file storage?**
122
-
123
-
There is no backup solution. However, Azure Files also supports asynchronous copy. So, you can copy files:
124
-
125
-
- From a share to another share within a storage account or to a different storage account.
126
-
127
-
- From a share to a blob container within a storage account or to a different storage account.
128
-
129
-
For more information, see [Transfer data with AzCopy on Windows](storage-use-azcopy.md).
130
-
131
107
**How do I move managed disks to another storage account?**
For more information about how to deploy a virtual machine from a managed disk, see [CreateVmFromManagedOsDisk.ps1](https://github.com/Azure-Samples/managed-disks-powershell-getting-started/blob/master/CreateVmFromManagedOsDisk.ps1).
175
151
176
-
**How can I download 1-2 TB of data from the Azure portal?**
177
-
178
-
Use AzCopy to download the data. For more information, see [Transfer data
179
-
with AzCopy on Windows](storage-use-azcopy.md) and [Transfer data with AzCopy on Linux](storage-use-azcopy-linux.md).
180
-
181
-
**How do I change the secondary location to the Europe region for a storage account?**
182
-
183
-
When you create a storage account, you select the primary region for the
184
-
account. The selection of the secondary region is based on the primary region, and it cannot be changed. For more information, see [Geo-redundant storage (GRS): Cross-regional replication for Azure Storage](storage-redundancy.md).
185
-
186
-
**Where can I get more information about Azure Storage Service Encryption (SSE)?**
- [Azure Storage Service Encryption for Data at Rest](storage-service-encryption.md)
193
-
194
152
**How do I move or download data from a storage account?**
195
153
196
154
Use AzCopy to download the data. For more information, see [Transfer data with AzCopy on Windows](storage-use-azcopy.md) and [Transfer data with AzCopy on Linux](storage-use-azcopy-linux.md).
197
155
198
-
199
-
**How do I encrypt data in a storage account?**
200
-
201
-
After you enable encryption in a storage account, the existing data is not encrypted. To encrypt the existing data, you must upload it again to the storage account.
202
-
203
-
Use AzCopy to copy the data to a different storage account and then
204
-
move the data back. You can also use [encryption at
205
-
rest](storage-service-encryption.md).
206
-
207
-
**How can I download a VHD to a local machine, other than by using the download option in the portal?**
208
-
209
-
You can use [Storage Explorer](https://azure.microsoft.com/features/storage-explorer/) to download a VHD.
210
-
211
-
**Are there any prerequisites for changing the replication of a storage account from geo-redundant storage to locally redundant storage?**
212
-
213
-
No.
214
-
215
-
**How do I access Azure Files redundant storage?**
216
-
217
-
Read-access geo-redundant storage is required to access redundant storage. However, Azure Files supports only locally redundant storage and standard geo-redundant storage that does not allow read-only access.
218
-
219
156
**How do I move from a premium storage account to a standard storage account?**
**How do I convert to Azure Premium Storage for a file share?**
185
+
**How do I move from a classic storage account to an Azure Resource Manager storage account?**
250
186
251
-
Premium Storage is not allowed on an Azure file share.
187
+
You can use the **Move-AzureStorageAccount** cmdlet. This cmdlet has multiple steps (validate, prepare, commit). You can validate the move before you make it.
252
188
253
-
**How do I upgrade from a standard storage account to a premium storage account? How do I downgrade from a premium storage account to a standard storage account?**
189
+
If you have virtual machines, you must take additional steps before you migrate the storage account data. For more information, see [Migrate IaaS resources from classic to Azure Resource Manager by using Azure PowerShell](../..//virtual-machines/windows/migration-classic-resource-manager-ps.md).
254
190
255
-
You must create the destination storage account, copy data from the source account to the destination account, and then delete the source account. You can use a tool such as AzCopy to copy the data.
191
+
**How do I back up my entire storage account to another storage account?**
256
192
257
-
If you have virtual machines, you must take additional steps before you migrate the storage account data. For more information, see [Migrating to Azure Premium Storage (unmanaged disks)](storage-migration-to-premium-storage.md).
193
+
There is no option to back up an entire storage account directly. But
194
+
you can manually move the container in that storage account to another
195
+
account by using AzCopy or Storage Explorer. The following steps show
196
+
how to use AzCopy to move the container:
258
197
259
-
**How do I move from a classic storage account to an Azure Resource Manager storage account?**
198
+
1. Install the [AzCopy](storage-use-azcopy.md) command-line tool. This tool helps you move the VHD file between storage accounts.
260
199
261
-
You can use the **Move-AzureStorageAccount** cmdlet. This cmdlet has multiple steps (validate, prepare, commit). You can validate the move before you make it.
200
+
2. After you install AzCopy on Windows by using the installer, open a
201
+
Command Prompt window and then browse to the AzCopy installation
202
+
folder on your computer. By default, AzCopy is installed to
203
+
**%ProgramFiles(x86)%\Microsoft SDKs\Azure\AzCopy** or
204
+
**%ProgramFiles%\Microsoft SDKs\Azure\AzCopy**.
262
205
263
-
If you have virtual machines, you must take additional steps before you migrate the storage account data. For more information, see [Migrate IaaS resources from classic to Azure Resource Manager by using Azure PowerShell](../..//virtual-machines/windows/migration-classic-resource-manager-ps.md).
206
+
3. Run the following command to move the container. You must replace
207
+
the text with the actual values.
264
208
265
-
**How do I download data to a Linux-based computer from an Azure storage account, or upload data from a Linux machine?**
- `/Source`: Provide the URI for the source storage account (up to the container).
214
+
- `/Dest`: Provide the URI for the target storage account (up to the container).
215
+
- `/SourceKey`: Provide the primary key for the source storage account. You can copy this key from the Azure portal by selecting the storage account.
216
+
- `/DestKey`: Provide the primary key for the target storage account. You can copy this key from the portal by selecting the storage account.
268
217
269
-
- Download a single blob:
218
+
After you run this command, the container files are moved to the
219
+
target storage account.
270
220
271
-
azure storage blob download -k "<Account Key>" -a "<Storage Account Name>" --container "<Blob Container Name>" -b "<Remote File Name>" -d "<Local path where the file will be downloaded to>"
221
+
> [!NOTE]
222
+
> The AzCopy CLI does not work together with the **Pattern** switch when you copy from one Azure blob to another.
223
+
>
224
+
> You can directly copy and edit the AzCopy command, and cross-check to make sure that **Pattern** matches the source. Also make sure that **/S** wildcards are in effect. For more information, see [AzCopy parameters](storage-use-azcopy.md).
There is no backup solution. However, Azure Files also supports asynchronous copy. So, you can copy files:
229
+
230
+
- From a share to another share within a storage account or to a different storage account.
231
+
232
+
- From a share to a blob container within a storage account or to a different storage account.
233
+
234
+
For more information, see [Transfer data with AzCopy on Windows](storage-use-azcopy.md).
235
+
## Configuration
236
+
237
+
**How do I change the secondary location to the Europe region for a storage account?**
238
+
239
+
When you create a storage account, you select the primary region for the
240
+
account. The selection of the secondary region is based on the primary region, and it cannot be changed. For more information, see [Geo-redundant storage (GRS): Cross-regional replication for Azure Storage](storage-redundancy.md).
241
+
242
+
**Where can I get more information about Azure Storage Service Encryption (SSE)?**
- [Azure Storage Service Encryption for Data at Rest](storage-service-encryption.md)
249
+
250
+
**How do I encrypt data in a storage account?**
251
+
252
+
After you enable encryption in a storage account, the existing data is not encrypted. To encrypt the existing data, you must upload it again to the storage account.
253
+
254
+
Use AzCopy to copy the data to a different storage account and then
255
+
move the data back. You can also use [encryption at
256
+
rest](storage-service-encryption.md).
257
+
258
+
**Are there any prerequisites for changing the replication of a storage account from geo-redundant storage to locally redundant storage?**
259
+
260
+
No.
261
+
262
+
**How do I convert to Azure Premium Storage for a file share?**
263
+
264
+
Premium Storage is not allowed on an Azure file share.
265
+
266
+
**How do I upgrade from a standard storage account to a premium storage account? How do I downgrade from a premium storage account to a standard storage account?**
267
+
268
+
You must create the destination storage account, copy data from the source account to the destination account, and then delete the source account. You can use a tool such as AzCopy to copy the data.
269
+
270
+
If you have virtual machines, you must take additional steps before you migrate the storage account data. For more information, see [Migrating to Azure Premium Storage (unmanaged disks)](storage-migration-to-premium-storage.md).
276
271
277
272
**How can I give other people access to my storage resources?**
278
273
@@ -299,6 +294,22 @@ To give other people access to the storage resources:
299
294
- If you installed the 64-bit version, it's located
**How do I use an HTTPS custom domain with my storage account? For example, how do I make "https:\//mystorageaccountname.blob.core.windows.net/images/image.gif" appear as "https:\//www.contoso.com/images/image.gif"?**
298
+
299
+
SSL is not currently supported on storage accounts with custom domains.
300
+
But you can use non-HTTPS custom domains. For more information,
301
+
see [Configure a custom domain name for your Blob storage endpoint](../blobs/storage-custom-domain-name.md).
302
+
303
+
## Access to storage
304
+
305
+
**How do I map a container folder on a virtual machine?**
306
+
307
+
Use an Azure file share.
308
+
309
+
**How do I access Azure Files redundant storage?**
310
+
311
+
Read-access geo-redundant storage is required to access redundant storage. However, Azure Files supports only locally redundant storage and standard geo-redundant storage that does not allow read-only access.
312
+
302
313
**For a replicated storage account (such as zone-redundant storage, geo-redundant storage, or read-access geo-redundant storage), how do I access data that is stored in the secondary region?**
303
314
304
315
- If you're using zone-redundant storage or geo-redundant storage, you cannot access data from the secondary region unless you initiate a failover to that region. For more information about the failover process, see [Disaster recovery and storage account failover (preview) in Azure Storage](storage-disaster-recovery-guidance.md).
@@ -311,22 +322,12 @@ To give other people access to the storage resources:
311
322
312
323
- **SAS token**: Use an SAS token to access data from the endpoint. For more information, see [Using shared access signatures](storage-sas-overview.md).
313
324
314
-
**How do I use an HTTPS custom domain with my storage account? For example, how do I make "https:\//mystorageaccountname.blob.core.windows.net/images/image.gif" appear as "https:\//www.contoso.com/images/image.gif"?**
315
-
316
-
SSL is not currently supported on storage accounts with custom domains.
317
-
But you can use non-HTTPS custom domains. For more information,
318
-
see [Configure a custom domain name for your Blob storage endpoint](../blobs/storage-custom-domain-name.md).
319
-
320
325
**How do I use FTP to access data that is in a storage account?**
321
326
322
327
There is no way to access a storage account directly by using FTP. However, you can set up an Azure virtual machine, and then install an FTP server on the virtual machine. You can have the FTP server store files on an Azure Files share or on a data disk that is available to the virtual machine.
323
328
324
329
If you want only to download data without having to use Storage Explorer or a similar application, you might be able to use an SAS token. For more information, see [Using shared access signatures](storage-sas-overview.md).
325
330
326
-
**How do I migrate Blobs from one storage account to another?**
327
-
328
-
You can do this using our [Blob migration script](../scripts/storage-common-transfer-between-storage-accounts.md).
329
-
330
331
## Need help? Contact support.
331
332
332
333
If you still need help, [contact support](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade) to get your issue resolved quickly.
0 commit comments