Label:First look at the question: [Email protected] ~]# Innobackupex--user=root--password=131417/backup InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, Innobase Oyand Percona LLC and/or its affiliates 2009-2013. All rights Reserved. This software is published underThe GNU general public LICENSE Version 2, June 1991. Get the latest version of Percona
Use Xtrabackup to back up and restore the database,
Install Xtrabackup
wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.9/binary/redhat/7/x86_64/percona-xtrabackup
Xtrabackup is an open source project for Percona, which enables the ability to back up and recover very quickly with a innodb-like official hot backup tool InnoDB MySQL database. The Xtrabackup contains two tools:Xtrabackup is a tool for hot backup InnoDB, XTRADB data in tables, cannot back up other types of tables, or backs up data table structures;Innobackupex
I. Introduction of Xtrabackup1. Backup ToolsXtrabackup: is a InnoDB-based online hot standby tool, with open source, free, Support online hot standby, small disk space, can very quickly backup and restore MySQL database, (backup without affecting data read and write)Official for Http://www.percona.com/software/percona-xtrabackupmysqldump: backup is a logical backup, backed up files are SQL statements, but when the backup MySQL data more than 10G, usin
for channel. Because the principle of replication has not changed, when the Gtid is not opened from the library needs master-info-repository, relay-log-info-repository set to table, otherwise will error:
Authorize Sync Account
Detecting file and POS values for M1 and M2
The Execute command sets the M1,M2 to mutual master
View slave status
Realize Slave1 Multi-source replication function, that is, S1 is m1,m2 of the co-standby machine
Authorize Sync A
Tags: mysql data recovery full backup1. Prepare two servers to install the mysql5.7 version separately (previously installed)db1 11.0.0.51
db2 11.0.0.52
数据目录均为/data/mysql_data
备份目录均为/db_all_backup2. Backing up the database using DB1#db1和db2安装以下备份软件:
yum install perl-DBD-MySQL perl-devel -y
cd /usr/local/src/
wget ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm
rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm
wget https://www.percona.com/downloads/
Tags: database xtrabackupMysql Backup There are many ways, the most commonly used should be mysqldump , the database is exported to a SQL file, restore the source Db.sql on the cheerful execution. Small partner Happy cloth on a shell script, with Cron, happy to look at the daily backup file generation, feel secure. What if a mysql exceeds 10G ? Please believe me, the export time takes several hours, then restore it, time will be longer. I used to restore a 6G database with SQL for more than 3 h
The previous blog compares the various MySQL cluster scenarios, this blog will explain in the synchronous replication function of the excellent Percona xtradb cluster installation stepsFirst, if the server already has the default MySQL (many Linux installation comes with MySQL) need to first delete, otherwise it will report a conflictRpm-qa | Grep-i Mysql-server | Xargs sudo rpm-e--nodepsInstalling a dependent Packagewget http://download.fedoraproject
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 easy to use and powerful. official address:
MySQL database is one of the best lightweight and open-source databases. Its features, management, and robustness are quite different from those of Oracle. Therefore, many functions are derived from powerful third parties.
MySQL database is one of the best lightweight and open-source databases. Its features, management, and robustness are quite different from those of Oracle. Therefore, many functions are derived from powerful third parties.
MySQL database is one of the best lightweight and
Tags: mysql xtrabackupXtrabackup backing up the databaseDescriptionThe company used to back up the database with mysqldump, back up 100g+ data, plus the server is busy, backup speed like a snail. Online are said to use Xtrabackup more suitable for backup large database, and backup efficiency is high, try to use once, the result is significantly more than mysqldump backup and recovery speed is much fasterReference:http://467754239.blog.51cto.com/487801
In the previous blog to compare the various MySQL cluster scenarios, this blog will explain the replication features in the more excellent Percona xtradb cluster installation steps
first, if the server already has a default MySQL (many Linux installed with MySQL) need to delete first, otherwise it will report conflict
Rpm-qa | Grep-i Mysql-server | Xargs sudo rpm-e--nodeps
To install a dependent packagewget http://download.fedoraproject.org/pub/epel/6
Install Percona Server in rpm package
Percona XtraDBIt is an enhanced version of the InnoDB Storage engine and is designed to better use and update the performance of computer hardware systems. It also contains some new features in high-performance environments. The XtraDB storage engine is completely backward compatible, so you can use XtraDB to replace the InnoDB Storage engine.
Use xtrabackup to implement mysql backup and xtrabackupmysql
: Https://www.percona.com/downloads/XtraBackup/
Install xtrabackup
[root@node1 ~]# yum install percona-xtrabackup
Full backup
Node 1
Modify the configuration file and set it to a unique tablespace for each form. Th
Tags: mysql xtran backupRemark: Install xtrabackup First: https://www.percona.com/downloads/XtraBackup/LATEST/My version here is: percona-xtrabackup-24-2.4.6-2.el7.x86_64.rpmLocal installation: Yum Localinstall percona-xtrabackup-
://192.168.1.224wsrep_cluster_address= ' gcomm://192.168.1.224:5030,192.168.1.224:6030 'wsrep_sst_receive_address=192.168.1.224:4020wsrep_node_incoming_address=192.168.1.224wsrep_slave_threads=2Wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.1.224:4030;"#In order for Galera to work correctly binlog format should is ROWBinlog_format=row#MyISAM storage engine have only experimental supportDefault_storage_engine=innodb#This changes how InnoDB autoincrement locks be managed and is a requi
(physical backup).Preparing, replay the transaction log so that all data is at the same point in time, reaching a consistent state.Advantages of Xtrabackup:Data backup can be done quickly and reliably (copying data files and tracking transaction logs)Transaction processing is not interrupted during data backup (hot backup)Conserve disk space and network bandwidthAuto-Complete backup authenticationIncreased online time due to faster recovery timesOne Xtrabac
(physical backup).Preparing, replay the transaction log so that all data is at the same point in time, reaching a consistent state.Advantages of Xtrabackup:Data backup can be done quickly and reliably (copying data files and tracking transaction logs)Transaction processing is not interrupted during data backup (hot backup)Conserve disk space and network bandwidthAuto-Complete backup authenticationIncreased online time due to faster recovery timesOne Xtrabac
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.