mysql导出指定时间段binlog(需要已经开启binlog)

admin4年前复制粘贴1027
mysqlbinlog --no-defaults --start-datetime="2018-09-06 13:45:00" --stop-datetime="2018-09-06 14:05:00" ./mysql-bin.000022 --result-file=mysql-bin.000022_2018.sql


相关文章

linux设置swap分区(转)

1、linux设置swap查看swap位置cat /proc/swaps得到你的swap文件的位置,但不一定叫swap,或许叫/dev/sdb5。关闭并删除较小的swap文件sudo&nbs...

docker常用命令(持续添加...)

#搜索镜像 php可替换为其他 docker search php #拉取php镜像 docker pull php #拉取指定版本镜...

花生壳和pubyun(原3322)在linux下快速解析

一、花生壳通过设置路由器自定义地址(免费版已经无法解析)http://用户名:密码@/ddns.oray.com/ph/update?&hostname=域名/ curl -fsS...

js压缩图片(转,记录备用)

<!DOCTYPE html> <html> <head> <meta charset="UTF-8">...

windows配置PAC自动脚本(转)

PAC文件内容示例function FindProxyForURL(url, host) { var proxy1 = "P...

js图片压缩(转)

var compressImage = {     compressByFile: function(file,&...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。