Kern Sibbald a écrit : >On Thursday 25 August 2005 10:54, Ludovic Strappazon wrote: > > >>Kern Sibbald a écrit : >> >> >>>On Thursday 25 August 2005 10:24, Ludovic Strappazon wrote: >>> >>> >>>>Kern Sibbald a écrit : >>>> >>>> >>>>>On Thursday 25 August 2005 03:40, Craig Holyoak wrote: >>>>> >>>>> >>>>>>I'm currently using 1.36.2 successfully, but am looking at the features >>>>>>coming in 1.37, and am particularly interested in the scratch pool >>>>>>feature. I understand this allows me to put all my tapes in the scratch >>>>>>pool, and they will be moved into daily/weekly/monthly pools as >>>>>>required. What I would like is for the tapes to be returned to the >>>>>>scratch pool when they are recycled, thus allowing tapes to rotate >>>>>>between pools and hopefully even wear. Is this possible as an option? >>>>>> >>>>>> >>>>>No, unfortunately, I didn't add a field to keep track of the fact that >>>>>they come from the scratch pool. >>>>> >>>>> >>>>Oh, I believed it was the aim of the RecyclePoolId field of the Pool >>>>table... >>>> >>>> >>>Duh! after a bit more thought, I don't think RecyclePoolId is going to >>>help if it is in the Pool record. It needs to be in the Media record to >>>get the Volume back to the right pool :-( >>> >>>I wonder what I had in mind. >>> >>> >>Wasn't it something like "Recycle volumes from pool X to its >>RecyclePoolId" ? >> >> > >I guess that would work. I guess I wasn't so dumb after all, but it is a pity >it is not on a volume by volume basis. That means that if you recycle from >pool X to the Scratch pool, all volumes in pool X will go there. Certainly >that is an improvement over the "nothing" that exist today. > > > For the way I'd use it, it seems perfect :
* I create a new pool XXX with ScratchPoolId = MyScratchPool's PoolId and let it fill itself, and RecyclePoolId = XXX's PoolId so I can see if it become stable and I just have to supervise MyScratchPool * If I want to remove this pool, I set RecyclePoolId = MyScratchPool's PoolId, and once it is empty, I can remove it safely. Ludovic Strappazon ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users