Bacula-users

Re: [Bacula-users] next tape autolabel source

2008-11-07 08:17:16
Subject: Re: [Bacula-users] next tape autolabel source
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "James Harper" <james.harper AT bendigoit.com DOT au>, "Bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 7 Nov 2008 08:14:23 -0500
On Fri, Nov 7, 2008 at 7:39 AM, James Harper
<james.harper AT bendigoit.com DOT au> wrote:
> Quick question - I've been looking through the docs and the source code
> and can't find the answer - where does bacula store the counter for the
> next tape label number?
>

It does not. It gets that from the database. In old versions it took
the count of the current tapes in the pool and used that as the
number. This has a flaw if any tapes are deleted it will try to number
the tape the same as a previous tape. The new system increments the
highest volume id throught the whole system and that is the next tape
number.

John

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

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