[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Hi + Backup Failing
From: |
Alain Russell |
Subject: |
[rdiff-backup-users] Hi + Backup Failing |
Date: |
Sun, 16 Aug 2009 22:26:30 +1200 |
Hi,
I'm relatively new to rdiff-backup, been using it for a few weeks now.
I've run into a problem where my backups are failing (seemingly on the
same directory/file) - the log of what happens is below.
---
Exception 'Path: /Volumes/Store/Backup/www/rdiff-backup-data/
increments/team/gympro.co.nz/_com/exercise_library/machine.
2009-08-08T01:00:23+12:00.dir
Index: ('team', 'gympro.co.nz', '_com', 'exercise_library', 'machine.
2009-08-08T01:00:23+12:00.dir')
Data: {'carbonfile': {'flags': 0, 'createDate': -966647539, 'type':
'\x00\x00\x00\x00', 'location': (0, 0), 'creator':
'\x00\x00\x00\x00'}, 'uid': 501, 'perms': 509, 'type': 'reg', 'gname':
'staff', 'e$
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 304, in error_check_Main
try: Main(arglist)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 324, in Main
take_action(rps)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 343, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
backup.py", line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
backup.py", line 243, in patch_and_increment
ITR(diff.index, diff)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
rorpiter.py", line 284, in __call__
branch.start_process(*args)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
backup.py", line 728, in start_process
inc_prefix)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
increment.py", line 41, in Increment
elif mirror.isdir(): incrp = makedir(mirror, incpref)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
increment.py", line 103, in makedir
dirsign = get_inc(incpref, "dir")
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
increment.py", line 123, in get_inc
assert not incrp.lstat(), incrp
Traceback (most recent call last):
File "/opt/local/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 304, in error_check_Main
try: Main(arglist)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 324, in Main
take_action(rps)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py",
line 343, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
backup.py", line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
backup.py", line 243, in patch_and_increment
ITR(diff.index, diff)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
rorpiter.py", line 284, in __call__
branch.start_process(*args)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
backup.py", line 728, in start_process
inc_prefix)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
increment.py", line 41, in Increment
elif mirror.isdir(): incrp = makedir(mirror, incpref)
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
increment.py", line 103, in makedir
dirsign = get_inc(incpref, "dir")
File "/opt/local/lib/python2.5/site-packages/rdiff_backup/
increment.py", line 123, in get_inc
assert not incrp.lstat(), incrp
AssertionError: Path: /Volumes/Store/Backup/www/rdiff-backup-data/
increments/team/gympro.co.nz/_com/exercise_library/machine.
2009-08-08T01:00:23+12:00.dir
Index: ('team', 'gympro.co.nz', '_com', 'exercise_library', 'machine.
2009-08-08T01:00:23+12:00.dir')
Data: {'carbonfile': {'flags': 0, 'createDate': -966647539, 'type':
'\x00\x00\x00\x00', 'location': (0, 0), 'creator':
'\x00\x00\x00\x00'}, 'uid': 501, 'perms': 509, 'type': 'reg', 'gname':
'staff', 'e$
Fatal Error: Lost connection to the remote system
If I do --check-destination-dir everything seems ok and I can re-run
the backup manually, but it will fail again. Backups have been going
fine until this happened, they are triggered from the backup server
and pull data from live server. If I try and backup just this
directory it appears to backup ok to a new test location so guessing
its something to do with the local index file, but have no idea about
Python ..
Both servers are running Mac OS X - rdiff-backup 1.2.8.
Let me know if this is an easy fix, or point me in the right direction.
Thanks !
Alain
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [rdiff-backup-users] Hi + Backup Failing,
Alain Russell <=