MySQL Forums
Forum List  »  MySQL Administrator

Re: binlog file deleted accidentally
Posted by: Scott Nemes
Date: August 29, 2012 10:16AM

It is possible (though usually unlikely) that a repair operation could go bad, and you could lose data.

I would recommend either shutting down your MySQL server and doing a system level backup / copy of the data directory, or if you do not want to bring down the server then do a backup of all tables / databases except the crashed watchdog table.

With either of those methods you will have a backup to at least get you back to where you were to start with if the repair table fails (though if you do the second option you will not have a backup of the watchdog table).

--
Scott Nemes
MySQL DBA

http://www.linkedin.com/in/scottnemes
http://www.twitter.com/ScottNemes

Options: ReplyQuote


Subject
Written By
Posted
Re: binlog file deleted accidentally
August 29, 2012 10:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.