Verifying Restoration

From wiki.zmanda.com
Revision as of 23:05, 5 January 2007 by Paddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

After restoration, ZRM for MySQL shuts down the MySQL server. It is important to check the database(s)/table(s) that were restored.

SQL command CHECK TABLE can be used for consistency checking. Use of EXTENDED option is recommended. EXTENDED option does a full key lookup for all rows in the table and will take significant time for a large database.

mysql> CHECK TABLE <table1>, <table2> EXTENDED;

No other application must be using the database during table consistency check.