Receiving error for database that's excluded from backup

Help
Evan
2014-05-08
2014-05-08
  • Evan
    Evan
    2014-05-08

    I've got an older server running Ubuntu 10.10 (soon to be upgraded). I've installed AutoMySQLBackup on it without a hitch, and have modified the conf file as follows (among other things):

     CONFIG_db_names=()
    
     CONFIG_db_exclude=( 'information_schema' 'MY_DB_NAME' )
    

    I've excluded "MY_DB_NAME" because it's an older db that's no longer in use, and actually has a crashed table in it.

    I've also configured it to send emails when an error occurs. I'm getting the following with each daily backup:

     mysqldump: Got error: 144: Table './MY_DB_NAME/my_table_name' is 
     marked as crashed and last (automatic?) repair failed when using LOCK 
     TABLES
    

    I wouldn't expect to see this error happening, since I've excluded the DB from backup. And I've confirmed that the db is, indeed, not being backed up in the daily/weekly/monthly directories on the server.

    Is there any way to get rid of this error? It's causing some user confusion for those that receive the email, and I'd like to do away with it, if possible.

    Thanks!