inno verify

Verify structural integrity of a tablespace.

Usage

# Basic verification
inno verify -f users.ibd

# Verbose output
inno verify -f users.ibd -v

# JSON output
inno verify -f users.ibd --json

# Verify with redo log
inno verify -f users.ibd --redo ib_logfile0

# Verify backup chain
inno verify --chain full.ibd incr1.ibd incr2.ibd

Options

OptionDescription
-f, --filePath to InnoDB data file
-v, --verboseShow per-page findings
--jsonOutput in JSON format
--page-sizeOverride page size
--keyringPath to MySQL keyring file
--redoPath to redo log file for LSN continuity check
--chainVerify backup chain (accepts multiple files)
--backup-metaPath to XtraBackup checkpoint file for LSN cross-reference

Structural Checks

CheckDescription
PageNumberSequencePage numbers match expected file positions
SpaceIdConsistencyAll pages have consistent space IDs
LsnMonotonicityLSNs are non-decreasing
BTreeLevelConsistencyB+Tree levels are valid
PageChainBoundsprev/next pointers within bounds
TrailerLsnMatchTrailer LSN matches header LSN

Backup Metadata Verification

Use --backup-meta to cross-reference tablespace LSNs against an XtraBackup checkpoint file:

inno verify -f users.ibd --backup-meta /backups/full/xtrabackup_checkpoints

Pages with LSNs outside the checkpoint's from_lsn..to_lsn window are reported as inconsistent with the backup point-in-time.

See the Backup Verification guide for detailed usage of --chain, --redo, and --backup-meta.