binlog2sql icon indicating copy to clipboard operation
binlog2sql copied to clipboard

binlog2sql恢复

Open xxx1204 opened this issue 3 years ago • 2 comments

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

xxx1204 avatar Mar 25 '22 03:03 xxx1204

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

michael-liumh avatar Apr 24 '22 11:04 michael-liumh

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

michael-liumh avatar Apr 25 '22 01:04 michael-liumh