Per Marker Mortensen schrieb: > At Fri, 01 Sep 2006 16:48:46 +0200, > Bernhard Reinhardt wrote: > > Hi > > >>What does this mean (Is this the Problem)? The Backup took about 20h and >>the source-files are heavily used so certainly files have been deleted. >>Please don't tell me dirvish can't handle this. > > > You can modify dirvish to handle the rsync error - file vanish - as if > the rsync was sucessfull. > > champignac:~# diff -u /usr/sbin/dirvish /usr/local/sbin/dirvish > --- /usr/sbin/dirvish 2004-02-25 09:56:29.000000000 +0100 > +++ /usr/local/sbin/dirvish 2006-08-29 18:33:57.000000000 +0200 > @@ -76,7 +76,7 @@ > 21 => [ 'error', "some error returned by waitpid()" ], > 22 => [ 'error', "error allocating core memory buffers" ], > 23 => [ 'error', "partial transfer" ], > - 24 => [ 'error', "file vanished on sender" ], > + 24 => [ 'success', "file vanished on sender" ], > > 30 => [ 'error', "timeout in data send/receive" ],
The backup works now. But dirvish-expire won´t delete old images because it thinks the are no good cannot expire backup:default:20060908-22:04 No unexpired good images cannot expire backup:default:20060909-22:04 No unexpired good images This is because with your patch the last line of the summary-file looks like: Status: (24) -- file vanished on sender But dirvish-expire expects something like Status: success. Can anyone tell me how to patch this? Regards Bernhard _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
