This article introduces the picture and text code case of MySQL database incremental data recovery. Friends in need can refer to the next, usage scenario. The MySQL database is automatically fully prepared at zero o'clock every day. One day at 9 o'clock in the morning, Zhang San accidentally After dropping a database, we need to perform data recovery through fully prepared data files and incremental binlog files. 2. Main ideas and principles Use the CHANGE MASTER statement, binlog file and its location information recorded in the fully prepared sql file to find For the incremental part of the binlog file, use the mysqlbinlog command to export the above binlog file into a sql file, and remove the drop statement in it. By exporting the sql file of the full file and the incremental binlog file, you can restore the complete data. 3. Process Schematic 4. Operation process 1. Simulated data CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT,
1. MySQL - graphic code case of database incremental data recovery
Introduction: 1. Usage scenarios MySQL database is automatically fully prepared at zero o'clock every day. One day at 9 o'clock in the morning, Zhang San accidentally dropped a database. We need to complete the Prepared data files and incremental binlog files for data recovery 2. Main ideas and principles Use the CHANGE MASTER statement recorded in the fully prepared sql file, binlog files and their location information to find out the incremental parts of the binlog file The mysqlbinlog command exports the above binlog file to sq
2. .NET implements a simple incremental file backup program
Introduction: .Net provides many convenient methods, including searching for files in processed files, copying files, etc. What is achieved today is through a simple program Implement incremental backup files. The first thing you need is to select the backup source file path SourcePath and the backup destination file path DestinationPath, and then use StopWatch to count the time spent on copying. (Note: Using StopWatch requires adding using Syst
Introduction: File Increment Backup
4. php script to create files of specified size regularly
Introduction: php to create files of specified size regularly The script company's main business is data backup (supports incremental file backup), so during testing, new files need to be generated regularly to test whether the business is operating normally. Add the following script file to crontab to realize the principle of regularly generating new files. Mainly use the dd command to create files of specified size.
##[Related Q&A recommendations]:
The above is the detailed content of 10 recommended courses on file increment. For more information, please follow other related articles on the PHP Chinese website!