skip to Main Content

Copy Azure blob content to local server with specific structure

I want to copy Azure blob content to local server https://<blob>/prod/backup/node1 -> f:backupcluster https://<blob>/prod/backup/node2/<RandomFolderName>/forests/* -> f:backupclusterforests https://<blob>/prod/backup/node3/<RandomFolderName>/forests/* -> f:backupclusterforests I want final folder structure on server to be: f:backupcluster f:backupclusterforests<forest2-content-folder> f:backupclusterforests<forest3-content-folder>

VIEW QUESTION

AZure azcopy Linux – how to pass variable to azcopy

Good day I want to pass the value of $mm to this azcopy. However, since azcopy parameters are in double quotes, it does not want to process correctly. $mm=04 ; start=`echo "START DATE: $(date)"` ; azcopy cp "https://reco.blob.core.windows.net/raw-voi-2022/2022-$mm/*?sv=2020-0RgUNH8A%3D" "https://storage.blob.core.windows.net/bin-voi-2022/2022-$mm?sv=2021-0HGICxvaLULI%3D" Results:…

VIEW QUESTION

Can we rewrite this?

I can copy a folder or a small file with Azcopy (copy) command but if i apply the command to a large file the transfer fails with no clear logs. Command: azcopy copy 'test' 'https://mystorage.blob.core.windows.net/...pKmRpGCVO8B' --recursive --preserve-smb-info=true Test is a…

VIEW QUESTION
Back To Top
Search