Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binlog2sql恢复 #98

Open
xxx1204 opened this issue Mar 25, 2022 · 2 comments
Open

binlog2sql恢复 #98

xxx1204 opened this issue Mar 25, 2022 · 2 comments

Comments

@xxx1204
Copy link

xxx1204 commented Mar 25, 2022

您好,请问binlog2sql恢复,能不能恢复一天前的binlog,我遇到只能打印最近几小时的binlog语句

@michael-liumh
Copy link

如果你执行 show master logs 能看到 1天前的 binlog,那就可以

@michael-liumh
Copy link

要不然就只能用 mysqlbinlog 解析本地 binlog 了
我改了一版,支持解析本地的,有兴趣的话,可以试试:
https://github.com/michael-liumh/binlog2sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants