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).
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:
66
54
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>"
69
56
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).
**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
74
66
75
67
**How do I move data from one storage container to another?**
76
68
@@ -112,16 +104,6 @@ Use AzCopy to copy the data. For more information, see [Transfer data with AzCop
112
104
113
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).
114
106
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
-
125
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).
169
151
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
-
175
152
**How do I move or download data from a storage account?**
176
153
177
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).
178
155
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
-
183
156
**How do I move from a premium storage account to a standard storage account?**
184
157
185
158
Follow these steps:
@@ -215,22 +188,50 @@ You can use the **Move-AzureStorageAccount** cmdlet. This cmdlet has multiple st
215
188
216
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).
217
190
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?**
219
192
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:
221
197
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.
223
199
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**.
225
205
226
-
- Upload a single blob:
206
+
3. Run the following command to move the container. You must replace
**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.
231
217
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).
233
225
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).
234
235
## Configuration
235
236
236
237
**How do I change the secondary location to the Europe region for a storage account?**
0 commit comments