Welcome! » Log In » Create A New Profile

strangeness with a backup.

Posted by Anonymous 
strangeness with a backup.
January 28, 2004 08:54AM
Nightly backups started failing for a specific host.

Investigation shows that its failing at the check-destination-dir phase :

[root < at > discovery fc-ps1]# rdiff-backup -l .
Fatal Error: Previous backup to /backup/fc-ps1/. seems to have
failed.Rerun rdiff-backup with --check-destination-dir option to
revertdirectory to state before unsuccessful session.
[root < at > discovery fc-ps1]# rdiff-backup --check-destination-dir .
Warning, metadata file has entry for dev/audio,
but there are no associated files.
Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
250, in Main
take_action(rps)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
232, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
618, in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/regress.py",
line 70, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rorpiter.py",
line 278, in __call__
if last_branch.can_fast_process(*args):
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/regress.py",
line 226, in can_fast_process
return not rf.mirror_rp.isdir() and not rf.metadata_rorp.isdir()
AttributeError: RegressFile instance has no attribute 'metadata_rorp'

dev/audio doesn't exist in the backup tree. In the real server it's just a
symlink, and it hasn't changed since the system was installed a year ago.

Any ideas on how to fix this without losing incrementals history ?

Cheers,

Al
strangeness with a backup.
January 31, 2004 03:40PM
[quote][quote][quote][quote][quote]Alan Horn <ahorn < at > deorth.org>
wrote the following on Wed, 28 Jan 2004 08:47:24 -0800 (PST)
[/quote][/quote][/quote][/quote]
Nightly backups started failing for a specific host.

Investigation shows that its failing at the check-destination-dir phase :
[/quote]...
[quote]return not rf.mirror_rp.isdir() and not rf.metadata_rorp.isdir()
AttributeError: RegressFile instance has no attribute 'metadata_rorp'
[/quote]
You are using 0.12.x then? It looks like this was fixed in 0.13.x but
for some reason didn't get backported.

Hopefully the patch at

http://savannah.nongnu.org/cgi-bin/viewcvs/rdiff-backup/rdiff-backup/rdiff_backup/regress.py.diff?r1=1.6.2.6&r2=1.6.2.7

will fix it. If it doesn't fix it, and you are desparate, see the FAQ
for a workaround when regression fails.

--
Ben Escoto
Sorry, only registered users may post in this forum.

Click here to login