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
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users