MTIME#

Checker name#

MTIME check

Description#

Checks the modification time (MTIME) of a restored file-system object.

The current modification time can be compared with a manually supplied value or with the MTIME stored in the Bacula Catalog.

Attribute#

MTIME

Selecting the MTIME attribute in Verification Rules causes Bacularis to execute the MTIMECheck checker.

Supported operators#

  • == - equal to

  • != - not equal to

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

Expected value#

For manual comparisons, enter the expected MTIME as a Unix timestamp.

When C== is used, the expected modification time 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 an exact modification time:

/srv/data/example.txt  MTIME  ==  1787850000

Compare the restored MTIME with the Bacula Catalog:

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

Notes and limitations#

MTIME is compared as an exact value. Any change to the modification time on the Restore Destination causes an equality comparison to fail.