【发布时间】:2020-02-05 23:46:52
【问题描述】:
我需要将 Azure Blob 存储从标准迁移到高级
我尝试执行
azcopy.exe copy [source with SAS] [destination with SAS] --recursive
并返回此错误:
RESPONSE Status: 404 The specified blob does not exist.
Content-Length: [216]
Content-Type: [application/xml]
Date: [Tue, 08 Oct 2019 16:34:11 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
X-Ms-Error-Code: [BlobNotFound]
X-Ms-Request-Id: [5f5b409d-d01c-000e-1df6-7d67ae000000]
X-Ms-Version: [2018-11-09]
那我试试
azcopy.exe copy [source with SAS] [destination with SAS] --blob-type PageBlob --recursive
所有归档的文件是因为:
Content-Length: [0]
User-Agent: [AzCopy/10.2.1 Azure-Storage/0.7 (go1.12; Windows_NT)]
X-Ms-Blob-Cache-Control: []
X-Ms-Blob-Content-Disposition: []
X-Ms-Blob-Content-Encoding: []
X-Ms-Blob-Content-Language: []
X-Ms-Blob-Content-Length: [777475]
X-Ms-Blob-Content-Type: [image/jpeg]
X-Ms-Blob-Sequence-Number: [0]
X-Ms-Blob-Type: [PageBlob]
X-Ms-Client-Request-Id: [...]
X-Ms-Version: [2018-03-28]
--------------------------------------------------------------------------------
RESPONSE Status: 400 The value for one of the HTTP headers is not in the correct format.
Content-Length: [337]
Content-Type: [application/xml]
Date: [Tue, 08 Oct 2019 16:29:51 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
X-Ms-Error-Code: [InvalidHeaderValue]
X-Ms-Request-Id: [...]
X-Ms-Version: [2018-03-28]
如何将我的块块转换为页面块?
谢谢
【问题讨论】:
-
如果您尝试使用最新版本并在此处查看关于不保留 blob 层的说明,它应该可以工作:docs.microsoft.com/en-us/azure/storage/common/…
标签: azure blob azure-storage azure-blob-storage