David, does your plugin create a log file when you check for db errors and you find one?
I'm also thinking about a backup utility, that creates a db backup if the db is not corrupted, and alerts you otherwise. Let me know if I can steal part of your plugin ^^
|