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

Richard Edward Horner rich at richhorner.com
Wed Sep 26 06:17:26 UTC 2007


Any solution should implement a no-prompt flag so that unattended
backups can use this feature if so desired.

Thanks, Rich(ard)

On 9/25/07, Brad Fitzpatrick <brad at danga.com> wrote:
> 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
>
>


-- 
Richard Edward Horner
Engineer / Composer / Electric Guitar Virtuoso
rich at richhorner.com
http://richhorner.com - updated June 28th


More information about the brackup mailing list