Hi List,
we recently changed our pool policies from "purge oldest enabled/max volumes =
XY" to a setup where bacula can create as many volumes as it needs (we are
using disk based volumes on bacula 5.2.6).
We have always been using LabelFormat lines similar to this one:
LabelFormat = "XY-Daily-${NumVols:p/4/0/r}"
...producing Volumes like this:
XY-Daily-0000
XY-Daily-0001
XY-Daily-0002
XY-Daily-0003
...
In our case, some of the volumes (e.g. 0002) have been removed, which means
some of the pools look as follows:
XY-Daily-0000
XY-Daily-0001
XY-Daily-0002
XY-Daily-0004
Apparently, baucla now counts the number of volumes (4), increments by one and
tries to label XY-Daily-0004 (instead of the missing XY-Daily-0003) and fails,
because XY-Daily-0004 already exists. Is that behaviour configurable or is it
expected/default?
What would be the easiest solution to this problem? Simply pre-label all
missing volumes manually? Or relable the existing ones so that there are no
gaps?
--
Mit freundlichen Grüßen / With Kind Regards
Rudolph Bott
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users