powershell - Azure Storage: use AzCopy.exe to copy a folder from blob storage to another storage account -
using azcopy.exe, able copy on entire container successfully. however, cannot figure out how copy on blob name includes folder structure. have tried following:
.\azcopy.exe /source:https://sourceaccount.blob.core.windows.net/container /dest:https://destaccount.blob.core.windows.net/container /sourcekey:sourcekey== /destkey:destkey== /s /pattern:corruptzips/2013/6
while changing /pattern: things like:
- /pattern:corruptzips/2013/6/*
- /pattern:corruptzips/2013/6/.
- /pattern:corruptzips/2013/6/
and says there 0 records copied. can done or container/file copying? thank you.
@naspinski, there other tool named azure data factory
can copying folder blob storage account one. please refer article move data , azure blob using azure data factory know , follow steps below do.
- create data factory on azure portal.
- click
copy data
button below movepowercopytool
interface, , follow tips copy folder step step.
Comments
Post a Comment