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

admin4年前复制粘贴438
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


相关文章

git 简单常用命令(持续添加...)

#创建一个服务器仓库 git --bare init myRepository.git #克隆一个仓库到本地 git clone git@服...

php配置文件说明(转)

一、核心目录和文件1 php核心配置文件 /etc/php.ini php 2 php扩展配置文件目录 /etc/php.d/ 3 php-fpm进程服...

windows配置PAC自动脚本(转)

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

ubuntu的一些基本设置

一、设置开机启动(/etc/rc.local)将/lib/systemd/system/rc-local.service 链接到 /etc/systemd/system/# ln ...

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

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

Python依赖安装

一、依赖清单导出和包下载在项目根目录执行 #仅生成当前项目依赖清单文件(和freeze命令 二选一) requirements.txt pipreqs ./&nb...

发表评论    

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