[Box Backup] different container ID messages

Robert Shaw boxbackup@fluffy.co.uk
Thu, 3 Mar 2005 09:46:23 -0800


On Mar 3, 2005, at 9:42 AM, Ben Summers wrote:
> Actually, now I've looked at it, it isn't quite as advanced as I lead 
> you to believe. Oh well. In a BackupStoreDirectory, you can set 
> BackupStoreDirectory::Entry::Flags_RemoveASAP on an entry, and then 
> housekeeping will remove it as soon as it's old or deleted. So the 
> "hard bit" is done.
>
> But, you'd need to implement a command in the protocol 
> bin/bbstored/backupprotocol.txt and then 
> lib/bbstored/BackupCommands.cpp which would recursively apply an 
> arbitrary flag (because it'd be nice to have this generic for some 
> future stuff I'm planning) to directories and files.
>
> Then you would modify bbackupquery to send this new command, maybe 
> with a "setflags" command. There's already a -w switch implemented 
> which puts the connection into read/write mode.
>
> But, if you feel like a challenge...

Cool, I'll take a look and see what I can come up with. :)

-Robert