SHA256 (Hex)#
Checker name#
SHA256 checksum check (hexadecimal)
Description#
Calculates the SHA256 checksum of a restored file and compares it with a manually configured hexadecimal checksum value.
Attribute#
SHA256 checksum (HEX)
Selecting this attribute in Verification Rules causes Bacularis to execute
the SHA256ChecksumHexCheck checker.
Supported operators#
==- equal to!=- not equal to
Expected value#
Enter the expected SHA256 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 SHA256 checksum:
/srv/data/example.bin SHA256 checksum (HEX) == <hexadecimal checksum>
Verify that a file does not match a specific checksum:
/srv/data/example.bin SHA256 checksum (HEX) != <hexadecimal checksum>
Notes and limitations#
The selected path must exist and be readable. If the file does not exist, the check fails.
The checksum value must be provided manually. This checker cannot use the checksum stored in the Bacula Catalog.