[Box Backup] locking files on Windows
Thu, 15 Jun 2006 11:48:26 -0500 (CDT)
> > Is it possible that bbackupd is not releasing a lock on the data file
> > which this app uses? Or am I just unlucky in that it just happens to be
> > backing up that file at the same time every day?
> It is possible that it's failing to release a lock, although I thought I
> had covered all code paths that could cause this. Do you get any errors
> relating to this file in the Windows event viewer?
Nope, nothing that I can see.
> Can you exclude it from
> the backup (temporarily) to see if the problem goes away?
Well, if I leave bbackupd service off, the problem goes away, so I think that
confirms the same thing.
> I don't think it could be backing up the same file at the same time every
> day if you are using automatic backup mode, but you could check whether
> it's connected to the server at the time when your users log in, by
> looking at the messages in the event viewer.
It appears that (in this morning's case, at least) this was true. I got the
"Connection made, login successful" message at 8:54 and the user complained
about the lock at 8:59. I immediately shut down the service, the user logged in
ok, and I started the service again at 9:00. I'll keep an eye on it for the
next few days to see if this same timing continues.
Or maybe I'm just better off in snapshot mode. This one file is really the only
thing I need to backup on this server and it gets changed pretty much all day