From: peter g. <pc...@ag...> - 2003-09-27 12:40:07
|
* Edwin Huffstutler <ed...@co...> [030926 16:34]: > > [ peter green wrote: ] > > I'm running flexbackup in rsync mode, and when backing up qmail's Maildir/s > > (basically, one file per email message) I can get errors. The problem is > > that users download emails during the backup process, so when rsync goes to > > grab them, they have "disappeared". The rsync error is, e.g., > > > > send_files failed to open //home/wjtl/users/jeremy/new/1064220493.9326.beta.itickets.com: No such file or directory > > > > We *need* to backup email directories, so excluding them isn't an option. We > > cannot really afford to shut off POP3/IMAP services while backups run > > either. So I'm thinking we want flexbackup to ignore these (non-fatal!) > > errors. > > > > Any ideas how we can do this? TIA, > > Looking though the rsync docs, there doesn't seem to be any way to > brush off that kind of problem. > > Does rsync flat-out stop at that point, or does it actually continue with > the rest of the sync? If it continues and flexbackup just quits when it > detects the rsync failed, we might be able to do something. Yes, it looks like it continues and flexbackup "fails" at the end. Nothing is written to the backup directory and the log is not compressed. (I *do* have it set up to compress the log, which seems to happen if the backup is successful.) > This kind of thing keeps coming up. I guess some kind of "ignore errors in > the pipeline" flag can be put in, even though I still don't like it. I've > not wanted to add explicit support for these > files-changing-during-the-backup scenarios people are coming up with, > but.... The thing is that these files don't change, they disappear. In that case, at least, flexbackup really shouldn't care, and should just treat it as if the file was never there in the first place. IMO... Thanks for the response! /pg -- Peter Green : Agathon Group : pc...@ag... |