Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
strangeness with a backup.

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup
View previous topic :: View next topic  
Author Message
Alan Horn
Guest





PostPosted: Wed Jan 28, 2004 8:54 am    Post subject: strangeness with a backup. Reply with quote

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
Back to top
Ben Escoto
Guest





PostPosted: Sat Jan 31, 2004 3:40 pm    Post subject: strangeness with a backup. Reply with quote

Quote:
Quote:
Quote:
Quote:
Quote:
Alan Horn <ahorn < at > deorth.org>
wrote the following on Wed, 28 Jan 2004 08:47:24 -0800 (PST)

Nightly backups started failing for a specific host.

Investigation shows that its failing at the check-destination-dir phase :
...
Quote:
return not rf.mirror_rp.isdir() and not rf.metadata_rorp.isdir()
AttributeError: RegressFile instance has no attribute 'metadata_rorp'

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB