gpt4 book ai didi

azure - Linux 版 azcopy 中的日志文件夹

转载 作者:行者123 更新时间:2023-12-02 06:31:32 25 4
gpt4 key购买 nike

我正在尝试在 Debian Jessie 上使用 azcopy 将文件上传到 Azure Blob 存储,并且我想以并行方式执行此操作(同一实例中的许多 azcopy 实例)时间)。目前失败了

An error occurred while reading the restart journal from "/root/Microsoft/Azure/AzCopy". Detailed error: The process cannot access the file '/root/Microsoft/Azure/AzCopy/AzCopyCheckpoint.jnl' because it is being used by another process.

根据文档,应该有 /Z:[journal-file-folder] 标志来指定不同的日志路径,但这在 Linux 上不起作用,会失败

The syntax of the command is incorrect. Unrecognized command or argument

我已经尝试了所有我能想到的变体,但没有运气。有什么想法吗?

最佳答案

每个文档 here ,请使用 --resume 选项指定日志文件的自定义位置。

If you want to specify a custom location for the journal file:

azcopy \
--source /mnt/myfiles \
--destination https://myaccount.blob.core.windows.net/mycontainer \
--dest-key key \
--resume "/mnt/myjournal"

关于azure - Linux 版 azcopy 中的日志文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49047824/

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