|
From: | Alain Russell |
Subject: | [rdiff-backup-users] Case insensitive filesystems -> assert not incrp.lstat() |
Date: | Wed, 26 Aug 2009 21:32:55 +1200 |
Hi, Having a problem with a directory that has been renamed on backup source from capital to lowercase .. 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. The full dump of what's occurring below. Can this be fixed without starting again ? and how do I stop this happening in future ? Thanks Alain 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
Alain Russell Blackpepper skype: alainrussell p. +64 9 280 4003 | m. +64 21 446 169 |
[Prev in Thread] | Current Thread | [Next in Thread] |