Skip to content

Commit f483006

Browse files
authored
Merge pull request #100574 from genlin/master211
update main page
2 parents e4e4123 + 4fc1a45 commit f483006

File tree

1 file changed

+108
-107
lines changed

1 file changed

+108
-107
lines changed

articles/storage/common/storage-migration-faq.md

Lines changed: 108 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ ms.subservice: common
1414

1515
This article answers common questions about Azure Storage migration.
1616

17-
## FAQ
17+
## Copy, upload or download
1818

19-
**How do I create a script to copy files from one container to
20-
another?**
19+
**How do I create a script to copy files from one container to another?**
2120

2221
To copy files between containers, you can use AzCopy. See the following
2322
example:
@@ -38,41 +37,32 @@ resources with Resource Manager templates and Azure PowerShell](../../azure-reso
3837

3938
No. There is no charge for this process.
4039

41-
**How do I back up my entire storage account to another storage account?**
40+
**How can I download 1-2 TB of data from the Azure portal?**
4241

43-
There is no option to back up an entire storage account directly. But
44-
you can manually move the container in that storage account to another
45-
account by using AzCopy or Storage Explorer. The following steps show
46-
how to use AzCopy to move the container:
42+
Use AzCopy to download the data. For more information, see [Transfer data
43+
with AzCopy on Windows](storage-use-azcopy.md) and [Transfer data with AzCopy on Linux](storage-use-azcopy-linux.md).
4744

45+
**How can I download a VHD to a local machine, other than by using the download option in the portal?**
4846

49-
1. Install the [AzCopy](storage-use-azcopy.md) command-line tool. This tool helps you move the VHD file between storage accounts.
47+
You can use [Storage Explorer](https://azure.microsoft.com/features/storage-explorer/) to download a VHD.
5048

51-
2. After you install AzCopy on Windows by using the installer, open a
52-
Command Prompt window and then browse to the AzCopy installation
53-
folder on your computer. By default, AzCopy is installed to
54-
**%ProgramFiles(x86)%\Microsoft SDKs\Azure\AzCopy** or
55-
**%ProgramFiles%\Microsoft SDKs\Azure\AzCopy**.
49+
**How do I download data to a Linux-based computer from an Azure storage account, or upload data from a Linux machine?**
5650

57-
3. Run the following command to move the container. You must replace
58-
the text with the actual values.
51+
You can use the Azure CLI.
5952

60-
AzCopy /Source:https://sourceaccount.blob.core.windows.net/mycontainer1
61-
/Dest:https://destaccount.blob.core.windows.net/mycontainer2
62-
/SourceKey:key1 /DestKey:key2 /S
53+
- Download a single blob:
6354

64-
- `/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>"
6856

69-
After you run this command, the container files are moved to the
70-
target storage account.
57+
- Upload a single blob:
7158

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).
59+
azure storage blob upload -k "<Account Key>" -a "<Storage Account Name>" --container "<Blob Container Name>" -f "<Local File Name>"
60+
61+
**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
7666

7767
**How do I move data from one storage container to another?**
7868

@@ -114,20 +104,6 @@ Use AzCopy to copy the data. For more information, see [Transfer data with AzCop
114104

115105
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).
116106

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-
131107
**How do I move managed disks to another storage account?**
132108

133109
[!INCLUDE [updated-for-az](../../../includes/updated-for-az.md)]
@@ -173,49 +149,10 @@ Follow these steps:
173149
174150
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).
175151
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)?**
187-
188-
See the following articles:
189-
190-
- [Azure Storage security guide](../blobs/security-recommendations.md)
191-
192-
- [Azure Storage Service Encryption for Data at Rest](storage-service-encryption.md)
193-
194152
**How do I move or download data from a storage account?**
195153
196154
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).
197155
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-
219156
**How do I move from a premium storage account to a standard storage account?**
220157
221158
Follow these steps:
@@ -237,7 +174,6 @@ Follow these steps:
237174
/Dest:https://destaccount.blob.core.windows.net/mycontainer2
238175
/SourceKey:key1 /DestKey:key2 /Pattern:abc.vhd
239176
240-
241177
The operation might take several hours to finish.
242178
243179
To make sure that the transfer finished successfully, examine the
@@ -246,33 +182,92 @@ disks are copied to the standard storage account, you can attach them to
246182
the virtual machine as an existing disk. For more information, see [How to attach a managed data disk to a Windows virtual machine in the Azure
247183
portal](../../virtual-machines/windows/attach-managed-disk-portal.md).
248184
249-
**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?**
250186
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.
252188
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).
254190
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?**
256192
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:
258197
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.
260199
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**.
262205
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.
264208
265-
**How do I download data to a Linux-based computer from an Azure storage account, or upload data from a Linux machine?**
209+
AzCopy /Source:https://sourceaccount.blob.core.windows.net/mycontainer1
210+
/Dest:https://destaccount.blob.core.windows.net/mycontainer2
211+
/SourceKey:key1 /DestKey:key2 /S
266212
267-
You can use the Azure CLI.
213+
- `/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.
268217
269-
- Download a single blob:
218+
After you run this command, the container files are moved to the
219+
target storage account.
270220
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).
272225
273-
- Upload a single blob:
226+
**How do I back up Azure file storage?**
274227
275-
azure storage blob upload -k "<Account Key>" -a "<Storage Account Name>" --container "<Blob Container Name>" -f "<Local File Name>"
228+
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)?**
243+
244+
See the following articles:
245+
246+
- [Azure Storage security guide](../blobs/security-recommendations.md)
247+
248+
- [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).
276271
277272
**How can I give other people access to my storage resources?**
278273
@@ -299,6 +294,22 @@ To give other people access to the storage resources:
299294
- If you installed the 64-bit version, it's located
300295
here: **%ProgramFiles%\\Microsoft SDKs\\Azure\\AzCopy**.
301296
297+
**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+
302313
**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?**
303314
304315
- 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:
311322
312323
- **SAS token**: Use an SAS token to access data from the endpoint. For more information, see [Using shared access signatures](storage-sas-overview.md).
313324
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-
320325
**How do I use FTP to access data that is in a storage account?**
321326
322327
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.
323328
324329
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).
325330
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-
330331
## Need help? Contact support.
331332
332333
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

Comments
 (0)