Skip to content

Commit 4fc1a45

Browse files
committed
update file
1 parent 1fb14a1 commit 4fc1a45

File tree

1 file changed

+54
-53
lines changed

1 file changed

+54
-53
lines changed

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

Lines changed: 54 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -37,40 +37,32 @@ resources with Resource Manager templates and Azure PowerShell](../../azure-reso
3737

3838
No. There is no charge for this process.
3939

40-
**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?**
4141

42-
There is no option to back up an entire storage account directly. But
43-
you can manually move the container in that storage account to another
44-
account by using AzCopy or Storage Explorer. The following steps show
45-
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).
4644

47-
1. Install the [AzCopy](storage-use-azcopy.md) command-line tool. This tool helps you move the VHD file between storage accounts.
45+
**How can I download a VHD to a local machine, other than by using the download option in the portal?**
4846

49-
2. After you install AzCopy on Windows by using the installer, open a
50-
Command Prompt window and then browse to the AzCopy installation
51-
folder on your computer. By default, AzCopy is installed to
52-
**%ProgramFiles(x86)%\Microsoft SDKs\Azure\AzCopy** or
53-
**%ProgramFiles%\Microsoft SDKs\Azure\AzCopy**.
47+
You can use [Storage Explorer](https://azure.microsoft.com/features/storage-explorer/) to download a VHD.
5448

55-
3. Run the following command to move the container. You must replace
56-
the text with the actual values.
49+
**How do I download data to a Linux-based computer from an Azure storage account, or upload data from a Linux machine?**
5750

58-
AzCopy /Source:https://sourceaccount.blob.core.windows.net/mycontainer1
59-
/Dest:https://destaccount.blob.core.windows.net/mycontainer2
60-
/SourceKey:key1 /DestKey:key2 /S
51+
You can use the Azure CLI.
6152

62-
- `/Source`: Provide the URI for the source storage account (up to the container).
63-
- `/Dest`: Provide the URI for the target storage account (up to the container).
64-
- `/SourceKey`: Provide the primary key for the source storage account. You can copy this key from the Azure portal by selecting the storage account.
65-
- `/DestKey`: Provide the primary key for the target storage account. You can copy this key from the portal by selecting the storage account.
53+
- Download a single blob:
6654

67-
After you run this command, the container files are moved to the
68-
target 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>"
6956

70-
> [!NOTE]
71-
> The AzCopy CLI does not work together with the **Pattern** switch when you copy from one Azure blob to another.
72-
>
73-
> 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).
57+
- Upload a single blob:
58+
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
7466

7567
**How do I move data from one storage container to another?**
7668

@@ -112,16 +104,6 @@ Use AzCopy to copy the data. For more information, see [Transfer data with AzCop
112104

113105
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).
114106

115-
**How do I back up Azure file storage?**
116-
117-
There is no backup solution. However, Azure Files also supports asynchronous copy. So, you can copy files:
118-
119-
- From a share to another share within a storage account or to a different storage account.
120-
121-
- From a share to a blob container within a storage account or to a different storage account.
122-
123-
For more information, see [Transfer data with AzCopy on Windows](storage-use-azcopy.md).
124-
125107
**How do I move managed disks to another storage account?**
126108

127109
[!INCLUDE [updated-for-az](../../../includes/updated-for-az.md)]
@@ -167,19 +149,10 @@ Follow these steps:
167149
168150
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).
169151
170-
**How can I download 1-2 TB of data from the Azure portal?**
171-
172-
Use AzCopy to download the data. For more information, see [Transfer data
173-
with AzCopy on Windows](storage-use-azcopy.md) and [Transfer data with AzCopy on Linux](storage-use-azcopy-linux.md).
174-
175152
**How do I move or download data from a storage account?**
176153
177154
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).
178155
179-
**How can I download a VHD to a local machine, other than by using the download option in the portal?**
180-
181-
You can use [Storage Explorer](https://azure.microsoft.com/features/storage-explorer/) to download a VHD.
182-
183156
**How do I move from a premium storage account to a standard storage account?**
184157
185158
Follow these steps:
@@ -215,22 +188,50 @@ You can use the **Move-AzureStorageAccount** cmdlet. This cmdlet has multiple st
215188
216189
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).
217190
218-
**How do I download data to a Linux-based computer from an Azure storage account, or upload data from a Linux machine?**
191+
**How do I back up my entire storage account to another storage account?**
219192
220-
You can use the Azure CLI.
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:
221197
222-
- Download a single blob:
198+
1. Install the [AzCopy](storage-use-azcopy.md) command-line tool. This tool helps you move the VHD file between storage accounts.
223199
224-
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>"
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**.
225205
226-
- Upload a single blob:
206+
3. Run the following command to move the container. You must replace
207+
the text with the actual values.
227208
228-
azure storage blob upload -k "<Account Key>" -a "<Storage Account Name>" --container "<Blob Container Name>" -f "<Local File Name>"
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
229212
230-
**How do I migrate Blobs from one storage account to another?**
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.
231217
232-
You can do this using our [Blob migration script](../scripts/storage-common-transfer-between-storage-accounts.md).
218+
After you run this command, the container files are moved to the
219+
target storage account.
220+
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).
233225
226+
**How do I back up Azure file storage?**
227+
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).
234235
## Configuration
235236
236237
**How do I change the secondary location to the Europe region for a storage account?**

0 commit comments

Comments
 (0)