Tags: mysql mysqldump master-dataMysqldump--help--master-data[=#]thiscausesthebinarylogpositionand Filenametobe appendedtotheoutput.ifequal to1,willprintitasa CHANGEMASTER Command;ifequalto2,thatcommandwill be Prefixedwithacommentsymbol.thisoptionwillturn --lock-all-tableSon,unless--single-transactionis specifiedtoo (in whichcaseaglobalreadlockisonly taken
Tags: mysqlWe know that data is at the heart of an enterprise IT architecture, and in order to prevent data loss or some other special purpose for some accidental reasons, it is especially important to make backups of the data at the usual times.First, why to back up1. Disaster recovery: Hardware failure, software fail
naturally come out. Therefore, the first choice is to format the disk. After formatting, the lost capacity will be ready! Do not hesitate to format the confidential USB flash drive. After formatting, drag the data to the USB flash drive again! It seems that the disk space is still 10 MB, regardless of whether the disk is used for formatting.
2. Restore with database recovery software
Ask for help in the gr
[[email protected] bin]# Mysqlbinlog logbin.000002/*!40019 set @ @session. max_insert_delayed_threads=0*/;/*!50003 SET @ [Email protected] @COMPLETION_TYPE, completion_type=0*/;D elimiter/*!*/;# at 4#150511 20:57:36 server ID 1 end_log_ POS 106 Start:binlog v 4, Server v 5.1.73-log created 150511 20:57:36# warning:this binlog are either in use or were not C losed properly. BINLOG ' Mhprvq8baaaazgaaagoaaaabaaqans4xljczlwxvzwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaezgnaagaegaeba
-pxxxxxx -S /tmp/mysql.sock db_name
7. Check the data correctness after the import is complete: Check the data roughly, and then you can view the situation through the time field:
mysql> select max(createtime),max(updatetime) from table_name;+-----------------+-----------------+| max(createtime) | max(updatetime) |+-----------------+-----------------+| 1411648043 | 1411648043 |+-----------------+-------
1, installed in the computer "Le Isia Data Recovery-Professional Edition", this can be downloaded Baidu search.
2, then open Le Yijia data recovery main function interface-"restore deleted Files" feature button.
3. Enter the partition selection interface and find the computer letter you want to rest
, the idea of data recovery(1) Using the Change master statement recorded in the fully-prepared SQL file, binlog the file and its location point information to find the incremental portion of the Binlog file.(2) Use the Mysqlbinlog command to export the above Binlog file as a SQL file and remove the drop statement.(3) The full file and the incremental Binlog file
Nowadays, many people have learned that they can use data repair tools to retrieve and delete files after deleting a computer hard disk file, but this does not mean that they are omnipotent, it is difficult to restore two types of files after they are deleted.
1. It is difficult to restore the deleted compressed file
Many friends like to organize files and use compression tools to compress many files, which saves space and facilitates management. Ho
whitespace (" product_id "CHAR (5) enclosed by X ' 7C '," Sales_da TE "DATE" dd-mon-yyyy AD HH24:MI:SS "enclosed by X ' 7C '," Sales_cost "CHAR (3)
Enclosed by x ' 7C ', "STATUS" CHAR (8) enclosed by x ' 7C ') This proves that the table structure in all the control files is the structure of the whole table, not the partition table, in the actual process, you can consider the swap partition to implement -----------------Tips--------------------
operation is risky, hands-on need to be cautious
O
Network data backup and recovery
I. Reasons for data failure Fault classification of computer systems and analysis of faults Class A: computer hardware and software faults • Occurrence: for enterprises, the most likely and frequent occurrence may lead to abnormal work, and serious loss of important data may lead to
Hard Disks and data are priceless. Nowadays, more and more users have such a concept, but they will feel it only when there is a real data crisis. Even though computer data stored on various disks is so important, however, due to technical and technological reasons, any storage device may be damaged. Changes and deterioration of the operating environment, illegal
The biggest risk of Computer Office is data loss. The result of hard work is often lost only because of a small mistake. Therefore, A certain degree of data recovery knowledge is the technical quality that every computer staff must possess. However, what is data recovery and
I. Protection and Restoration of software systemsFor a long time, there has been a large flow of staff in school data centers, Internet cafes, and other places where there are many machines, and the work of system administrators is very cumbersome. We often need to reinstall the system and kill viruses. How to protect and restore the existing operating systems and software on the hard disk has become a topic.In principle, the protection and restoratio
Originating From: http://blog.chinaunix.net/uid-26602509-id-4102099.html
Open the bin log feature of MySQL: for MySQL is also support incremental backup, but to open the Bin log feature of MySQL. We modify the MySQL configuration file. Linux is/etc/my.cnf,windows is the installation directory for MySQL/my.ini We add a log-bin line of code below [Mysqld], as below.
[Mysqld]
log-bin=Mysql-bin
Copy CodeAfter the addition of the MySQL can be re-start.A customer update
In daily operations, backup of MySQL database is crucial! The importance of the database to the website makes our management of MySQL data not be lost!Then, it is inevitable that people will make mistakes, maybe one day the brain short-circuited to a wrong operation to delete the database, how to do???The following is a description of the recovery scenario after the MySQL database was mistakenly deleted.Fir
emptied? At the present level, the empty Recycle Bin files are recoverable and we can retrieve the emptied files through the top data recovery software.
Top data Recovery software is a well-known data recovery software developed
The biggest risk of Computer Office is data loss. The result of hard work is often lost only because of a small mistake. Therefore, A certain degree of data recovery knowledge is the technical quality that every computer staff must possess. However, what is data recovery and
non-routine recovery with Oracle Dul tool to recover data from drop-deleted Oracle data tables without backupDul to recover a drop object, you need to provide two information1. Table space to which the deleted table belongs (not required)2. Deleted table structure (required)simulating the deletion of tables in a 1.Oracle database--Creating a test table sql> creat
Preparation Tools
We lost the data. Put the bad hard drive on the recovery machine as a hard drive in the machine to be recovered
Then install a trial version called "Top Data Recovery Software" on the new machine
HDD Data recovery
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.