On 19.07.2007 14:40, BOLLENGIER Eric wrote: > On Thursday 19 July 2007 14:20:51 Kern Sibbald wrote: >> On Thursday 19 July 2007 14:09, BOLLENGIER Eric wrote: >> >> That happened because the default pool attributes from the new pool were >> applied when moving the volume out of the Scratch pool. >> >> I've fixed it now. > > It was designed for that :( > > Now, user like me have to run something like > > UPDATE Media set RecyclePoolId = > (SELECT RecyclePoolId from Pool WHERE Pool.PoolId = Media.PoolId) > > in crontab. Or new media will never be updated. > >>> When Default pool needs a volume, it will take a new one from Scratch, >>> and the RecyclePool will be set to "Scratch". >>> >>> >>> When a volume from Default pool will be purged, the volume will go to the >>> Scratch. (RecyclePool will not change, it doesn't matter) >>> >>> When 10Years pool needs a volume, it will take a new one from Scratch, >>> and will go (and stay) to Trash when it will be purged. >>> >>> When Week pool needs a volume, it will be take from Scratch, and will >>> stay forever in this pool. Because, user don't have set RecyclePool= >>> option. >>> >>> >>> This option is designed for that, nothing else. >> Well, I have changed the behavior you expect to correspond to how most >> other parameters of a Volume are handled. The Recycle Pool is set when a >> Volume is created, but not changed when it is recycled into the new pool. > > > Not for : > > Recycle, VolRetention, VolUseDuration, MaxVolJobs, MaxVolFiles, MaxVolBytes, > and LabelType. > > > I think, this option is very close from VolRetention or Recycle. >
Just my remark: With this point I am totally on Erics side. I really would like to see the RecylePool set from the new pool. Andreas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
