Counter Resource
The Counter Resource defines a counter variable that can be accessed by variable expansion used for creating Volume labels with the LabelFormat directive. See the LabelFormat directive in this chapter for more details.
Counter Start of the Counter resource. Counter directives are optional.
Name = <name>
The name of the Counter. This is the name you will use in the
variable expansion to reference the counter value.
Minimum = <integer>
This specifies the minimum value that the counter can have.
It also becomes the default. If not supplied, is zero assumed.
Maximum = <integer>
This is the maximum value value that the counter can have.
If not specified or set to zero, the counter can have a maximum value of 2,147,483,648
(2 to the 31 power). When the counter is incremented past this value, it is reset to
the Minimum.
WrapCounter = <counter-name>
If this value is specified, when the counter is
incremented past the maximum and thus reset to the minimum, the counter specified
on the WrapCounter
is incremented. (This is not currently implemented).
Catalog = <catalog-name>
If this directive is specified, the counter and its values
will be saved in the specified catalog. If this directive is not present, the counter
will be redefined each time that Bacula is started.
See also
Go back to:
Go to:
Go back to the Director Resource Types page.
Go back to the Technical Reference for Director.