macOS / binaries /

db_recover

/usr/bin/db_recover
Restores the database to a consistent state

The db_recover utility runs after an unexpected system failure to restore the security database to a consistentstate. All committed transactions are guaranteed to appear after db_recover has run, and all uncommitted transactions are completely undone. DB recovery is normally performed automatically for the security files aspart of system startup.

source: man