From: Lars <La...@ko...> - 2003-11-29 17:43:59
|
Hello! Yes, Kern and Ludovic, that sounds really good. I only can agree to your concept of scratch pools and corious about it. Kern, did you remember my idea of using the barcode feature for = automatic labeling to get the right volume label? Is it working now? So it would be fine if one gives the label volume command all unlabeld = volumes are labeld and put into a/the scratch pool. To handel more than one scratch pool I don't have an idea for = automatich labeling. Perhaps one can give something than an default = scratch pool, and handel the other scratch pools manually. And yes, I will like this feature! Thanks and regards Lars In reply to Kern Sibbald who wrote: >Hello Ludovic, > >Thank you for your response. With these specifications, the idea is much= >more appealing to me. Below, I suggest a possible different way of >specifying a Scratch Pool ... > >On Fri, 2003-11-28 at 12:15, Ludovic Strappazon wrote: >> Here how I consider the thing : >> = >> Kern Sibbald wrote: >> = >> >On Fri, 2003-11-28 at 10:02, Ludovic Strappazon wrote: >> > = >> > >> >>Hello Kern, >> >> >> >>Few months ago, we have discuss about the scratch pool, I think thi= s is = >> >>one of the (rare) features which lacks to Bacula. Did you think abou= t it ? >> >> = >> >> >> > >> >Hello Ludovic, >> > >> >Yes, I remember your request. I made the following notation in my to= do >> >list: >> > >> >- Scratch Pool where the volumes can be re-assigned to any Pool. >> > >> >but I haven't thought about it much. I did think that I can use the P= ool >> >type to indicate scratch Pools, but at the moment, none of the code >> >really checks pool types. >> > >> >Your request did prompt me to add "update pool" allowing the user to >> >change the pool. >> > >> >I'll be happy to up the priority of this if I can have the following >> >things: >> > >> >1. Some precise input from you and anyone else interested in *exactly= * >> >where in the current "Recycling Algorithm" Bacula should search for >> >volumes in the scratch pool. See: >> > >> >http://www.bacula.org/html-manual/recycling.html#Recycling >> > >> > = >> > >> * Search the Pool for a Volume with VolStatus=3DAppend (if there i= s >> more than one, the Volume with the lowest MediaId is chosen) >> * Search the Pool for a Volume with VolStatus=3DRecycle (if there = is >> more than one, the Volume with the lowest MediaId is chosen) >> * Prune volumes applying Volume retention period (Volumes with >> VolStatus Full, Used, or Append are pruned) >> * Search the Pool for a Volume with VolStatus=3DPurged >> * Attempt to create a new Volume if automatic labeling enabled >> * Prune the oldest Volume if RecycleOldestVolume=3Dyes (the Volume= >> with the oldest LastWritten date and VolStatus equal to Full, >> Recycle, Purged, Used, or Append is chosen). This record ensures= >> that all retention periods are properly respected. >> * Purge the oldest Volume if PurgeOldestVolume=3Dyes (the Volume w= ith >> the oldest LastWritten date and VolStatus equal to Full, Recycle= , >> Purged, Used, or Append is chosen). We strongly recommend agains= t >> the use of *PurgeOldestVolume* as it can quite easily lead to lo= ss >> of current backup data. >> * *Search the Scratch pool for a Volume if using Scratch Pool >> enabled and create a new Volume**.* >> * Give up and ask operator >> = >> >2. What does Bacula do if there are two scratch Pools? This could be= >> >simplified by requiring the Pool Name to be Scratch rather than the P= ool >> >type, but that seems rather limited. >> > = >> > >> I think there should be only one Scratch pool ( or one for each type o= f = >> media ? ), eventually replacing the Default pool. This pool would be = >> only a common reserve of Volumes for all the other pools. The pool = >> ressource could contain a new record : >> = >> *UseScratchPool =3D <yes/no>* >> This record specifies if Bacula is authorized to pick a Volume fro= m >> the Scratch Pool and add it in this pool. > >How about: > > UseScratchPool =3D <pool-name> = > where the Pool Type must be Scratch. > >> = >> Advantages : = >> = >> * When you install Bacula, you create your pools, and put all your= >> volumes in the scratch pool >> * With Bacula running, you just have to verify that the scratch po= ol >> is not empty. > > * You can have different Scratch Pools that feed different Pools. >> = >> *RecycleInScratchPool =3D <yes/no> >> *This record specifies if a purged Volume stays in his pool,= = >> or joins the scratch pool. > >How about: > > RecycleToPool =3D <pool-name> > Where the Pool Type must be Scratch. > >Best regards, > >Kern > > >> = >> ** >> = >> >3. Someone else would like this feature. >> > >> >Even if I don't get all the items above, I will definitely implement = it, >> >is is just a question of getting the answer to (or deciding what to) = do >> >for the first two questions, and setting a priority. >> > >> >Best regards, >> > >> >Kern >> > >> > >> > >> >------------------------------------------------------- >> >This SF.net email is sponsored by: SF.net Giveback Program. >> >Does SourceForge.net help you be more productive? Does it >> >help you create better code? SHARE THE LOVE, and help us help >> >YOU! Click Here: http://sourceforge.net/donate/ >> >_______________________________________________ >> >Bacula-users mailing list >> >Bac...@li... >> >https://lists.sourceforge.net/lists/listinfo/bacula-users >> > >> > >> > = >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Bacula-users mailing list >Bac...@li... >https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- = Lars K=F6ller E-Mail: la...@ko... (LKoeller@FreeBSD.ORG) -------- FreeBSD, was sonst? ---- http://www.de.freebsd.org -------- |