SQLServer database based data recovery method

A recovery method and database technology, applied in the field of information security, can solve the problems of database failure, data file damage, transaction log file is too large, etc., and achieve the effects of high recovery success rate, loss reduction, and high data efficiency

Active Publication Date: 2015-11-18
XLY SALVATIONDATA TECHNOLOGY INC
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, database failures sometimes occur, resulting in inaccessible data. Among them, the common reasons for database corruption are as follows: Transaction log problems
For example, the transaction log file is lost; the transaction log file is deleted by mistake during the operation; The database is shut down abnormally while being read and written; the table of the database is damaged or the index is damaged, or other objects of the database are damaged or lost; the data file is deleted or its name is changed; the hard disk is damaged, causing data and Log file read and write errors, etc.; some of these errors can be handled by the database itself through disaster recovery mechanisms to ensure normal data access, but for database table damage, database deletion, or data file deletion, the database itself cannot be repaired at this time. A special method is needed to solve these problems. Most of the solutions are to restore the lost database files, and then restore the records. However, if the files are stored in fragments, there are some methods to restore the database on the market. In this case, it is necessary to use the method of recording characteristics to complete data recovery, so as to preserve the integrity of key data to the greatest extent.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Embodiment one: a kind of data restoration method based on SQLServer database

[0028] S1: Find the SQLServer database backup or database design documents, and determine the data tables in the database.

[0029] S2: Select and find the data table that needs to restore data according to the database backup or database design document in S1, and obtain all the information of the table;

[0030] S3: According to the data table of S2, the logical structure relationship of each record in the data table can be obtained;

[0031] For example, there are vip_no, vip_name, vip_pass, sex, brithday and other fields in the table to form a record relationship.

[0032] S4: According to the type description of the database and the design document of the database, the specific information of the field can be obtained; the field information includes: data type, data length, and logical order of data arrangement.

[0033] For example: data type, data length, data row logical order, in ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an SQLServer database based data recovery method, comprising the following steps: S1: determining a data table of a database; S2: obtaining all information of the table; S3: obtaining a logic structure relation of records; S4: obtaining specific information of fields; S5: obtaining data recovery logic structure features; and S6: forming a data table form by data and performing extraction. The method has the beneficial effects as follows: an SQLServer analyzes the records and the fields in the data table through a database structure; the head of each record and structure division data of the fields are found and extracted; the data recovery efficiency is high; a fragment-grade database with corrupted and discontinuous data also can be subjected to normal extraction and recovery; the success rate of data recovery is high; and the loss caused by database damage is effectively reduced.

Description

technical field [0001] The invention relates to the technical field of information security, in particular to a data recovery method for a SQL Server database. Background technique [0002] SQL Server is a relational database management system launched by Microsoft Corporation. It has the advantages of convenient use, good scalability and high degree of integration of related software. SQL Server is a comprehensive database platform that provides enterprise-class data management using integrated business intelligence (BI) tools. [0003] The SQLServer database engine provides a more secure and reliable storage function for relational data and structured data, enabling you to build and manage highly available and high-performance data applications for business. A database consists of various components, including tables, views, stored procedures, records, fields, indexes, and so on. [0004] However, database failures sometimes occur, resulting in inaccessible data. The co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14G06F17/30
Inventor 梁效宁许超明赵飞
Owner XLY SALVATIONDATA TECHNOLOGY INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products