Type#
Checker name#
Type check
Description#
Checks the type of a restored file-system object. The checker recognizes directories, regular files, and symbolic links.
The current restored type can be compared with a manually selected type or with the type stored in the Bacula Catalog.
Attribute#
Type
Selecting the Type attribute in Verification Rules causes Bacularis to
execute the TypeCheck checker.
Supported operators#
==- equal to!=- not equal toC==- equal to the value stored in the Bacula Catalog
Expected value#
For manual comparisons, select one of the following values:
DirectoryFileSymbolic link
When C== is used, the expected type 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 that a restored path is a regular file:
/etc/bacula/bacula-dir.conf Type == File
Verify that a restored path is a directory:
/etc/bacula/ Type == Directory
Compare the restored object type with the Bacula Catalog:
/etc/bacula/bacula-dir.conf Type C== Catalog value
Notes and limitations#
The checker recognizes only the three types listed above. Other special file-system object types are not represented by this checker.