尝试从备份恢复时,Deja Dup 给出“无效或不完整的多字节或宽字符”

尝试从备份恢复时,Deja Dup 给出“无效或不完整的多字节或宽字符”

我每周都会使用 Deja Dup 在 13.10 中进行备份。在进行全新备份后,我格式化了驱动器并安装了 Ubuntu 14.04 测试版。现在,在尝试恢复时,Deja Dup 会两次要求 sudo 访问权限 (‽),然后失败并出现以下错误:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1494, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1488, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1337, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1422, in do_backup
    restore(col_stats)
  File "/usr/bin/duplicity", line 697, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 538, in Write_ROPaths
    ITR( ropath.index, ropath )
  File "/usr/lib/python2.7/dist-packages/duplicity/lazy.py", line 335, in __call__
    last_branch.fast_process, args)
  File "/usr/lib/python2.7/dist-packages/duplicity/robust.py", line 37, in check_common_error
    return function(*args)
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 591, in fast_process
    ropath.copy( self.base_path.new_index( index ) )
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 521, in new_index
    return self.__class__(self.base, index)
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 497, in __init__
    self.setdata()
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 502, in setdata
    self.stat = os.lstat(self.name)
OSError: [Errno 84] Invalid or incomplete multibyte or wide character: '/media/[user]/Seagate Backup Plus Drive/restoredbackup3/home/[user]/.local/share/geary/[my email address]/attachments/1915/90/\xd0\xc2\xd0\xce\xca\xc6\xcf\xc2\xd3\xc3\xb9\xa4\xb7\xe7\xcf\xd5\xb7\xc0\xb7\xb6\xd3\xeb\xc0\xcd\xb6\xaf\xd5\xf9\xd2\xe9\xb4\xa6\xc0\xed.txt'

我主要想恢复我的 Shotwell 库数据库,因为我有几乎所有其他内容的备份。我实际上是将备份恢复到备份驱动器本身,因为我的内部驱动器上没有大约 350GB 的可用空间。

有人能帮助我吗:a) 解决错误并完成备份;b) 忽略错误并完成备份;或 c) 挑选~/.local/share/shotwell要恢复的内容而不尝试恢复其他任何内容?

答案1

终于弄清楚了如何做选择C以上:在 Nautilus 中,右键单击我现有的 Shotwell 库数据库,选择Revert to Previous Version,指向备份,然后完成。未找到解决方案A或者b

相关内容