UID#

Checker name#

UID check

Description#

Checks the numeric owner user identifier of a restored file-system object.

The current value can be compared with a manually entered numeric identifier or with the value stored in the Bacula Catalog.

Attribute#

UID

Selecting the UID attribute in Verification Rules causes Bacularis to execute the UIDCheck checker.

Supported operators#

  • == - equal to

  • != - not equal to

  • C== - equal to the value stored in the Bacula Catalog

Expected value#

For manual comparisons, enter a numeric UID value.

When C== is used, the expected UID is taken automatically from the Bacula Catalog.

Capabilities#

This checker requires a Restore Destination with the File restore checks capability enabled.

Requirements#

No additional requirements.

Examples#

Verify a specific UID:

/srv/data/example.txt  UID  ==  1000

Compare the restored UID with the value stored in the Bacula Catalog:

/srv/data/example.txt  UID  C==  Catalog value

Notes and limitations#

The checker compares numeric identifiers, not user or group names.

The restored ownership must be preserved correctly on the Restore Destination for Catalog comparison to pass.