MySQL Forums
Forum List  »  Data Recovery

Re: data base recovery
Posted by: Aleksandr Kuzminsky
Date: November 11, 2020 12:16PM

Hi Thor,

.frm files store table schema, .ibd files store the data.
To recover the tables you need to recover the schema, then extract records from the .ibd files, and then load the records in some MySQL instance.

To recover the schema check out dbsake( or mysqlfrm ( Personally, I used mysqlfrm more, but sometimes it's tricky. On other hand I heard good feedback about dbsake.

Now, when you have the tables schema in form of CREATE TABLE you can extract the records. For that you will need undrop-for-innodb( A stream_parser tool will parse your .ibd files. A c_parser tool will extract records from .pages (produced by stream_parser). Check out for details.

Good luck.

Options: ReplyQuote

Written By
November 11, 2020 03:45AM
Re: data base recovery
November 11, 2020 12:16PM
February 12, 2021 07:25AM

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.