我使用 deja-dup 备份了我的主目录,安装了 Ubuntu 13.04,并尝试恢复文件,但是在选择要恢复的备份日期和选择放置文件的位置后,我收到“因未知错误而失败”消息:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1412, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1405, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1339, in main
restore(col_stats)
File "/usr/bin/duplicity", line 630, in restore
restore_get_patched_rop_iter(col_stats)):
File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 522, in Write_ROPaths
for ropath in rop_iter:
File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 495, in integrate_patch_iters
final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )
File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 475, in patch_seq2ropath
misc.copyfileobj( current_file, tempfp )
File "/usr/lib/python2.7/dist-packages/duplicity/misc.py", line 166, in copyfileobj
buf = infp.read(blocksize)
File "/usr/lib/python2.7/dist-packages/duplicity/librsync.py", line 80, in read
self._add_to_outbuf_once()
File "/usr/lib/python2.7/dist-packages/duplicity/librsync.py", line 94, in _add_to_outbuf_once
raise librsyncError(str(e))
librsyncError: librsync error 103 while in patch cycle
我尝试恢复之前的备份点,但都失败了。我再次安装了 Ubuntu 12.10,并尝试从那里恢复(使用相同版本的 deja-dup 等),问题依旧。有什么办法可以拯救我的数据吗?现在,我非常绝望。
答案1
可能您没有选择正确的文件夹(就像我一样)。尝试>>是否可以使用备份实用程序仅恢复一个目录?
显然,“/home”目录在 deja dup 中是不可能的,但 /home/user 可用。