Bacula-users

Re: [Bacula-users] tape label

2008-04-23 06:30:43
Subject: Re: [Bacula-users] tape label
From: Troy Daniels <troy.daniels AT itouch.com DOT au>
To: Colapinto Giovanni <giovanni.colapinto AT assioma DOT net>
Date: Wed, 23 Apr 2008 18:30:50 +0800
Colapinto Giovanni wrote:
> Thank you Troy.
> 
> I've modified the config. Hope for tomorrow ;-)
> 

And run the update slots command like I mentioned?

Volumes pick up their defaults from their pool when they are first 
created in it, you need to force subsequent changes to apply to them

Troy.

> Bye 
> 
> -----Original Message-----
> From: Troy Daniels [mailto:troy.daniels AT itouch.com DOT au] 
> Sent: mercoledì 23 aprile 2008 12.16
> To: Colapinto Giovanni
> Cc: bacula-users AT lists.sourceforge DOT net; ceron
> Subject: Re: [Bacula-users] tape label
> 
> Hi,
> 
> Well you are apparently trying to have more than one job write to the tape.
> 
> Do a 'status dir' in bconsole and check how many lines appear in the 
> 'scheduled jobs' table.
> 
> A job isn't "one nights worth of backups", it's well... a single job as 
> defined in Bacula. Each server backed up counts as a separate job. It's also 
> possible to use several jobs to back up one server.
> 
> Also if you are backing up your server AND doing a catalog backup afterwards 
> (as is recommended good practice) that's 2 jobs.
> 
> If you want to keep writing backups to the tape until it's full I'd remove 
> the Maximum Volume Jobs line altogether. As long as your schedule is setup 
> properly it should be used for all subsequent Tuesday backup attempts until 
> it fills up or reaches 80Gb whichever comes first. The problem with this 
> approach is if that tape dies, you lose every Tuesday backup since it started.
> 
> The 40/80Gb ratio provided by vendors is only a guideline by the way, you may 
> be able to fit much more or much less on a tape depending on what sort of 
> data you are backing up - with this in mind, if you truly want to fill your 
> tapes you should remove the 'Maximum Volume Bytes' 
> line as well - Bacula handles full tapes in a graceful manner and you might 
> be surprised at just how much you can fit on one tape!
> 
> One final note, if you change any of your pool settings you will need to do 
> an 'update volume' command in bconsole and reload all volumes from the pool 
> settings otherwise the changes wont be included in your existing tapes.
> 
> Cheers,
> 
> 
> Troy.
> 
> Colapinto Giovanni wrote:
>> Thanks Troy.
>>
>> I'm looking at the job logs and, like you have said, I found the following 
>> line:
>>
>> Apr 22:28 srvmibackup-5004-dir JobId 1268: Max Volume jobs exceeded. Marking 
>> Volume "Tuesday" as Used.
>>
>> Her my config:
>> JobDefs{
>>     Name = "TapeBackup"
>>     Type = Backup
>>     Schedule = "WeeklyTape"
>>     Pool = Weekly
>>     Storage = Srvmifs-5009-tape
>>     Messages = BackupMsg
>>     Max Wait Time = 12h
>>     Enabled = yes
>>     Priority = 12
>> }
>>
>> Pool {
>>     Name = TuesdayPool
>>     Pool Type = Backup
>>     Recycle = yes
>>     AutoPrune = yes
>>     Volume Retention = 5 days
>>     Maximum Volume Jobs = 1
>>     Maximum Volume Bytes = 80GB
>>     Label Format = Tuesday-
>> }
>>
>> So I think the error is in "Maximum Volume Jobs = 1", but why?
>>
>> Thanks
>>
>> -----Original Message-----
>> From: Troy Daniels [mailto:troy.daniels AT itouch.com DOT au]
>> Sent: mercoledì 23 aprile 2008 11.36
>> To: Colapinto Giovanni
>> Cc: ceron; bacula-users AT lists.sourceforge DOT net
>> Subject: Re: [Bacula-users] tape label
>>
>> Hi,
>>
>> Colapinto Giovanni wrote:
>>> Hi and excuse me for the long time answer, it's hell on work :-D
>>>
>> I'm sure we're all familiar with that :)
>>
>>> Pool: TuesdayPool
>>> +---------+--------------+-----------+---------+----------+
>>> | MediaId | VolumeName   | VolStatus | Enabled | VolBytes |
>>> +---------+--------------+-----------+---------+----------+
>>> |      75 | Tuesday-0003 | Used      |       1 |  129,024 |
>>> |      76 | Tuesday-0004 | Append    |       1 |        0 |
>>> |      83 | Tuesday      | Used      |       1 |  129,024 |
>>> +---------+--------------+-----------+---------+----------+
>>>
>>> You ca see that the tape is being used this night, but why only 129.024 
>>> bytes?
>>> It is a DLT Tape of 80Gb copressed, 40Gb native.
>>>
>> Status of 'Used' is different to a status of 'Full' - it indicates that for 
>> some reason Bacula has decided to stop using that tape at some point. Check 
>> your job output emails and you should see why it's done this.
>>
>> It's normally because you've limited the number of jobs, tape size or tape 
>> use duration in the config somewhere.
>>
>> Hope this helps point you in the right direction. Posting your configs to 
>> the mailing list would be the next step so maybe others can spot the problem.
>>
>> Cheers,
>>
>>
>> Troy.
>>
>>
>>
>>> This morning I've found the request of bacula to mount Tuesday-0004 
>>> volume...
>>>
>>> Thanks
>>>  
>>>
>>> -----Original Message-----
>>> From: bacula-users-bounces AT lists.sourceforge DOT net
>>> [mailto:bacula-users-bounces AT lists.sourceforge DOT net] On Behalf Of 
>>> ceron
>>> Sent: martedì 8 aprile 2008 16.03
>>> To: bacula-users AT lists.sourceforge DOT net
>>> Subject: Re: [Bacula-users] tape label
>>>
>>>
>>> Dear Giovanni,
>>>
>>> In order to help you provide some more information, like your job and pool 
>>> resources and the entire error line in your job log.
>>>
>>>
>>>
>>> Colapinto Giovanni wrote:
>>>> Hello guys.
>>>>
>>>> I've a problem with label tape in bacula. I've searched through 
>>>> mailing list archive, but can't find anything, probably for the 
>>>> general type of question....
>>>>
>>>> I've an up and running disk backup. I want to have a tape backup, so 
>>>> I create the job to write to tape.
>>>>
>>>> Now the problem: I label a tape, put it in the correct pool, but 
>>>> when the backup begins, it ask me to label a new tape, without using 
>>>> the new labeled tape.
>>>>
>>>> Why?
>>>>
>>>> Thanx
>>>>
>>>> --
>>>> -------------------------------------
>>>> GIOVANNI COLAPINTO
>>>> Resp. Logistica e Sistemi Informativi Assioma.net Via Quintino Sella
>>>> 19
>>>> 20094 Corsico (MI)
>>>> Telefono: 02/45055818
>>>> Cellulare: 3404945829
>>>> Email: giovanni.colapinto AT assioma DOT net
>>>> -------------------------------------
>>>>
>>>> --------------------------------------------------------------------
>>>> -
>>>> -
>>>> --- Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for just about anything 
>>>> Open Source.
>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/mar
>>>> k e tplace _______________________________________________
>>>> Bacula-users mailing list
>>>> Bacula-users AT lists.sourceforge DOT net
>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>
>>>>
>>> --
>>> View this message in context: 
>>> http://www.nabble.com/tape-label-tp16489811p16558739.html
>>> Sent from the Bacula - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> --- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>>> Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, 
>>> April 7! Use priority code J8TLD2.
>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.co
>>> m /javaone _______________________________________________
>>> Bacula-users mailing list
>>> Bacula-users AT lists.sourceforge DOT net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> --- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>>> Don't miss this year's exciting event. There's still time to save $100.
>>> Use priority code J8TL2D2. 
>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.co
>>> m /javaone _______________________________________________
>>> Bacula-users mailing list
>>> Bacula-users AT lists.sourceforge DOT net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>> ----------------------------------------------------------------------
>> --- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2. 
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com
>> /javaone _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>