[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: what to do if --check-destination-dir ends in traceback?
From: |
griffin tucker |
Subject: |
Re: what to do if --check-destination-dir ends in traceback? |
Date: |
Tue, 6 Jul 2021 09:46:02 +1000 |
On Tue, 6 Jul 2021 at 07:47, Gregor Zattler <telegraph@gmx.net> wrote:
>
> 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):
the latest version is v2.0.5 - debian is slow with stable builds so
buster doesn't include v2.0.5 with apt-get
you could install v2.0.5 from source on debian 10 (recommended) or
otherwise install debian bullseye (NOT recommended) but either of
these options won't help you recover your data
sorry i couldn't be of more help, can anyone else help recover data?
>
>
> $ 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
>
>