> V1.1.0 > Commands > Plakar check
Version v1.1.0

Beta Version

You're viewing documentation for version v1.1.0. Beta versions are subject to changes and may not represent the final stable release. Do not use in production environments.

check

PLAKAR-CHECK(1)General Commands ManualPLAKAR-CHECK(1)

plakar-checkCheck data integrity in a Plakar repository

plakar check[-fast] [-no-verify] [-quiet] [snapshotID:path ...]

The plakar check command verifies the integrity of data in a Plakar repository. It checks the given paths inside the snapshots for consistency and validates file macs to ensure no corruption has occurred, or all the data in the repository if no snapshotID or location flags is given.

In addition to the flags described below, plakar check supports the location flags documented in plakar-query(7) to precisely select snapshots.

The options are as follows:

Enable a faster check that skips mac verification. This option performs only structural validation without confirming data integrity.
Disable signature verification. This option allows to proceed with checking snapshot integrity regardless of an invalid snapshot signature.
Suppress output to standard output, only logging errors and warnings.

Perform a full integrity check on all snapshots:

$ plakar check

Perform a fast check on specific paths of two snapshot:

$ plakar check -fast abc123:/etc/passwd def456:/var/www

The plakar-check utility exits 0 on success, and >0 if an error occurs.

0
Command completed successfully with no integrity issues found.
>0
An error occurred, such as corruption detected in a snapshot or failure to check data integrity.

plakar(1), plakar-query(7)

September 10, 2025Plakar

Found a bug or mistake in the documentation? Create an issue on GitHub