Skip to content

Counter resource

Configuration directives for the Counter resource. Every directive is listed; value types and defaults are noted where the source provides them.

*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 NGBackup is started.

Start of the Counter resource. Counter directives are optional.

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.

Minimum = <integer>

This specifies the minimum value that the counter can have. It also becomes the default. If not supplied, zero is assumed.

Name = <name>

The name of the Counter. This is the name you will use in the variable expansion to reference the counter value.