incremental backups are used.**************************************** **************************************** ****************Script**************************************** **************************************** ****************#! /Bin/sh## Usage:#./Restore. sh/Incremental backup parent directory# Ocpyang@126.com# NOTE: Make sure that the mysql service is stopped and the data and log directories are cleared before the recovery starts, as shown in
Xtrabackup automatic backup script and xtrabackup script
# Backup. sh #! /Bin/sh # on xtrabackup 2.2.8 # When you execute it for the first time, it will check whether there is a full backup. Otherwise, create a full database backup first. # When you run it again, it will perform Incremental Backup Based on the settings in the script based on the previous full or
Xtrabackup is a backup software for MySQLXtrabackup is a innodb to do data backup tools, Support Online hot backup (backup without affecting the data read and write), is a commercial backup tool InnoDB hotbackup a good alternative. Xtrabackup has two main tools: Xtrabackup, Innobackupex (1) Xtrabackup can only back up
A hot standby tool dedicated to InnoDB and XtraBackup. It is a C language program dedicated to backing up InnoDB and XtraDB engine objects.
A hot standby tool dedicated to InnoDB and XtraBackup. It is a C language program dedicated to backing up InnoDB and XtraDB engine objects.
XtraBackup online backup:
[Root @ mysql1/] # rpm-ivh percona-
Xtrabackup has two main tools: Xtrabackup, Innobackupex
(1) Xtrabackup can only back up InnoDB and xtradb two types of data tables, not backup MyISAM datasheet(2) Innobackupex encapsulates the Xtrabackup, is a script encapsulation, so it can back up the processing InnoDB and MyISAM at the same time, but need to add a
Introduction:
Xtrabackup is a tool used to back up InnoDB data. It supports online Hot Backup (data read/write is not affected during Backup) and is a good alternative to InnoDB Hotbackup.
Xtrabackup has two main tools: xtrabackup and innobackupex.
(1) xtrabackup can only back up InnoDB and XtraDB data tables, but cann
factors such as innodb cache, therefore, the data backed up is often inconsistent with the data in the transaction log. Therefore, you must redo the committed transactions in the transaction log during data recovery, undo operations are performed on uncommitted transactions, which are preparations for data recovery, namely, prepare.2. Tool InstallationSystem Environment:[Root @ mariadb ~] # Cat/etc/issueCentOS release 6.4 (Final)Kernel \ r on an \ m[Root @ mariadb software] # uname-r2.6.32-358.
Xtrabackup is a tool used to back up InnoDB data. It supports online Hot Backup (which does not affect Data Reading and Writing during Backup) and is a great tool for InnoDBHotbackup commercial backup tools.
Xtrabackup is a tool used to back up InnoDB data. It supports online Hot Backup (which does not affect Data Reading and Writing during Backup) and is a great tool for InnoDB Hotbackup.
Introduction
folder, then innobackupex the committed transaction, rolls back the uncommitted transaction, and then writes the data to the Backed-up data file (InnoDB file) and rebuilds the log file. This step implicitly calls 2 times xtrabackup–prepare. With more about Xtrabackup can look after the chapters.
Other options:
--user-memory: Specifies the memory to be used during the preliminary phase, which is faster in
process. Next is the preparation (prepare) process. In this process,Xtrabackup uses the previously copied transaction log to perform a disaster recovery on individual data files ( just as it did when MySQL was started). When this process is over, the database can be restored and restored. Xtrabackup innobackupex can allow us to back up myisam table and frm i
No downtime xtrabackup creating slave nodesMaster: 10.1.1.17: 3306 slave: 10.1.1.18: 3307slave node configure the Basic Environment: Create a mysql user, install the same version of mysql software, xtrabackup software package, and create a directory, configure Script 1 and create a full backup: master
[
. Copy all non-transaction tables, such as the system MyISAM table.B. Disk the redo log buffer.C. Copy the redo log
Xtrabackup backup process1. Connect to MySQL for version check.2. Read the configuration file to obtain the data and log file location.3. Scan monitoring to read the redo log, and copy the new redo log to the logfile of xtrabackup.4. Copy the shar
Complete the Basic Environment configuration of the slave node: Create mysql users, install mysql software of the same version, xtrabackup software package, create directories, and configure scripts.
Complete the Basic Environment configuration of the slave node: Create mysql users, install
XtrabackupXtrabackup is a free database hot backup software Percona open source, which can back up non-blocking database of InnoDB database and XTRADB storage engine (also need to add a table lock for MyISAM backup);The mysqldump backup method is a logical backup, the biggest drawback is the slow backup and recovery, if the database is larger than 50g,mysqldump backup is not suitable.Xtrabackup Advantages1) Fast backup speed, reliable physical backup2) The backup process does not interrupt the e
MySQL Innobackupex xtrabackup large amount of data backup restore
Zhang Ying published in 2014-09-19
Category directory: MySQL
Large amount of data backup and restore, is always a difficult point. When MySQL is super 10G, it is slower to export with mysqldump. Recommend Xtrabacku
external repo such as EPEL, but probably shocould be stored in the percona repo. alternatively switching to AnyEvent (if EV is not a hard requirement) wocould allow for EV or the internal loop if EV is not installed on a system.
Have not tested this issue with other releases of CentOS.
Slave
[root@MySQL-DB tmp]# rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm
warning: libev-4.15-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Pr
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.