mysql backup and restore summary

      Personal summary: 

      When using mysql's mysqlbinlog to restore, you need to pay attention to when the data is created (data insertion point A) and when the data is accidentally deleted or the starting point of data loss caused by an accident such as downtime of the database (data loss point B), and then the data recovery operation to be done is to intercept the execution statement between point A and point B from the bin log to filter out the SQL operation performed after point B and the data loss caused by the database accident.

     

       As for how to query the key statement between point A and point B, you can refer to another article: http://lbovinl.iteye.com/blog/2347580

       

       In view of this: remind yourself to always remember to backup your data

                     Remind yourself to always remember to back up your data

                     Remind yourself to always remember to back up your data

       Even if you use any tool, you should pay attention to the perfection of its data backup and recovery mechanism and your own mastery proficiency.

 

       Progress lies in the accumulation of knowledge and the spark of collision, welcome to shoot bricks and give advice~

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326430638&siteId=291194637