[PATCH] Brackup shouldn't die when a File disappears from underneath it

Brad Fitzpatrick brad at danga.com
Wed Sep 26 03:50:13 UTC 2007

Max Kanat-Alexander wrote:
> 	I often back up file systems that undergo minor changes while
> being backed up. For example, a maildir. If a few files disappear from
> underneath me while I'm backing up, I still want the backup to complete.
> 	Right now, if a file disappears, Brackup just dies. I've
> attached a patch that seems to fix this, although I'm not sure it's the
> best possible solution.
> 	-Max
You should at least check to make sure $!{ENOENT} is true.. that is, 
verify that the reason the open failed was because the file is no longer 
there, not for some other more tragic reason.

- Brad

More information about the brackup mailing list