Bacula-users

Re: [Bacula-users] autochanger and barcode

2009-10-16 12:10:28
Subject: Re: [Bacula-users] autochanger and barcode
From: Nicola Quargentan <nicola AT quargentan DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 16 Oct 2009 18:03:14 +0200
Jesper Krogh ha scritto:
> Nicola Quargentan wrote:
>> 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.
> 
> Monday, Tuesday and so is mostly used when you dont have an autochanger.

Oh you are right: before autochanger I have only a single tape drive, 
and I change the tape every day :O

> When you do have one I recommend setting up Pools so then reflect your
> retention policies. In my setup we:
> * Keep full backups for a year (run monthly)
> * Keep differential backups for a year (run weekly)
> * Keep incremental backups for 6 months (run daily).
> 
> This translates into 3 Pools, Full, Differential and Incremental. On
> these pools the retentiontime is set and then automatically move back to
> Scratch-pool when retention-time has expired. So all "fresh" volumes
> just goes directly into Scratch pool.
> 
> Bacula will try to "fill tapes completely" e.g. fill mondays's tape with
> tuesdays data if not explicitly configured otherwise.

Uhmm, I want to be indipendent from bacula. My purpose is to 
occasionally carry out my tapes, and store them on a strongbox :)
If my backup bacula server crash I don't want lose all my data.
So I want to know where bacula store my data.

cut...
>>
>> 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.
> 
> Ok, you have to manually move your tapes into the tapedrive (mtx -f
> /dev/changerdevice load 0 <slot> ) and dd some data onto it. That'll
> erase the "label" on it. The thing is that this is most likely the
> second time you ran "label barcodes" and each tape can only be labelled
> once, then you need to manually erase it to get it back in.
> 
>> 1) Is there a clue to add one volume labeled by barcode to a single pool?
> 
> label barcodes slot=<slotnumber>

I will try it.

> 
>> 2) How I can relabel the volumes (I found a bad clue on the web: erase 
>> every tapes manually :( ).
> 
> That is how its done.. if its all in your changer then a few lines of
> shell-foo can do it.

I hate this, but I'm erasing the tapes now...

Thanks.

Nicola Quargentan



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