我的最终目标是对系统(如时光机)进行完整备份,并在发生灾难时使用它重新安装它。中间目标是在一天中多次备份所有工作区域。
好吧,我听从了您的所有建议:删除了已安装的 deja-dup 使用 apt-get 的备份没有备份根(尚未应用建议的补丁来合并 /)
但结果总是一样的。看起来有一些损坏的数据:注意最后的消息总是一样的!!!!
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 1511, 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)
现在的配置是:
Folder to save: /etc /dev /run /bi /sbin /snap /sys /proc /opt /media /root /lib64 /lib /srv /var /usr /mnt
Folders to ignore: Trash, /backup, /git, /neo4j, /sys_backup /home
Storage location: Local folder - /sys_backup