[Box Backup] locking files on Windows

Chris Wilson boxbackup@fluffy.co.uk
Thu, 15 Jun 2006 14:58:16 +0000 (GMT)


Hi Alex,

> 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? Can you exclude it from 
the backup (temporarily) to see if the problem goes away?

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.

I will try to add some more debugging code to check that files are not 
being left open.

Cheers, Chris.
-- 
_ ___ __     _
   / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |