[Box Backup] Location change question

Jérôme Schell boxbackup@fluffy.co.uk
Fri, 25 Jun 2004 15:34:24 +0200


Hello,

Question about BackupLocations change in bbackupd.conf file.
If a user wants to change his backup locations like this:
Old locations:
BackupLocations
{
      home-jerome-myrep
      {
         Path = /home/jerome/myrep
      }
      home-jerome-rep2
      {
         Path = /home/jerome/rep2
      }
}

New Locations:
BackupLocations
{
      home-jerome-myotherrep
      {
         Path = /home/jerome/myotherrep
      }
      home-jerome-rep2
      {
         Path = /home/jerome/rep2
      }
}

If we suppose that the user's store on the server is almost already 
full, bbackupd won't be able to upload the "myotherrep" location as 
bbstored will wait for 2 days before deleting the old location "myrep".
I think this delay of 2 days is very good, but for that particular 
situation, it is perhaps not, as the user will have to wait for 2 days 
before his data are really uploaded (this is just an exemple to 
illustrate, I think he should have change just the Path instead of also 
changing the name of the location, but imagine a directory is getting 
bigger very fast and he wants to stop saving a location to have enough 
space for that directory...).
So my question is :): couldn't it be possible to respect these 2 days of 
delay only if there is enough space in the store (in fact as it is done 
for old revisions and deleted files)? This could be an optionnal feature 
activated by an option in the bbackupd.conf file.

Thanks,
-- 
Jérôme