First, use the percona-xtrabackup tool to perform full backup of the database, and then perform Incremental backup of the data after each database data update.
First, use the percona-xtrabackup tool to perform full backup of the database, and then perform Incremental backup of the data after each database data update.
1. Review
In the previous article, we talked about the use of percona-xtrabackup softwa
Linux O M Study Notes MySQL backup and recovery (incremental recovery) tutorial, Study Notes mysql
Chapter 2 MySQL backup and recovery advanced-incremental recovery
I. Under what circumstances do I need incremental database recovery?
1. Do I need incremental recovery if the master database or slave database goes down
The incremental index is actually the added content. For example, if there are 100 deposits and 10 are earned today, these 10 are incremental distributed indexes. You can understand that you don't have enough money to open a company, you need to borrow money from many people. That is to say, the money is used together. 1. Test the table and data mysqldescsph_counter; + ------------ + --------- + ------
The
Brief introduction
1 • Concept of full and incremental backups2 • Full backup with mysqldump3 · Using Mysqldump for table structure backup4 • Two methods of full backup recovery5 • Incremental backup with flush logs6 • Incremental Backup recovery7 · Based on point-in-time and seat recovery8 · MySQL Backup Ideas
Concepts of full and
-52-43/
[Root @ local-db opt] # innobackupex -- defaults-file =/etc/my. cnf -- user = root -- password = 123456 -- copy-back/bak/mysql/2015-07-08_18-52-43/
There are two steps for recovery:
The first step is apply-log. to speed up, we recommend that you set -- use-memory. After this step is completed, the backup files under the/bak/mysql/2015-07-08_18-52-43/directory are ready.
Step 2 is copy-back, that is, copy the backup file to the original data directory. After the data is restored, check wh
-xtrabackup/2.3/intro.html)
Backups that complete quickly and reliably
Uninterrupted transaction processing during backups
Savings on disk space and network bandwidth
Automatic backup verification
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 replica
Use XtraBackup to perform Online Incremental backup and database restoration for MySQL
1. Introduction to Percona Xtrabackup
1. Xtrabackup bin directory file Introduction
1) innobackupex
Innobackupex is a symbolic link of xtrabackup. innobackupex still supports all features and syntax as 2.2 version did, but is now deprecated and will be removed in next major release.
2) xtrabackup
A binary file compiled by C can be used to prepare MySQL database inst
Nine Incremental backups
With incremental backups, RMAN allows users to back up only blocks of data that have been modified since the last incremental backup. Incremental backups have the following somewhat:
(1) Less use of disk or tape
(2) Reduce network broadband requirements
(3) Save backup time
You can perform
During traditional Oracle backup, database files are backed up by copying operating system files. The backup granularity is data files, and the data files may be large, however, it is empty blocks and there is no Oracle data, but because it is a file copy, you need to back up the entire file.
The backup set value of ramn backs up used data blocks and supports Incremental backup.
Generally, Incremental Backu
Incremental export is probably the most difficult part of the DTs system. We have considered many solutions and finally gave up because we need to make certain assumptions about the table outline and do not have the versatility. There are many highly efficient solutions that cannot be implemented in pursuit of universality, because the reality is much more complicated than our ideal.Below we will list several major solutions we have considered. These
Oracle rman backup and RestorationRMAN supports Incremental Backup: databases, tablespaces, and data files.Only used blocks can be backed up as backup setIng between tablespaces and data files: dba_data_files/v $ datafile_headerIn noarchivelog mode, you can use RMAN to back up the read-only and offline tablespaces.Oracle rman downtime backup:BackupRMAN is connected to ORACLE, while WINDOWS is in command mode.Rman target/Local Authentication mode is us
Label:BackupIncremental backups are based on a full backup, so we need to do a full backup first: Innobackupex--password=test/backup/ Note: Test is the password for the root user of my MySQL service,/backup/is the directory I used to store the backup files. After executing the command, a timestamp directory is generated under the/backup/directory, which in my case is/backup/2016-09-20_14-45-26/. Incremental backup for the first time: Innobackupex--pa
First, export/import (Export/import)----Use export to extract data from the database and import the extracted data back to the Oracle database. ----1. Simple Export data (exports) and imported data (import)----Oracle supports three types of output:----(1) Table mode (t) to export the data for the specified table.----(2) User mode (U-mode) to export all objects and data of the specified user.----(3) Whole-Library mode (full mode) to export all objects in the database.The process of----data export
Mysql Backup Tools Xtraback full-volume and incremental testingXtrabackup is an open source project for Percona, can be hot backed up InnoDB, XtraDB, and MyISAM (Will lock the table)Official website Http://www.percona.com/docs/wiki/percona-xtrabackup:startXtrabackup is an open source software developed by Percona , which can be said to be an open source alternative to the InnoDB hot standby tool Ibbackup . This software is made up of 2 parts: Xtraback
I. What is Incremental backup?
1. What is Incremental backup-Incremental backup is to back up new data. If you have 10 Gb of data in a database, you can add 10 MB of data every day. The database must be backed up once every day. Do you need to back up so much data? We only need to back up the added data. Obviously, I only need to back up the added data. This redu
Tags: var int pos VPD Values backup file time Emctl throughFeatures of incremental backup and recovery
The advantage of incremental backup is that there is no duplicate data, the amount of backup is small and the time is short. However, the disadvantage is obvious, and it is necessary to establish all the deltas after the last full and full backup to recover.
MySQL does not provide a direct
] 90409[[email protected] data]# mysql-uroot-pli123456-s/data/3306/mysql.sockmysql> show databases;+--------------------+|Database |+--------------------+|Information_schema | |lichengbing |#数据表恢复成功 |Lilongzi | |MySQL | | Performance_schema |+--------------------+5 rows in Set (0.00 sec)And then simulate the incremental backup.Insert a few rows of data in a new[Email protected] opt]# mysql-uroot-pli123456-s/data/3306/mysql.sock lichengbing
Image Copy Incremental Updates (ICIU): concepts (I) limits the use of Redo to reduce the recovery time (ii) Principles of creating an Image Copy of a data file, and then using an Incremental backup set to update the Image Copy: merge a level 1 Incremental Backup set into an existing image copy. (3) test ① script [SQL] RMAN> run {2> recover copy of database with t
/dev
/tmp
Backup method Tar supports three ways of backing up:1. Full backup: Back up all target files or folders specified2. Incremental backup: Backup only atime files or folders that are different from the last backup3. Differential backup: Similar to incremental backup, only adds support for Windows file system This article mainly describes how to use tar to make
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.