On Fri, 2 November, 2007 11:39 am, Tom Meiner wrote: > Hi! > > I have a Libra 8 DDS3 with 8 tapes. I defined the Pool with 6 tapes in > bacula-sd.conf and bconsole shows > > list pools Automatically selected Catalog: MyCatalog Using Catalog > "MyCatalog" > +--------+---------+---------+---------+----------+-------------+ > | PoolId | Name | NumVols | MaxVols | PoolType | LabelFormat | > +--------+---------+---------+---------+----------+-------------+ > | 1 | Default | 7 | 7 | Backup | * | > +--------+---------+---------+---------+----------+-------------+ > > > In slot 8 I have my cleaning tape. > > I want to switch between 2 tape sets of 7 tapes each. > and labled them Set01-0001 to Set01-0007 and Set02-0001 to > Set02-0007
Some one with more experience may correct me, but I would Set MaxVols to 0 for the pool Set VolRetention to 8 days for the tapes (could be 13 but as long as it is greater than 7 you should be okay) every seven days, eject all your tapes, insert your new ones, and do an "update slots" This will update bacula with which Volumes are loaded. > > Each Friday I want to change the tapes and therefor I have created a > script to delete the last weeks tapes from the catalog, add the tape and > prune them. > > ------------------------ > automount on > delete volume=Set02-0001 > yes > delete volume=Set02-0002 > yes > delete volume=Set02-0003 > yes > delete volume=Set02-0004 > yes > delete volume=Set02-0005 > yes > delete volume=Set02-0006 > yes > delete volume=Set02-0007 > yes > add > 2 > 7 > Set01- > 1 > 1 > yes > purge jobs volume=Set01-0001 > purge jobs volume=Set01-0002 > purge jobs volume=Set01-0003 > purge jobs volume=Set01-0004 > purge jobs volume=Set01-0005 > purge jobs volume=Set01-0006 > purge jobs volume=Set01-0007 > quit > > ------------------------ > > Is there a better solution? i.e with > > update slots scan > > But how can I have all the tapes in the pool? > > Tom > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users