cf-check
Table of contents
Utility for diagnosis and repair of local CFEngine databases.
Command reference
code
Commands:
dump - Print the contents of a database file
diagnose - Assess the health of one or more database files
backup - Copy database files to a timestamped folder
repair - Diagnose, then backup and delete any corrupt databases
version - Print version information
help - Print this help menu
Usage:
$ cf-check <command> [options] [file ...]
Examples:
$ cf-check dump /var/cfengine/state/cf_lastseen.lmdb
$ cf-check lmdump -a /var/cfengine/state/cf_lastseen.lmdb
$ cf-check diagnose
$ cf-check repair