Bacula-users

Re: [Bacula-users] autochanger and barcode

2009-10-15 19:51:43
Subject: Re: [Bacula-users] autochanger and barcode
From: Nicola Quargentan <nicola AT quargentan DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 16 Oct 2009 01:48:44 +0200
John Drescher ha scritto:
> On Thu, Oct 15, 2009 at 6:03 PM, Nicola Quargentan
> <nicola AT quargentan DOT com> wrote:
>> hi,
>>
>> I'm very newbie and I want to use a DELL TL2000 autochanger.
>> I made 7 pool in config file, one for each day of week:
>> Monday, Tuesday, etc.
>>
>> I want to use one volume for day and label it same as barcode. When I
>> tried "label barcode" I must to put all tape in only one pool:
>>
>> *label barcode
>> The defined Storage resources are:
>>      1: File
>>      2: autochanger
>> Select Storage resource (1-2): 2
>> Connecting to Storage daemon autochanger at backup.quargentan.loc:9103 ...
>> Connecting to Storage daemon autochanger at backup.quargentan.loc:9103 ...
>> 3306 Issuing autochanger "slots" command.
>> Device "tape-burp-LTO4" has 23 slots.
>> Connecting to Storage daemon autochanger at backup.quargentan.loc:9103 ...
>> 3306 Issuing autochanger "list" command.
>> The following Volumes will be labeled:
>> Slot  Volume
>> ==============
>>    1  GDV100L4
>>    5  GDV101L4
>>    6  GDV102L4
>>   12  GDV107L4
>>   13  GDV105L4
>>   14  GDV104L4
>>   15  GDV103L4
>>   16  GDV106L4
>> Do you want to label these Volumes? (yes|no): yes
>> Defined Pools:
>>      1: Scratch
>>      2: FullTest
>>      3: DiffTest
>>      4: IncrTest
>>      5: Default
>>      6: Monday
>>      7: Tuesday
>>      8: Wednesday
>>      9: Thursday
>>     10: Friday
>>     11: Saturday
>>     12: Sunday
>> Select the Pool (1-12): .
>>
>> So I cannot put the volume GDV100L4 in Monday, GDV101L4 in Tuesday etc.
>> I tried also to put all volumes in Scratch pool, but bacula return a lot
>> of messages:
>> Cannot label Volume because it is already labeled.
>>
>> 1) Is there a clue to add one volume labeled by barcode to a single pool?
>> 2) How I can relabel the volumes (I found a bad clue on the web: erase
>> every tapes manually :( ).
>>
> 
> use update volume
> 
> then select pool
> 
> Normally I would put all volumes in the Scratch pool and bacula will
> when required move one tape to what ever pool needs tapes when you are
> running a backup job.

Uhm, ok, but how?

*update volume
Parameters to modify:
      1: Volume Status
      2: Volume Retention Period
      3: Volume Use Duration
      4: Maximum Volume Jobs
      5: Maximum Volume Files
      6: Maximum Volume Bytes
      7: Recycle Flag
      8: Slot
      9: InChanger Flag
     10: Volume Files
     11: Pool
     12: Volume from Pool
     13: All Volumes from Pool
     14: Enabled
     15: RecyclePool
     16: Done
Select parameter to modify (1-16): 11
Defined Pools:
      1: Scratch
      2: FullTest
      3: DiffTest
      4: IncrTest
      5: Default
      6: Monday
      7: Tuesday
      8: Wednesday
      9: Thursday
     10: Friday
     11: Saturday
     12: Sunday
Select the Pool (1-12): 1
No results to list.
Enter MediaId or Volume name: GDV100L4
sql_get.c:1005 Media record for Volume "GDV100L4" not found.

Thanks.

-- 
Nicola Quargentan
Quargentan S.p.A.
Via Valle, 1
Terrossa di Ronca' (VR)
Tel 045/7460043
Fax 045/7460954

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users