我在 Ubuntu 16.04 下创建的 Duplicity 备份无法在 18.04 下恢复。备份位于外部 Linq 硬盘上。是否有机会恢复备份硬盘?出现以下消息:重复恢复失败消息
失败信息:
could not display contents of "backup": Error when getting information for
"file/media/Ubuntu/backup/duplicity-full******gz":input/output error
在终端中运行 duplicity 如下:
duplicity list-current-files file:///media/martin/Ubuntu/backup
duplicity list-current-files file:///media/martin/Ubuntu/backup
Synchronising remote metadata to local cache...
Copying duplicity-full-signatures.20180528T154702Z.sigtar.gz to local cache.
Attempt 1 failed. OSError: [Errno 5] Input/output error: '/media/martin/Ubuntu/backup/duplicity-full-signatures.20180528T154702Z.sigtar.gz'
Attempt 2 failed. OSError: [Errno 5] Input/output error: '/media/martin/Ubuntu/backup/duplicity-full-signatures.20180528T154702Z.sigtar.gz'
Attempt 3 failed. OSError: [Errno 5] Input/output error: '/media/martin/Ubuntu/backup/duplicity-full-signatures.20180528T154702Z.sigtar.gz'
Attempt 4 failed. OSError: [Errno 5] Input/output error: '/media/martin/Ubuntu/backup/duplicity-full-signatures.20180528T154702Z.sigtar.gz'
Giving up after 5 attempts. OSError: [Errno 5] Input/output error: '/media/martin/Ubuntu/backup/duplicity-full-signatures.20180528T154702Z.sigtar.gz'
显示OSError: [Errno 5]
这个错误可以克服吗?
此外,full-signatures.20180528T154702Z.sigtar.gz 已经过时,备份中有一个日期为 201808 的完整备份,这是我唯一需要恢复的备份
答案1
I/O 错误通常都是坏消息。您的设备健康状况如何?
例子:
sudo smartctl -a /dev/yourdevice
如果“smartctl”不起作用,您可能需要这个:
sudo apt-get install smartmontools