2021年1月21日 星期四

[研究] AzCopy 下載 wad-iis-logfiles,無法解析遠端名稱: 'XXXXXwebstorage.blob.core.windows.net

[研究] AzCopy 下載 wad-iis-logfiles,無法解析遠端名稱: 'XXXXXwebstorage.blob.core.windows.net

2021-01-21

DownloadAzureIISLog.bat

set azcopypath="C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy\"
set srclocation=https://XXXXXwebstorage.blob.core.windows.net/
set destlocation=D:\AzureLogs\XXXXXwebstorage\
set sourcekey=(略)

C:
cd %azcopypath%

AzCopy.exe /Source:%srclocation%wad-iis-logfiles /Dest:%destlocation%wad-iis-logfiles /SourceKey:%sourcekey% /S /MT /XO /Z /Y

C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy>AzCopy.exe /Source:https://XXXXXwebstorage.blob.core.windows.net/wad-iis-logfiles /Dest:D:\Production\XXXXXwebstorage\wad-iis-logfiles /SourceKey:(略) /S /MT /XO /Z /Y

[2021/01/20 19:27:27] Incomplete operation with same command line detected at the journal directory "C:\Users\Administrator\AppData\Local\Microsoft\Azure\AzCopy", AzCopy will start to resume.

[2021/01/20 19:28:51][ERROR] Error parsing source location "https://XXXXXwebstorage.blob.core.windows.net/wad-iis-logfiles": Failed to enumerate directory https://XXXXXwebstorage.blob.core.windows.net/wad-iis-logfiles with file pattern . 無法解析遠端名稱: 'XXXXXwebstorage.blob.core.windows.net'

HttpStatusMessage:

RequestId:

Time: For more details, please type "AzCopy /?:Source" or use verbose option /V.

C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy>

但是換另一台就正常

因該是網路環境問題。

(完)

沒有留言:

張貼留言