Restore single MySQL table from a full mysqldump backup file – MariaDB Tutorial



Restore single MySQL table from a full mysqldump backup file – MariaDB Tutorial

Restore single MySQL table from a full mysqldump backup file - MariaDB Tutorial

Restore single MySQL table from a full mysqldump backup file

Scenario:
You are working as MySQL/ MariaDB Admin, you have schedule daily full backup of a database. Once of the Junior DBA dropped the table from a database. You are asked to restore only single Table from full backup that were taking last night, What steps you will follow to restore Single Table from MySQL or MariaDB Backup?

Solution:
First of all you will be separating the data for deleted table from full backup. You can set program to extract the data for the table you want to restore. The below command will extract the data for table and create new file. Once we have the data for single table, then we will restore.

link to scripts used in the video
http://www.techbrothersit.com/2018/10/restore-single-mysql-table-from-full.html