Package: bacula Version: 2.2.6-0.1 Severity: important The simple lable format uses the result from the following sql query | SELECT MAX(MediaId) FROM Media,Pool WHERE Pool.PoolId=%; to get the next number for the label. The documentation stats | If no variable expansion characters are found in the string, the Volume | name will be formed from the format string appended with the number of | volumes in the pool plus one, which will be edited as four digits with | leading zeros. For example, with a Label Format = "File-", the first | volumes will be named File-0001, File-0002, ... But the query shown above does not even provide a number near of that.
In bacula 1.38 it just tried to find a new number by brute force.
Bastian
--
We have phasers, I vote we blast 'em!
-- Bailey, "The Corbomite Maneuver", stardate 1514.2
signature.asc
Description: Digital signature

