1, Xtrabackup principle
1 Xtrabackup can only back up the tables of InnoDB and xtradb two engines, but not the MyISAM engine's tables;
The 2 Innobackupex is a xtrabackup perl script that supports simultaneous backup of both InnoDB and MyISAM, but requires a global read lock for MyISAM backups. And there's the MyISAM. Incremental backups are not supported.
(1) Total preparation principle
1 will start a xt
libraries, add build-up statements and
use statements--compact Remove comments, suitable for debug output, production without-
f flush Binlog log
-- Master-data Add binlog log file name level corresponding location point-
R backup stored procedure such as-
x Lock table-
l--lock-tables read-only lock table-
D only Back table structure-
t Back up data only--single-transaction for innodb Things database back
Original link: http://www.360doc.com/content/11/1209/09/834950_170836197.shtmlScenario: Perform a full backup every Sunday, performing an incremental backup every 1 o'clock in the afternoon[Applicable version] MySQL 4.x–6.xConfigurationThe prerequisite for performing an incremental
There have been written similar MySQL full volume and incremental backup scripts before, but it's too simple. Last night, I wrote an example for mysql5.7, a relatively more optimized one for the company's online servers.
Note: This script is only suitable for small databases, not for large databases. After all, logical backup way, the database is too large impor
Run the tar command and run the tar command to implement full backup and Incremental backup. First, find out what full backup, Incremental backup, and differential backup are. In short,
Construction of a high security E-commerce site (Web site files and database automatic local/remote dual backup) architecture diagram
Continue to introduce Linux server file backup, database backup, data security storage-related E-commerce system architecture. There are a variety of solutions for security, where data backu
[MySQL] innobackupex online backup and recovery (full and incremental) Xtrabackup is an open-source software developed by percona. It is the innodb Hot Backup Tool ibbackup (paid commercial software) is an open-source alternative. Xtrabackup consists of xtrabackup and innobackupex. The xtrabackup tool is used to back up innodb and xtra
[MySQL] innobackupex online
MySQL Hot Backup (physical backup) can be used to add incremental backup for full backup to reduce the database I/O pressure and the occupation of system resources. Incremental backup i
Innobackupex-Based Incremental backup and recovery
MySQL Hot Backup (physical backup) can be used with full backup and Incremental backup to reduce the I/O pressure on the database and
Backup BasicsCold (cold Backup): Need to shut down the MySQL service, read and write requests are not allowed in the state;Win Bei (warm backup): Service online, but only support read requests, do not allow write requests;Hot backup: The business is not affected at the same time as the backup.This type of
Higher uptime due to faster restore time
features
Create Hot InnoDB backups without pausing your database
Make incremental backups of MySQL
Stream compressed MySQL backups to another server
Move tables between MySQL servers on-line
Create new MySQL Replication slaves easily
Backup MySQL without adding load to the server
No need to stop database for InnoD
Xtrabackup is an open-source software developed by percona. It is an open-source alternative to innodb Hot Backup Tool ibbackup (charged commercial software. Xtrabackup consists of xtrabackup and innobackupex. xtrabackup is used to back up tables of innodb and xtraDB engines, while innobackupex is used to back up myisam and in
Xtrabackup is an open-source software developed by percona. It is an open-source alternative to innodb Hot
Tags: sys usr object NEC traffic Roo Delta Center offThere are currently two major tools available for physical hot provisioning: Ibbackup and Xtrabackup, Ibbackup is expensive to authorize, and Xtrabackup is more powerful and open source than Ibbackup Xtrabackup provides two command-line tools: Xtrabackup: Data dedicated to backing up the InnoDB and XTRADB engines; Innobackupex: This is a Perl script that calls the Xtrabackup command during execution to implement
1, full backuop, must first do:Innobackupex--defaults-file=/etc/my.cnf--user=root--password=evlink/home/mysql/backup/2, Incremental Backup, can be done every hour or three hours:Innobackupex--defaults-file=/etc/my.cnf--user=root--password=evlink--incremental/home/mysql/backup
restore the Tab_oneCheck the Tab_one table again, the table has been restored backHow do I back up multiple tables?Answer: Mysqldump-u user-P database table 1 Table 2 ... Table n > backup file pathHow do I back up 1 databases?Answer: Mysqldump-u user-P- B database > backup file pathHow do I back up multiple databases?Answer: Mysqldump-u user-P- B library 1 Library 2 ... Library n >
A small number of databases we can make a full backup every day because it won't take much time, but when the database is large, we are less likely to make a full backup every day and change it to a weekly full backup, an incremental backup like this one every day. The ratio
What is Incremental backup? There are two types of Incremental Backup: DifferentialBackup and CumulativeBackup. Use RMAN to create a backup
What is Incremental Backup? There are two typ
create the backup folder in the VPS home directory.
☆☆☆ II, rsync incremental backup ☆☆☆
Rsync incremental backup, requires 2 VPS, let them do data synchronization between. For example, our site in VPS A, then a is the server side, with another VPS B t
Scenario: Perform a full backup every Sunday and perform an incremental backup 1 o'clock in the afternoon every day
Configuration
The prerequisite for performing an incremental backup is that MySQL opens the log-bin log switch, for example in My.ini or my.cnf
Join
Log-bi
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.