Importance of Backup:
In the production environment, our database may encounter a variety of accidents resulting in data loss, probably divided into the following several.
Hardware failure
Software failure
Natural disasters
Xtrabackup User Guide InnoDB Data Backup toolXtrabackup is a innodb to do data backup tools, Support Online hot backup ( backup without affecting the data read and write, that is, no lock), is a commercial backup tool InnoDB hotbackup a good
--EXEC BACKUPDATABASE_LEEHG Statement Parameter Description:--Example: exec backupdatabase_leehg ' parameter one ', ' parameter two ', ' parameter three ', ' parameter four ', ' parameter Five ', ' parameter six '-- Parameter one: Need to back up
Mysql full backup and Incremental Backup implementation method, mysql incremental
Mysql full backup and Incremental backup. Enable the logbin log function of mysql. Add the following code to the/etc/my. cnf file:
[mysqld]log-bin =
Myth #20: After breaking the log backup chain, a full backup is required to restart the log chain
Error
A transaction log backup backs up all transaction logs since the last transaction log backup (if there has never been a log backup, starting
A differential backup is a backup of all the differential data that is above a fully-available base point for this period.A log backup is a backup of the transaction log for this period based on the previous fully prepared + log backup as base point.
Use Xtrabackup to do a full backup. After we have installed Xtrabackup, it gives us a few command-line tools where we back up the command to use is Innobackupex, which is a script that encapsulates several xtrabackup of several command lines
It is important to back up your database if the database tables are missing or corrupted. If a system crash occurs, you certainly want to be able to recover your table as much as possible with the least amount of data recovered to the state when the
Mysqldump full backup shell script sharing today, the tester urged that the relevant bug database data must be backed up, and the full backup should be performed on a daily basis; for this database with a small amount of data, I feel that it is not
Recovery from different machines based on one full backup of rman I. Target database preparation: Back up dbrun {allocatechannelch1devicetypediskmaxpiecesize10
Recovery from different machines according to one full backup of rman I. Target database
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, it can be understood as follows: Full backup: A backup is
Myth #20: After breaking the log backup chain, a full backup is required to restart the log chain
Error
A transaction log backup backs up all transaction logs since the last transaction log backup (if there has never been a log backup, starting
First, the experimental environment: 1, the preparation of two virtual machines, one for the destruction of the database, one for the restoration, two in the same network 2, two minimized installation of the CentOS 7 system, and directly yum
MySQL full backup + incremental backup
Profile:
Manage MySQL configuration file, open Binlog log
for MySQL database:
Log_bi n =/var/log/mysql/mysql_bin.log
server-id = 1 (must
I. Scripting notes1.mysql data files and binary log files are best saved on different partitions or storage devices2. After the backup is complete, take care to modify the data permissions to prevent the disclosure of important information, which
In SQL Server 2000, assume that we have a database of: Test, which now requires it to be automatically backed up 19:00 every day, and in the event of a database error in the future, we can restore the database to any backup point in time with a
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
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
Scenario: Sunday full Backup, Monday, Tuesday incremental backup, Wednesday problems, found after a few minutes;Installation of the database: Yum install mariadb-server-ysystemctl start Mariadbyum install percona-xtrabackup-24-2.4.9-1.el7.x86_64.rpm
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.