Robert Sander
2004-Jul-21 09:02 UTC
Avoid return code 24 (file vanished) with command line option?
Hi! Is it possible to avoid this error condition by specifying a command line option? I haven't found an obvious one in the manual. Background: We are using rsync for a live backup of our home directories. Emails are stored in Maildir format within the homedirectories. The rsync process is running for some time and in the meantime emails get deleted because users still have IMAP access. The backup process restarts rsync if it encountered an error condition. But this error is not a "real" error. If rsync does not have this option I have to talk to the author of the live backup system. It would be handy to have an option like rsync --ignore-deleted-files Maildir/ that specifies directories under which files can be deleted while rsync runs. Greetings -- Robert Sander Senior Manager Information Systems Epigenomics AG Kleine Praesidentenstr. 1 10178 Berlin, Germany phone:+49-30-24345-330 fax:+49-30-24345-555 http://www.epigenomics.com robert.sander@epigenomics.com
Robert Sander
2004-Jul-22 09:47 UTC
Avoid return code 24 (file vanished) with command line option?
On Wed, 21 Jul 2004 09:01:43 +0000 (UTC), Robert Sander <gurubert-dated-1090399286.enecemim@epigenomics.com> wrote:> The backup process restarts rsync if it encountered an error condition. > But this error is not a "real" error.Problem fixed. I was able to change the backup script's behaviour. The script now treats rsync's exit code 24 only as warning and not as error condition. This is sufficient for our situation. I was talking about dirvish, unfortunately its website is currently unavailable as the nameservers for pegasys.ws do not respond. Greetings -- Robert Sander Senior Manager Information Systems Epigenomics AG Kleine Praesidentenstr. 1 10178 Berlin, Germany phone:+49-30-24345-330 fax:+49-30-24345-555 http://www.epigenomics.com robert.sander@epigenomics.com