[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] unable to recover from interrupted backup
From: |
Ben Tucker |
Subject: |
[rdiff-backup-users] unable to recover from interrupted backup |
Date: |
Fri, 21 Aug 2009 17:19:20 -0400 |
I had a machine fail in the midst of backing up a couple weeks ago and
ever since I have been unable to get it to successfully backup.
rdiff-backup --check-destination-dir runs without error, but then
running the actual backup command results in an exception. I'm
running 1.2.8 stock deb install on Ubuntu jaunty. The client machine
is also running 1.2.8 (also ubuntu). These are the only versions of
rdiff-backup with have been used. I'd greatly appreciate any pointers
on how to resolve this. Thanks!
-Ben
Full output:
$ rdiff-backup --exclude-other-filesystems --print-statistics ruby2::/
/var/cache/rdiff-backup/ruby2
/var/lib/python-support/python2.6/rdiff_backup/SetConnections.py:148:
DeprecationWarning: os.popen2 is deprecated. Use the subprocess
module.
stdin, stdout = os.popen2(remote_cmd)
Previous backup seems to have failed, regressing destination now.
Warning: expected /var/cache/rdiff-backup/ruby2/tmp/passenger.12237 to
be a directory but found None instead.
This is probably caused by a bug in versions 1.0.0 and earlier.
Exception '('tmp', 'passenger.12237')' raised of class '<type
'exceptions.KeyError'>':
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
304, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
324, in Main
take_action(rps)
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
343, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 243, in patch_and_increment
ITR(diff.index, diff)
File "/var/lib/python-support/python2.6/rdiff_backup/rorpiter.py",
line 280, in __call__
if last_branch.can_fast_process(*args):
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 520, in can_fast_process
mirror_rorp = self.CCPP.get_mirror_rorp(index)
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 471, in get_mirror_rorp
except KeyError: return self.get_parent_rorps(index)[1]
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 453, in get_parent_rorps
raise KeyError(index)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
304, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
324, in Main
take_action(rps)
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line
343, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 243, in patch_and_increment
ITR(diff.index, diff)
File "/var/lib/python-support/python2.6/rdiff_backup/rorpiter.py",
line 280, in __call__
if last_branch.can_fast_process(*args):
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 520, in can_fast_process
mirror_rorp = self.CCPP.get_mirror_rorp(index)
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 471, in get_mirror_rorp
except KeyError: return self.get_parent_rorps(index)[1]
File "/var/lib/python-support/python2.6/rdiff_backup/backup.py",
line 453, in get_parent_rorps
raise KeyError(index)
KeyError: ('tmp', 'passenger.12237')
Fatal Error: Lost connection to the remote system
- [rdiff-backup-users] unable to recover from interrupted backup,
Ben Tucker <=