​You´re welcome Jeff!
I was rethinking the script for working with my tape library volumes, and
here it is with no need of using catalog. I´m quite sure it will work for
physical autochangers, disk and virtual autochanger volumes. It works with
mtx-changer (for tape libraries), an ls command on the archive device mount
point for disk and virtual autochangers volumes. There is no need to inform
database user and password.

Best regards,
Ana

On Mon, Apr 6, 2015 at 9:55 AM, Jeff MacDonald <j...@terida.com> wrote:

> This is really great. Thank you!
>
> — Jeff MacDonald
>
>
>
>
>
> On Apr 2, 2015, at 10:39 PM, Ana Emília M. Arruda <emiliaarr...@gmail.com>
> wrote:
>
> Hi Jeff,
>
> I was wondering if dumping the volume label with bls could help. Maybe an
> admin job running a script like the attached one could help?
>
> ./checkVolLabel.sh --storage=FileStorage --pool=File --user=bacula
> --password=bacula
> Volume label for file1 OK
> Volume label for file2 OK
> Volume label for file3 OK
> Volume label for File4 OK
> Volume label for file5 OK
>
> Best regards,
> Ana
>
> On Wed, Apr 1, 2015 at 11:34 AM, Jeff MacDonald <j...@terida.com> wrote:
>
>> Hi
>>
>> I do disk based backup. I just found out the hard way that one of my
>> volumes was corrupted.
>>
>> I am curious if there is a proactive mesaure that I can take to verify
>> each of my volumes such that they contain the correct BB02 headers in them?
>>
>>
>>
>>
>> — Jeff MacDonald
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>
> <checkVolLabel.sh>
>
>
>

Attachment: checkVolLabel.sh
Description: Bourne shell script

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to