Hi,

02.11.2007 13:28,, GDS.Marshall wrote::
> 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.

Yup, that sounds good.

>> 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.

This is a dangerous thing to do, as you lose the ability to restore 
from the existing volumes. Not what a backup is intended to be used for.

...
>> Is there a better solution? i.e with
>>
>>  update slots scan
>>
>> But how can I have all the tapes in the pool?

Not really a problem, as long as you manage the volumes manually 
anyway. Just make sure there are usable volumes in the autoloader - 
these will be preferred.

You could refine the above strategy by disabling the volumes currently 
not loaded, but as long as these are still in their retention periods 
and marked as "Full" or "Used" they won't be recycled anyway.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
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

Reply via email to