当我尝试备份我的 Ubuntu 18.04 时,收到以下消息:“备份失败 - 出现未知错误”,然后显示以下内容:
Traceback (innermost last):
File "/usr/bin/duplicity", line 1555, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1541, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1393, in main
do_backup(action)
File "/usr/bin/duplicity", line 1516, in do_backup
full_backup(col_stats)
File "/usr/bin/duplicity", line 572, in full_backup
globals.backend)
File "/usr/bin/duplicity", line 454, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 146, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 172, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 453, in <lambda>
vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 342, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 395, in inner_retry
% (n, e.__class__.__name__, util.uexc(e)))
File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 79, in uexc
return ufn(unicode(e).encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 37: ordinal not in range(128)
==========================
我正在使用 Ubuntu 18.04 软件包附带的备份实用程序,名为“Backups”。我正在备份到外置硬盘 - 东芝 2Tb。它过去一直有效,但最近(一周前)出现了这个问题。据我所知,我没有做任何不寻常的事情。
我将非常感激任何帮助。请记住,我已经 70 岁了,而且还是菜鸟!提前感谢你。DB
答案1
最终,我放弃了“备份”应用程序,现在使用“Grsync”(GUI)和 Rsync 作为终端。此外,报告了与文件名中使用冒号 < : > 和 < ? > 相关的错误 - 更正后一切正常。真诚感谢那些提供帮助的人 - 非常感谢!