SHA1 (Hex)#
Checker name#
SHA1 checksum check (hexadecimal)
Description#
Calculates the SHA1 checksum of a restored file and compares it with a manually configured hexadecimal checksum value.
Attribute#
SHA1 checksum (HEX)
Selecting this attribute in Verification Rules causes Bacularis to execute
the SHA1ChecksumHexCheck checker.
Supported operators#
==- equal to!=- not equal to
Expected value#
Enter the expected SHA1 checksum as a hexadecimal string.
Hexadecimal checksum checkers do not provide Catalog comparison. Bacula stores backup checksums in Base64 form, so a hexadecimal expected value must be supplied manually.
Capabilities#
This checker requires a Restore Destination with the File restore checks capability enabled.
Requirements#
No additional requirements.
Examples#
Verify a manually supplied SHA1 checksum:
/srv/data/example.bin SHA1 checksum (HEX) == <hexadecimal checksum>
Verify that a file does not match a specific checksum:
/srv/data/example.bin SHA1 checksum (HEX) != <hexadecimal checksum>
Notes and limitations#
For regular files, the selected path must exist and be readable. If the file does not exist or cannot be read, the check fails.
The checksum value must be provided manually. This checker cannot use the checksum stored in the Bacula Catalog.
Manual checksum comparison is not supported for symbolic links. The checker does not follow symbolic links to calculate the checksum of their targets.