gpt4 book ai didi

powershell - 读取重启日志时出错

转载 作者:行者123 更新时间:2023-12-03 05:52:09 25 4
gpt4 key购买 nike

尝试使用以下命令语法从 Powershell 运行 Azure 存储 SDK 工具 AzCopy.exe (v5.1.1) 时:

.\AzCopy /source:https://mystorageacct1.blob.core.windows.net/mycontainer/ /dest:https://mystorageacct2.blob.core.windows.net/mycontainer/ /sourcekey:[sourcekey] /destkey:[destkey] /S

我收到错误:

.\AzCopy.exe : [2017/10/04 12:59:12][ERROR] An error occurred while reading the restart journal from "C:\Users\admin\AppData\Local\Microsoft\Azure\AzCopy". Detailed error: Error parsing the journal file: Journal file was generated by a different version of AzCopy. At line:1 char:1 + .\AzCopy.exe /source:"https://mystorageacct1.blob.core.windows.net/source" ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ([2017/10/04 12:...sion of AzCopy.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError

最佳答案

从以下位置删除内容(特别是日志文件)时已解决:

C:\Users\admin\AppData\Local\Microsoft\Azure\AzCopy

然后再次执行Powershell脚本。

关于powershell - 读取重启日志时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46564456/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com