Comment 5 for bug 125364

Tanker Bob (tankerbob) wrote :

Fabian,

Since I didn't hear anything for seven months after my initial report, I implemented another backup solution. I haven't used Keep since then. But, here are the results of trying today to backup a normal document directory:

An error occured making /home/bob/Documents/Word Documents backup:
Exception '[Errno 22] Invalid argument' raised of class '': File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 524, in fast_process rpath.rename(tf, mirror_rp) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 252, in rename else: rp_source.conn.os.rename(rp_source.path, rp_dest.path) Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 23, in rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 524, in fast_process rpath.rename(tf, mirror_rp) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 252, in rename else: rp_source.conn.os.rename(rp_source.path, rp_dest.path) OSError: [Errno 22] Invalid argument

I then did the same backup as you suggested with kdesu. I still received this error:

An error occured making /home/bob/Documents/Word Documents backup:
Exception '[Errno 22] Invalid argument' raised of class '': File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 524, in fast_process rpath.rename(tf, mirror_rp) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 252, in rename else: rp_source.conn.os.rename(rp_source.path, rp_dest.path) Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 23, in rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 524, in fast_process rpath.rename(tf, mirror_rp) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 252, in rename else: rp_source.conn.os.rename(rp_source.path, rp_dest.path) OSError: [Errno 22] Invalid argument

I thought that the problem might be the compression, so I unchecked the compression box but still received the same error:

An error occured making /home/bob/Documents/Word Documents backup:
Exception '[Errno 22] Invalid argument' raised of class '': File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 524, in fast_process rpath.rename(tf, mirror_rp) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 252, in rename else: rp_source.conn.os.rename(rp_source.path, rp_dest.path) Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 23, in rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 524, in fast_process rpath.rename(tf, mirror_rp) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 252, in rename else: rp_source.conn.os.rename(rp_source.path, rp_dest.path) OSError: [Errno 22] Invalid argument

Looks like there's a more basic problem with Keep. I'm running it now under Kubuntu 8.04.1 i386 build. Keep version is 0.4.0 under KDE 3.5.10. I'm backing up from a Raid 1 array to a USB 2 backup hard drive. Hope that helps you.