Create and Rename will do it.
First create a new table. Check that everything is fine.
Then (when there are no users) do a rename:
RENAME TABLE old_table TO history_table, new_table TO old_table;
As this operation is atomic, this operation will be a success, or it'll leave everything as it was before.
Cheers, Bill