[Box Backup] Windows Client

Chris Wilson boxbackup@fluffy.co.uk
Sun, 5 Mar 2006 22:02:56 +0000 (GMT)


Hi Gary,

>> Failed to delete the StoreObjectInfoFile, backup cannot continue 
>> safely.
>
> As a side-note: why would a backup not be able to happen safely without 
> deleting the StoreObjectInfoFile? I don't think this one was in the 
> original code.

It's not in the original code, it's one of the safety features that I 
added at Ben's suggestion. The problem is that if we can't delete the 
cached store info, and the backup aborts or is killed without writing 
another one, then the next time bbackupd starts, it will try to use the 
same cached info again. bbackupd will not know that a previous backup was 
half-completed, because the client store marker has not changed.

I'm told that this could have very bad consequences, although I don't know 
what they are.

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 |