当前位置:网站首页>An example of MySQL accidental deletion recovery - using Myflash
An example of MySQL accidental deletion recovery - using Myflash
2022-06-24 07:09:00 【laosu】
MyFlash It is a rollback of meituan open source DML Tools for operation . The tool parses v4 Version of binlog, Complete the rollback operation .
A detailed reference :https://github.com/Meituan-Dianping/MyFlash
After the R & D students mistakenly deleted the data , Using this tool, the data deleted by mistake can be recovered very smoothly , Record the following :
# Download and install git clone https://github.com/Meituan-Dianping/MyFlash.git cd MyFlash/ yum install glib2* gcc -w `pkg-config --cflags --libs glib-2.0` source/binlogParseGlib.c -o binary/flashback cd binary/ ./flashback --help # Find the corresponding binlog show master status;flush logs # Generate rollback file time ./flashback --tableNames=xxx --sqlTypes=DELETE --binlogFileNames=/data/dbatemp/rsyncd/mysql-bin.000428 # View the contents of the makefile mysqlbinlog --base64-output=DECODE-ROWS -vv binlog_output_base.flashback | more # Load build file into Library mysqlbinlog binlog_output_base.flashback | mysql --defaults-file=/data/mysql_3563/my.cnf test
边栏推荐
- [problem solving] virtual machine configuration static IP
- 数据库 存储过程 begin end
- Stop looking! The most complete data analysis strategy of the whole network is here
- JVM debugging tool -jstack
- Virtual file system
- LuChen technology was invited to join NVIDIA startup acceleration program
- What is JSP technology? Advantages of JSP technology
- leetcode:84. The largest rectangle in the histogram
- Le système de surveillance du nuage hertzbeat v1.1.0 a été publié, une commande pour démarrer le voyage de surveillance!
- Typora收费?搭建VS Code MarkDown写作环境
猜你喜欢

With a goal of 50million days' living, pwnk wants to build a "Disneyland" for the next generation of young people

JVM debugging tool -arthas

Computing power and intelligence of robot fog

RealNetworks vs. Microsoft: the battle in the early streaming media industry

leetcode:1856. Maximum value of minimum product of subarray

大厂不是衡量能力的唯一出路,上财学姐毕业三年的经验分享
![Command ‘[‘where‘, ‘cl‘]‘ returned non-zero exit status 1.](/img/2c/d04f5dfbacb62de9cf673359791aa9.png)
Command ‘[‘where‘, ‘cl‘]‘ returned non-zero exit status 1.

【云驻共创】华为云HCIA-IoT V2.5培训系列内容之物联网概览

In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test

数据库 存储过程 begin end
随机推荐
成为 TD Hero,做用技术改变世界的超级英雄 | 来自 TDengine 社区的邀请函
mysql中的 ON UPDATE CURRENT_TIMESTAMP
Tencent host security captures Yapi remote code execution 0day vulnerability for wild exploitation. The attack is spreading and can be intercepted by firewall
MAUI使用Masa blazor组件库
Outils de débogage JVM - Arthas
What is the main function of cloud disk? How to restore deleted pictures
JVM调试工具-jmap
How to operate the little red book account: making good use of the theory of long tail words
开源与创新
C: use of mutex
JSON online parsing and the structure of JSON
Why use lock [readonly] object? Why not lock (this)?
学生管理系统页面跳转及数据库连接
Interpreting top-level design of AI robot industry development
[Yugong series] June 2022 asp Basic introduction and use of cellreport reporting tool under net core
大厂不是衡量能力的唯一出路,上财学姐毕业三年的经验分享
C language student management system - can check the legitimacy of user input, two-way leading circular linked list
How to make a website? What should I pay attention to when making a website?
多传感器融合track fusion
On update current in MySQL_ TIMESTAMP