rds database data recovery

1, rds console from downloading data backup, file suffix to .zip, unzip it, find .ibd file correspondence table, which is a data file.

2, in the local database, the new database as a name

3, a new table structure as a table in the new database can be introduced through a script. Key point: the definition of exactly the same line format, ROW_FORMAT = DYNAMIC

4、执行 ALTER TABLE bjd_borrow DISCARD TABLESPACE;

5, the data file .ibd file in a folder in the local database;

6、执行 ALTER TABLE bjd_borrow IMPORT TABLESPACE;

7, information on how funeral, please listen next time decomposition

Guess you like

Origin www.cnblogs.com/forthelichking/p/11818215.html