Tags: backup principle of xtrabackup in MySQLBackup principle of xtrabackup in MySQLThe official Xtrabackup is:Http://www.percona.com/software/percona-xtrabackup.Xtrabackup contains two main tools, namely Xtrabackup and Innobackupex, which are distinguished by the following:1 Xtrab
Tags: xtrabackup mysql backup incremental backupXtrabackup is a MySQL database backup tool provided by Percona, an open source tool capable of hot and incremental backups of InnoDB and XTRADB databases, for MyISAM, only for Win Bei, and for MyISAM when using incremental backups is actually a full backup. Xtrabackup is
-memory=4g/data/mysqlbak/2015.sql1717--incremental-dir=/data/ Mysqlbak/2015.sql1717-zengliang3) Copy this fully-prepared directory to the data MySQL data directoryInnobackupex--copy-back/data/mysqlbak/2015.sql17177, attachedXtrabackupparameter Description:--print-defaults Displays the default options. Xtrabackup read the my.cnf file by default, the reading order is/etc/my.cnf/etc/
This example for you to share the Xtrabackup backup to restore the specific code for your reference, the specific content as follows
Install Xtrabackup with RPM package
# # Install Dependency Pack
yum-y Install perl perl-devel libaio libaio-devel perl-time-hires perl-dbd-mysql rsync
# install LIBEV4 pack
RPM-IVH libev4-4.15-7.1.x86_64.rpm
# #
MySQL Server Version:Server version: 5.7.10-log MySQL Community Server (GPL)Percona xtrabackup Version:Innobackupex version 2.4.2 Linux (x86_64) (revision id:8e86a84)Description[Master]: Represents a statement executed on the master library [slave]: Represents a statement executed on the slave library--Perform a master library full-ready[Master]innobackupex--para
location.Xtrabackup_binlog_info recorded mysql-bin.002961 70176740来 perform change master to * * * master_log_file= ' mysql-bin.002961 ', master _log_pos=70176740 * * *, found the following error while performing the show slave status \g:Last_io_error:got fatal Error 1236 from master when reading data from binary log: ' Client requested Master to start repli cation from impossible position; The first event
Tags: mysql xtrabackupError when recovering MySQL data using xtrabackup: Original Data directory is not empty! At/usr/bin/innobackupex Line 568.There are only two reasons for this imagination to be said on the Internet, and there is a third reason I have encountered:1. Restore the backup file to ensure that the MySQL d
mysql-Learning -13-20170621-mysql Backup Recovery-xtrabackup-3MariaDB Mysqlbinlog 10.2 Belt"Admin" Wu Bingxi (82565387) 20:35:31Maxscale Proxy: Support semi-synchronousThe two tools under Binlog Server can support Binlog rollback BINLOG ServerMysqlbinlog_sqlHttps://github.com/danfengcao/binlog2sql"Admin" Wu Bingxi (82565387) 20:36:25Https://github.com/danfengcao/
Tags:--. NET location nts var no find based SQLXtrabackup backup MySQLMysqldump is based on a logical backup, which is equivalent to re-executing the SQL statement. Xtrabackup is equivalent to a physical backup of a file. Installation dependencieswget ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpmRPM-IVH libev-4.15-1.el6.rf.x86_64.rpm Installing XtrabackupYum Install http://www.percona.com/downloads/percona-re
1.xtrabackup backup may not be a problem, but if it is executed in crontab, there may be unsuccessful execution, the error example is as followsInnobackupex:Error:mysql child process had Died:sh:mysql:command not found650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6D/38/wKioL1Ve06Pww1V6AADV-7CLCNQ562.jpg "title=" 1.png " alt= "Wkiol1ve06pww1v6aadv-7clcnq562.jpg"/>Workaround 1: ln-s/usr/local/mysql
Tags: mysql password picturesLearn notes about backup and recovery in MySQL learning process!Pictures can not be uploaded, you need to download the PDF format it! 51cto Too pit Daddy ~Picture is not clear enough, the following connection when the PDF, a bit large, please download it yourself!Link: Http://pan.baidu.com/s/1dD0m8qH Password: upkxThis article is from "Pins XLR's blog", please make sure to keep
Environment: HE3 Main Library, HE1 from libraryhe1:192.168.1.248he3:192.168.1.250Add the following parameters from the library my.cnf and restart the database:Read_only=1Log_slave_updates=1 (recommended to open, from the library record Binlog)Primary Library Authorized Backup accountMysql>grant select,reload,show databases,super,locktables,replication client,show VIEW,EVENT,FILE on * * to ' backup ' @ ' localhost ' identified by ' MANAGER ';mysql> flu
Environment: HE3 Main Library, HE1 from the libraryhe1:192.168.1.248he3:192.168.1.250from the library my.cnf Add the following parameters and restart the database:Read_only=1Log_slave_updates=1 (it is recommended to open, from the library record Binlog )Primary Library Authorized Backup accountMysql>grant select,reload,show databases,super,locktables,replication client,show VIEW,EVENT,FILE on * * to ' backup ' @ ' localhost ' identified by ' MANAGER ';mysql
redo log, we need a copy of the page, and when the write invalidation occurs, the page is restored by the duplicate of the page, and this is doublewrite.Second, backup script#!/bin/sh#========================================================================================## Backup tool:##percona-xtrabackup-2.2.6#### Backup strategy: ##1, Make a full amount of backups 4 o'clock in the morning every day; ##2, incremental backups every hour; ###=======
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.