mysql-Learning -13-20170621-mysql Backup Recovery-xtrabackup-3

Source: Internet
Author: User
Tags mysql backup git clone

mysql-Learning -13-20170621-mysql Backup Recovery-xtrabackup-3

MariaDB Mysqlbinlog 10.2 Belt

"Admin" Wu Bingxi (82565387) 20:35:31
Maxscale Proxy: Support semi-synchronous
The two tools under Binlog Server can support Binlog rollback BINLOG Server

Mysqlbinlog_sql

Https://github.com/danfengcao/binlog2sql
"Admin" Wu Bingxi (82565387) 20:36:25
Https://github.com/danfengcao/binlog2sql
Mysqlbinlog_sql
"Admin" Wu Bingxi (82565387) 20:38:15
shell> git clone https://github.com/danfengcao/binlog2sql.git && CD Binlog2sql
shell> Pip Install-r requirements.txt
Yum install python-pip.noarch Yum search pip

Direct recovery, non-annotated way:

No Gtid related information

#/usr/local/mysql/bin/mysqlbinlog--skip-gtids--start-position=898--stop-position=1423 mysql-bin.000001 |mysql-s/ Tmp/mysql3307.sock-p--binary-mode

TRUNCATE TABLE WUBX;

Big strokes, using: Sql_thread data below the red is the idea of recovery!!! #ls mysql-bin.*|awk-f ' {print ' mv ' $ relay-bin. ' $ '

Special method for renaming

mysql-Learning -13-20170621-mysql Backup Recovery-xtrabackup-3

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.