SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
file doesnt exist backup bug
Author Message
Post file doesnt exist backup bug 
Hi,
I am getting an error on of my cifs mounted backups -
There is something strange about the file it is trying to backup - when
rsync trys to copy it, it says File has gone away or something to that
effect, but it continues on. I would like rdiff-backup to do the same -
continue on when strange files appear....
cp says no such file or directory when asked to copy the files. I know
its a crap use case, but you can't account for what users are going to
make you do. Here is a list of the directory:

ls -al /mnt/server-data/data/USERS/JASON/New\ Briefcase-20050929/Jason\
Others/Marketing/Exhibition/CPSE\ 2005\ Shenzhen_051101-04/
total 136
-rwxrwSrwt 1 root root 29805 May 11 13:10 , bank account
no.eml
drwxrwxrwx 1 root root 0 Sep 29 11:56 .
drwxrwxrwx 1 root root 0 Sep 29 11:56 ..
-rwxrwSrwt 1 root root 6524 Jul 11 09:28 ?????? ???????.eml
-rwxrwSrwt 1 root root 2352 Jul 4 09:27 ??????.eml
-rwxrwSrwt 1 root root 2723 Jun 10 16:19 ???????.eml
-rwxrwSrwt 1 root root 2786 Jun 20 11:24 ??????????.eml
-rwxrwSrwt 1 root root 2786 Jun 20 11:24 ??????????.eml
-rwxrwSrwt 1 root root 802170 Apr 18 15:21 ????????????????.eml

rdiff-backup crashes with the following traceback when copying one of
the files with question marks. They might in reality have chinese
characters or something..

thanks

dave

Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
283, in Main take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
253, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
306, in Backup
backup.Mirror(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
216, in patch
for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py",
line 181, in FillInIter
for rp in rpiter:
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
103, in get_diffs
for dest_sig in dest_sigiter:
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
167, in get_sigs
for src_rorp, dest_rorp in cls.CCPP:
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
301, in next
source_rorp, dest_rorp = self.iter.next()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py",
line 92, in Collate2Iters
try: relem1 = riter1.next()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py",
line 352, in next
del self.cache_dict[self.cache_indicies[0]]

Display posts from previous:
Reply to topic Page 1 of 1
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
  


Magic SEO URL for phpBB