Bacula-users

Re: [Bacula-users] Multiple pools and volume names

2008-12-04 17:21:14
Subject: Re: [Bacula-users] Multiple pools and volume names
From: Arno Lehmann <al AT its-lehmann DOT de>
To: Bacula-users AT lists.sourceforge DOT net
Date: Thu, 04 Dec 2008 22:32:21 +0100
Hi,

04.12.2008 19:41, Steve Thompson wrote:
> Bacula 2.4.2.
> 
> I have just added a second pool to an all-disk configuration and have a 
> question concerning automatic volume numbering. The relevant details are:
> 
> Pool {
>       Name = Foo_Pool
>       Storage = Foo_Storage
>       Label Format = "Foo-"
>       ...
> }
> 
> Pool {
>       Name = Bar_Pool
>       Storage = Bar_Storage
>       Label Format = "Bar-"
>       ...
> }
> 
> Single catalog. When the second pool was added, there were 3260 volumes in 
> Foo_Pool (from Foo-0001 to Foo-3260). Everything works, but the first 
> backup that went to Bar_Pool created a volume called Bar-3261, when I was 
> expecting Bar-0001. Why is this?

That's because Bacula uses the overall number of known volumes, not 
the number of volumes per pool. This decreases the probability that it 
tries to create a volume which already exists (though it doesn't 
absolutely prevent that).

Just imagine that you delete one volume from the pool - the next one 
automatically created will get an existing name.

In setups where the volume names are expected to be numbered 
sequentially, I just create the volumes manually (or by script, if a 
large number of volumes will be needed).

Arno

> TIA,
> Steve
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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>