【发布时间】:2018-11-07 22:24:47
【问题描述】:
我在 Blob 存储中有一个 Azure 表及其备份。
当我尝试使用 AzCopy 恢复它时,有些已恢复,但有些出现错误。
成功
[2018/05/29 12:01:49.463+03:00][VERBOSE] 6.1.0 : AzCopy /Source:https://arenaxtablesbackup.blob.core.windows.net/arenaxstorage/2018-05-28 /Dest:https://arenaxstoragedev.table.core.windows.net/LeaderboardDaily /SourceKey:****** /Destkey:****** /Manifest:arenaxstorage_LeaderboardDaily.manifest /EntityOperation:InsertOrReplace /Z /V
[2018/05/29 12:01:52.531+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1, transferred bytes: 191 B
[2018/05/29 12:01:52.758+03:00] Validating the integrity of data file list...
[2018/05/29 12:01:52.974+03:00] Validation of data file list passed.
[2018/05/29 12:01:53.208+03:00]
Transfer summary:
-----------------
Total entities transferred: 0
Elapsed time: 00.00:00:03
[2018/05/29 12:04:57.932+03:00] >>>>>>>>>>>>>>>>
[2018/05/29 12:04:57.937+03:00][VERBOSE] 6.1.0 : AzCopy /Source:https://arenaxtablesbackup.blob.core.windows.net/arenaxstorage/2018-05-28 /Dest:https://arenaxstoragedev.table.core.windows.net/LeaderboardUser /SourceKey:****** /Destkey:****** /Manifest:arenaxstorage_LeaderboardUser.manifest /EntityOperation:InsertOrReplace /Z /V
[2018/05/29 12:05:01.189+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1, transferred bytes: 209 B
[2018/05/29 12:05:01.440+03:00] Validating the integrity of data file list...
[2018/05/29 12:05:01.679+03:00] Validation of data file list passed.
[2018/05/29 12:05:01.903+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 209 B
[2018/05/29 12:05:01.903+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 209 B
[2018/05/29 12:05:01.904+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 209 B
[2018/05/29 12:05:01.904+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 209 B
[2018/05/29 12:05:04.149+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 4 MB
[2018/05/29 12:05:23.741+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 8 MB
[2018/05/29 12:05:23.747+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 9.53 MB
[2018/05/29 12:05:23.753+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 9.53 MB
[2018/05/29 12:05:23.753+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1 of 2, transferred bytes: 9.53 MB
[2018/05/29 12:05:23.756+03:00][VERBOSE] Uploaded entities: 0
[2018/05/29 12:05:23.823+03:00] Validating the integrity of data file "arenaxstorage_LeaderboardUser_0_0_C0DC932F526179D7.json"...
[2018/05/29 12:05:23.849+03:00] Validation of data file "arenaxstorage_LeaderboardUser_0_0_C0DC932F526179D7.json" passed.
[2018/05/29 12:05:26.463+03:00][VERBOSE] Uploaded entities: 100
[2018/05/29 12:05:27.667+03:00][VERBOSE] Uploaded entities: 500
...
[2018/05/29 12:08:18.882+03:00][VERBOSE] Uploaded entities: 21600
[2018/05/29 12:08:19.024+03:00][VERBOSE] Uploaded entities: 21704
[2018/05/29 12:08:19.040+03:00]
Transfer summary:
-----------------
Total entities transferred: 21704
Elapsed time: 00.00:03:21
错误
[2018/05/29 12:10:44.537+03:00] >>>>>>>>>>>>>>>>
[2018/05/29 12:10:44.543+03:00][VERBOSE] 6.1.0 : AzCopy /Source:https://arenaxtablesbackup.blob.core.windows.net/arenaxstorage/2018-05-28 /Dest:https://arenaxstoragedev.table.core.windows.net/Leaderboard /SourceKey:****** /Destkey:****** /Manifest:arenaxstorage_Leaderboard.manifest /EntityOperation:InsertOrReplace /Z /V
[2018/05/29 12:10:47.659+03:00][VERBOSE] Uploaded entities: 0 Downloaded blobs: 1, transferred bytes: 205 B
[2018/05/29 12:10:47.895+03:00] Validating the integrity of data file list...
[2018/05/29 12:10:48.276+03:00][ERROR] Failed to import Azure table. Detailed error: Data validation failed. Data files are missing or have been renamed.
有什么问题?
【问题讨论】:
-
下载本地失败的 blob 时,是否可以在本地 Cosmos DB 模拟器中打开它们以进行故障排除?
-
我可以毫无问题地下载 blob,它们与我通过在本地运行 azcopy 制作的相同。
-
这些 blob 在下载时是否可用?我问的原因是您收到的错误消息主要是由损坏的文件/blob 引起的
-
对不起,我没有得到你的问题。可用是什么意思?我可以通过文本编辑器打开它或通过
Get-Content $FILE | ConvertFrom-Json导入
标签: azure azure-storage azure-blob-storage azure-table-storage azcopy