0

I used AzCopy for copying container from one storage account to another. But how can I copy everything recursively from one to another? Tried many params - no luck

4

2 回答 2

0

目前,AzCopy 专为复制容器或目录而设计。如果要复制所有容器,则需要自己列出存储帐户中的包含,并使用列出的容器一一调用 AzCopy。

更新:现在很容易完成 - https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs-copy?toc=/azure/storage/blobs/toc。 json#copy-containers-directories-and-blob

于 2017-10-18T15:36:46.280 回答
0

这可以使用azcopy轻松完成。

azcopy copy "https://source_storage.blob.core.windows.net/source_container/source_SAS_Key" "https://target_storage.blob.core.windows.net/target_container/target_SAS_Key" --recursive=true
于 2021-06-24T04:05:52.193 回答