Bacula-users

Re: [Bacula-users] LabelFormat question

2009-02-13 08:43:52
Subject: Re: [Bacula-users] LabelFormat question
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Fri, 13 Feb 2009 05:40:38 -0800
Actually, you have two problems in that label format. The first one is 
that, indeed, the NumVols is global per pool. The second problem is that 
once bacula starts recycling tapes, it may well use this tape for a 
different job than what the label suggests. I fell into that trap myself 
when I started using bacula. In fact, I actually don't quite understand 
why bacula would ever let you even put the job name into the label in 
the first place. It seems to me that unless you never recycle volumes, 
there really is no scenario where it makes sense, and is actually very 
confusing.

As for your second question: bacula only appends the volume ID (not a 
self-incrementing number as the documentation suggests) if you don't use 
any variable expansion. That behavior is documented here 
http://www.bacula.org/en/dev-manual/Configuring_Director.html#Label

ML mail wrote:
> Hello,
>
> I am using Bacula to backup 3 servers and store the backup files on the hard 
> disk, each in different directories by setting up 3 different Devices and 
> using one single Pool.
>
> Now I have noticed that the filename is not exactly as I wish it to be: I am 
> using the following LabelFormat in my Pool:
>
> LabelFormat = "backup-${Job}-${NumVols}"
>
> with the idea in mind to have a filename with the job name (this would be the 
> server name) and then the volume number for that server, but unfortunately 
> the volume number is global (for all 3 servers). So should I actually define 
> one Pool per server, or is there an easier way to do it ?
>
> Also if I used:
>
> LabelFormat = "backup-${Job}-"
>
> would the volume number be added automatically as epxlained in 
> http://www.bacula.org/fr/dev-manual/Basic_Volume_Management.html#SECTION006131200000000000000
>  ?
>
> Thank you very much for the help
>
> Regards
>   

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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>