From: Edwin H. <ed...@co...> - 2003-09-26 23:44:35
|
[ 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. 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.... -- Edwin Huffstutler ed...@co... GnuPG Key ID: AE782DC9 |