📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ti fs-journal verify-journal



Verifies the integrity of one journal hash chain.

Syntax

ti fs-journal verify-journal --journal-id <string> [--file-system-id <string>] [--fs-token <string>] [--help] [--version]

Options

  • --journal-id <string>: Journal ID. [required]
  • --file-system-id <string>: Select the file system. You can also set TI_FS_FILE_SYSTEM_ID.
  • --fs-token <string>: Set the file system user token. If omitted, uses TI_FS_TOKEN.
  • --help: Display help information.
  • --version: Display version information.

For options shared by all commands, see Global options.

Examples

  • Verify a journal:

    # Validate the journal's ordered hash chain and integrity metadata. ti fs-journal verify-journal --file-system-id <file-system-id> --journal-id jrn-demo

Was this page helpful?