[Box Backup] housekeeping preference?!

Ben Summers boxbackup@fluffy.co.uk
Wed, 7 Jul 2004 08:53:14 +0100


On 6 Jul 2004, at 19:31, Garry Glendown wrote:

> Hi,
>
> I was wondering - why does the housekeeping process prefer deleting 
> outdated files before deleting deleted files? For one machine, I've 
> had deleted files for 28megs in the backup for quite a while now (from 
> an incorrectly added directory that I then removed from the config), 
> and have since had several gigs of data replaced and removed again, 
> and still the deleted files remain ... shouldn't files be removed 
> strictly by age, thus not prefering one over the other?

This is to make sure you always have the latest version of any file 
available. What would happen if you had deleted this by mistake, and 
only discovered it a week later?

The idea is to prefer to delete the least important data. So 
essentially, it counts the age of each file as the number of versions 
to get to the latest version, and deletes the oldest ones first.

I can see how it's not helping you though. Set the hard limit to below 
the current data usage, let the housekeeping remove things, and then 
put the limit back. I will add a note to think about marking stuff for 
actual deletion in my forthcoming revision of this system.

Ben