Verification
After conversion, verify that all data was migrated correctly using the verify command.
Verify Converted Data
pebblify verify [options] <source-dir> <converted-dir>
Examples
# Full verification (all keys)
pebblify verify ~/.gaia/data ./gaia-pebble/data
# Sample 10% of keys for faster verification
pebblify verify --sample 10 ~/.gaia/data ./gaia-pebble/data
# Stop at first error
pebblify verify --stop-on-error ~/.gaia/data ./gaia-pebble/data
Options
| Flag | Description |
|---|---|
-s, --sample P | Percentage of keys to verify (default: 100 = all) |
--stop-on-error | Stop at first mismatch |
-v, --verbose | Show each key being verified |
Sampling Strategy
For large databases, verifying every single key can be time-consuming. The --sample flag lets you verify a random percentage of keys. For example, --sample 10 verifies approximately 10% of all keys, providing a good balance between speed and confidence.
A full verification (--sample 100, the default) checks every key and guarantees complete data integrity.