[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
what to do if --check-destination-dir ends in traceback?
From: |
Gregor Zattler |
Subject: |
what to do if --check-destination-dir ends in traceback? |
Date: |
Mon, 5 Jul 2021 23:47:11 +0200 |
Dear rdiff-backup users and developers,
lately I had to do a fsck.ext4 -y on the filesystem which
hosts my rdiff-backup. Then I had tracebacks when I
attempted the next backup. What to do in such a case?
Is there any hope to revive this rdiff-backup?
This is rdiff-backup 1.2.8 on Debian 10.10 (buster):
$ sudo rdiff-backup --check-destination-dir
/mnt/usb-backup/rdiff-backup/durable/
Unknown field in line '9e r1ons000'
Unknown field in line '9e 10a595828229'
Exception 'RORPath instance has no attribute 'path'' raised of class '<type
'exceptions.AttributeError'>':
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 282, in
take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 872, in
CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 71, in
Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rorpiter.py", line 281,
in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 274, in
fast_process
else: rpath.copy_with_attribs(rf.metadata_rorp, rf.mirror_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 243, in
copy_with_attribs
copy(rpin, rpout, compress)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 121, in
copy
else: raise RPathException("File %s has unknown type" % rpin.path)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 282, in
take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 872, in
CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 71, in
Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rorpiter.py", line 281,
in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 274, in
fast_process
else: rpath.copy_with_attribs(rf.metadata_rorp, rf.mirror_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 243, in
copy_with_attribs
copy(rpin, rpout, compress)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 121, in
copy
else: raise RPathException("File %s has unknown type" % rpin.path)
AttributeError: RORPath instance has no attribute 'path'
Thanks for your attention, Gregor
- what to do if --check-destination-dir ends in traceback?,
Gregor Zattler <=