CN103914359B - A kind of data reconstruction method and device - Google Patents

A kind of data reconstruction method and device Download PDF

Info

Publication number
CN103914359B
CN103914359B CN201210594580.2A CN201210594580A CN103914359B CN 103914359 B CN103914359 B CN 103914359B CN 201210594580 A CN201210594580 A CN 201210594580A CN 103914359 B CN103914359 B CN 103914359B
Authority
CN
China
Prior art keywords
database
snapshot
disaster recovery
data
snapshot copy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210594580.2A
Other languages
Chinese (zh)
Other versions
CN103914359A (en
Inventor
陈航
戴伟
胡宏波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Zhejiang Co Ltd
Original Assignee
China Mobile Group Zhejiang Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Zhejiang Co Ltd filed Critical China Mobile Group Zhejiang Co Ltd
Priority to CN201210594580.2A priority Critical patent/CN103914359B/en
Publication of CN103914359A publication Critical patent/CN103914359A/en
Application granted granted Critical
Publication of CN103914359B publication Critical patent/CN103914359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of data reconstruction method and device, is related to field of data storage.Method includes:In a disaster recovery database being stored on disaster tolerance main frame to the array data come from production host duplication;Array data in the disaster recovery database produces snapshot copy, and is stored in the snapshot database of the disaster tolerance main frame;When the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, a snapshot copy nearest when being made a mistake from the array data is obtained;According to the snapshot copy, the disaster recovery database made a mistake is recovered.The present invention is backed up the data in disaster recovery database using snapping technique, when mistake occur in the data that disaster recovery database records production main frame, disaster recovery database can be recovered by a snapshot copy nearest apart from the wrong time of origin.

Description

A kind of data reconstruction method and device
Technical field
The present invention relates to field of data storage, a kind of data reconstruction method and device are particularly related to.
Background technology
Database is exactly the centrally stored center of data for enterprise, i.e. right for the Disaster Tolerant Scheme of database In the protection of enterprise key data.It is how fast by disaster tolerance in the case where there is great error in data or data center's failure The data for recovering database fastly are very important.
The mode that current industry carries out disaster tolerance is that the data for producing main frame are stored in into a disaster tolerance data in the form of an array In storehouse.This mode usually requires that in the manufacturing side and two, disaster tolerance end database possess substantially close storage, it is desirable to provide specially Use storage replication link(Such as storing fiber optic link), fixed storage replication relation is set up between being stored at two.If the manufacturing side Data change, this data being changed can also be stored by disaster recovery database, it is ensured that the uniformity of data.
The existing disaster recovery method replicated based on array data, due to being gone forward side by side using manufacturing side write-in in technical principle Row transmission, is write thereafter at disaster tolerance end as former state, although ensure that the uniformity of maximum in data Layer, simultaneously because hardware Reliability, the stability of this disaster tolerance mode is also more outstanding, is used by most carrier class data center;But this skill Art solution inevitably has a maximum drawback, be exactly in the logic error that manufacturing side database data is produced, In the case of this strict data duplication, disaster tolerance end is equally inevitable, and so disaster recovery database just loses recovery Produce the effect of end data.Wherein, there are data in the data that so-called database data generation logic error generally refers to database Block is damaged or artificial maloperation(Such as delete data etc.).
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of data reconstruction method and device, realize disaster tolerance data record Prevent the function of logic error.
In order to solve the above technical problems, embodiments of the invention provide a kind of data reconstruction method, including:
In a disaster recovery database being stored on disaster tolerance main frame to the array data come from production host duplication;
Array data in the disaster recovery database produces snapshot copy, and is stored in the snapshot of the disaster tolerance main frame In database;
When the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, obtain from the battle array Nearest snapshot copy when column data makes a mistake;
According to the snapshot copy, the disaster recovery database made a mistake is recovered.
Wherein, the array data in the disaster recovery database produces snapshot copy, and is stored in the disaster tolerance main frame Snapshot database in step include:
Snapshot copy is produced according to a prefixed time interval to the array data of the disaster recovery database, and is stored in described The snapshot database of disaster tolerance main frame.
Wherein, snapshot copy is produced according to a prefixed time interval to the array data of the disaster recovery database, and preserved Include the step of the snapshot database of the disaster tolerance main frame:
To copied next array data in the guard time window of disaster recovery database one, produced according to a prefixed time interval Raw snapshot copy, and it is stored in the snapshot database of the disaster tolerance main frame;Wherein, snapshot copy amount=guard time window/ The prefixed time interval.
Wherein, the snapshot copy is the snapshot copy of the incremental data of the array data.
Wherein, the array data in the disaster recovery database produces snapshot copy and also included:
Within the time that the snapshot copy is initialized, the rear end disk of the snapshot database is scanned, recorded The snapshot copy disk to be preserved.
Wherein, when the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, obtain from institute The step of stating a snapshot copy nearest when array data makes a mistake includes:
The archive log for obtaining the online daily record of the disaster recovery database and coming from the production host duplication;
According to the online daily record and the archive log, it is determined that nearest when being made a mistake from the disaster recovery database The corresponding disk of one snapshot copy, and obtain from the disk snapshot copy;Wherein, the online daily record is the appearance The daily record document that calamity database is currently recording, the archive log be the disaster recovery database before daily record document.
Wherein, according to the snapshot copy, the step of recovering to the disaster recovery database made a mistake includes:
By the online daily record of the Production database of the preservation original array data of the production main frame, and from the production Database makes a mistake to the archive log between the time preserved from a snapshot copy nearest when making a mistake, copies to institute State disaster tolerance main frame;
Returned to described from a snapshot copy nearest when making a mistake in the disaster recovery database;
The online daily record using the Production database and archive log in the disaster recovery database.
Embodiments of the invention also provide a kind of Data Recapture Unit, including:
Replication module, for being stored in a disaster tolerance number to the array data come from production host duplication on disaster tolerance main frame According in storehouse;
Snapshot module, produces snapshot copy, and be stored in described for the array data in the disaster recovery database In the snapshot database of disaster tolerance main frame;
Acquisition module, for when the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, Obtain a snapshot copy nearest when being made a mistake from the array data;
Recovery module, for according to the snapshot copy, recovering to the disaster recovery database made a mistake.
Wherein, the snapshot module specifically for:The array data of the disaster recovery database according to a preset time Every generation snapshot copy, and it is stored in the snapshot database of the disaster tolerance main frame.
Wherein, the snapshot module is further used for:To in the guard time window of disaster recovery database one it is copied come Array data, produces snapshot copy, and be stored in the snapshot database of the disaster tolerance main frame according to a prefixed time interval;Its In, the snapshot copy amount=guard time window/prefixed time interval.
Wherein, the snapshot copy is the snapshot copy of the incremental data of the array data.
Wherein, the snapshot module is additionally operable to:Within the time that the snapshot copy is initialized, to the snapshot database Rear end disk be scanned, record the snapshot copy disk to be preserved.
Wherein, the acquisition module includes:
First acquisition submodule, for obtaining the online daily record of the disaster recovery database and from the production host duplication The archive log come over;
Second acquisition submodule, for according to the online daily record and the archive log, it is determined that from the disaster tolerance number A nearest snapshot copy corresponding disk when being made a mistake according to storehouse, and obtain from the disk snapshot copy;Wherein, The online daily record is the daily record document that the disaster recovery database is currently recording, and the archive log is the disaster tolerance data Daily record document before storehouse.
Wherein, the recovery module includes:
First recover submodule, for by it is described production main frame preservation original array data Production database it is online Daily record, and made a mistake from the Production database to the time preserved from a snapshot copy nearest when making a mistake Archive log, copy to the disaster tolerance main frame;
Second recovers submodule, for the snapshot copy from when making a mistake recently to be returned into the disaster tolerance number According in storehouse;
Using submodule, for the online daily record in the disaster recovery database using the Production database and filing day Will.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
In such scheme, the data in disaster recovery database are backed up using snapshot, produced when disaster recovery database is recorded When mistake occur in the data of main frame, disaster recovery database can be entered by a snapshot copy nearest apart from the wrong time of origin Row recovers.
Brief description of the drawings
Fig. 1 is the key step schematic diagram of data reconstruction method in the present invention;
Fig. 2 is another step schematic diagram of data reconstruction method in the present invention;
Fig. 3 is the detailed maps of data reconstruction method in the present invention;
Fig. 4 is the structural representation of Data Recapture Unit in the present invention;
The detailed maps that Fig. 5 applies for the progress of Data Recapture Unit in the present invention.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
As shown in figure 1, a kind of data reconstruction method, including:
Step 10, a disaster recovery database is stored in the array data come from production host duplication on disaster tolerance main frame In;
Step 20, the array data in the disaster recovery database produces snapshot copy, and is stored in the disaster tolerance master In the snapshot database of machine;
Step 30, when the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, obtain from The nearest snapshot copy when array data makes a mistake;
Step 40, according to the snapshot copy, the disaster recovery database made a mistake is recovered.
The above method is backed up the data in disaster recovery database using snapping technique, is produced when disaster recovery database is recorded When mistake occur in the data of main frame, disaster recovery database can be entered by a snapshot copy nearest apart from the wrong time of origin Row recovers.
Because disaster recovery database occurrence record mistake is random, the time that the unpredictable mistake of related personnel occurs, this The snapshot copy that snapshot database records the disaster tolerance data of multiple different times is accomplished by, therefore, in the above-mentioned implementation of the present invention In example, step 20 can include:
Snapshot copy is produced according to a prefixed time interval to the array data of the disaster recovery database, and is stored in described The snapshot database of disaster tolerance main frame.Its specific method is:
To copied next array data in the guard time window of disaster recovery database one, produced according to a prefixed time interval Raw snapshot copy, and it is stored in the snapshot database of the disaster tolerance main frame;Wherein, snapshot copy amount=guard time window/ The prefixed time interval;
In order to save snapshot database space, accelerate the copy extraction rate of snapshot, the snapshot copy is the array The snapshot copy of the incremental data of data;Only record relative to the snapshot copy recorded before, the data content of change.
In the above embodiment of the present invention, step 20 can also include:
Within the time that the snapshot copy is initialized, the rear end disk of the snapshot database is scanned, recorded The snapshot copy disk to be preserved;, can be according to the preservation address of record so as to when needing to extract a certain snapshot copy Searched.
In the above embodiment of the present invention, step 30 can also include:
Step 31, the filing day for obtaining the online daily record of the disaster recovery database and coming from the production host duplication Will;
Step 32, according to the online daily record and the archive log, it is determined that being made a mistake from the disaster recovery database When the nearest corresponding disk of a snapshot copy(The preservation address of recorded snapshot copy before determining), and from described The snapshot copy is obtained in disk;Wherein, the online daily record is the daily record text that the disaster recovery database is currently recording Shelves, the archive log be the disaster recovery database before daily record document.
Because snapshot copy is the disaster tolerance data content sometime put of record, when disaster recovery database makes a mistake record When, data content can only be recovered by the nearest snapshot copy of the wrong time of origin of distance, so, it still can cause partial data Loss;In order to solve this problem, as shown in Fig. 2 in the above embodiment of the present invention, step 40 can include:
Step 41, by the online daily record of the Production database of the preservation original array data of the production main frame, Yi Jicong The Production database makes a mistake to the archive log between the time preserved from a snapshot copy nearest when making a mistake, Copy to the disaster tolerance main frame;
Step 42, returned to described from a snapshot copy nearest when making a mistake in the disaster recovery database;
Step 43, the online daily record in the disaster recovery database using the Production database and archive log.
As shown in figure 3, the above method is described in detail with reference to practical application:
Step 310, check whether the record of disaster recovery database data occurs logic error;Walked if not occurring Rapid 311;In the event of misregistration, then step 312 is carried out;
Step 311, copied next array data in the guard time window of disaster recovery database one is carried out every 1 hour Snapshot processing, produces snapshot copy, and is stored in the snapshot database of the disaster tolerance main frame, and records the address of preservation;Wherein, Snapshot copy amount=guard time window/the prefixed time interval;Generally, it is 24 that guard time window, which can be set, Hour, then the data of the change of disaster recovery database can be carried out with snapshot in the daily integral point time, and circulation in every 24 hours is more New snapshot database;
Step 312, the daily record document that disaster recovery database is currently recording is read(I.e. online daily record)And disaster recovery database Daily record document before(That is archive log), find the time of origin of the wrong data recorded in daily record and the address of preservation (Which such as it is stored on disk), it can be assumed that the time of logic error report is 12:03 point, actually occur logic error Time is 12:00;
It should be noted that the daily record of disaster recovery database and the daily record of Production database are identical under normal circumstances, When logic error occurs for disaster tolerance side, cause the log recording content of disaster recovery database that mistake also occurs, with Production database Daily record produce difference;
Step 313, distance 12 is obtained from snapshot database:00 nearest snapshot copy, i.e., 11:The snapshot of 00 generation Copy;
Step 314, by 11:00 snapshot copy content recovery is into disaster recovery database;
Step 315, Production database is obtained 11 from production main frame:00-11:The archive log of 59 this periods, with And the current online daily record of Production database;
Step 316, by Production database 11:00-11:The archive log of 59 this periods, and Production database Line daily record is imported into disaster recovery database;
Step 317, using the daily record imported in disaster recovery database, by the preservation data time recorded in daily record, and Data content, recovers to disaster recovery database;
After the completion of disaster recovery database recovers, step 311 is returned to.
The method of the present embodiment is backed up the data in disaster recovery database using snapping technique, when disaster recovery database note When mistake occur in the data of record production main frame, disaster tolerance can be carried out by a snapshot copy nearest apart from the wrong time of origin Database recovery;Further, snapshot copy is only recorded relative to the snapshot copy recorded before, the data content of change, So as to save snapshot database space, accelerate the copy extraction rate of snapshot, and then accelerate the resume speed of data;Further Ground, using the preservation original array data for producing main frame, to from a snapshot pair nearest when making a mistake when recovering to make a mistake Data content between the time of this preservation, so as to realize the recovery of disaster tolerance data without losing.
As shown in figure 4, embodiments of the invention also provide a kind of Data Recapture Unit, including:
Replication module, for being stored in a disaster tolerance number to the array data come from production host duplication on disaster tolerance main frame According in storehouse;
Snapshot module, produces snapshot copy, and be stored in described for the array data in the disaster recovery database In the snapshot database of disaster tolerance main frame;
Acquisition module, for when the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, Obtain a snapshot copy nearest when being made a mistake from the array data;
Recovery module, for according to the snapshot copy, recovering to the disaster recovery database made a mistake.
In the above embodiment of the present invention, snapshot module can be used for:To the array data of the disaster recovery database according to One prefixed time interval produces snapshot copy, and is stored in the snapshot database of the disaster tolerance main frame.To be specifically to be used for: To copied next array data in the guard time window of disaster recovery database one, snapshot pair is produced according to a prefixed time interval This, and it is stored in the snapshot database of the disaster tolerance main frame;Wherein, snapshot copy amount=guard time window/described is default Time interval.
In order to save snapshot database space, accelerate the copy extraction rate of snapshot, the snapshot copy is the array The snapshot copy of the incremental data of data;Only record relative to the snapshot copy recorded before, the data content of change;
In the above embodiment of the present invention, the snapshot module is additionally operable to:The time initialized in the snapshot copy It is interior, the rear end disk of the snapshot database is scanned, the snapshot copy disk to be preserved is recorded;So as to need When extracting a certain snapshot copy, recovery module can be searched according to the preservation address of record;
In the above embodiment of the present invention, the acquisition module may also include:
First acquisition submodule, for obtaining the online daily record of the disaster recovery database and from the production host duplication The archive log come over;
Second acquisition submodule, for according to the online daily record and the archive log, it is determined that from the disaster tolerance number A nearest snapshot copy corresponding disk when being made a mistake according to storehouse, and obtain from the disk snapshot copy;Wherein, The online daily record is the daily record document that the disaster recovery database is currently recording, and the archive log is the disaster tolerance data Daily record document before storehouse.
Because the snapshot copy in snapshot module is the disaster tolerance data content that record is sometime put, work as disaster recovery database Make a mistake record when, recovery module can only pass through the nearest snapshot copy of the wrong time of origin of distance and recover data content, institute So that the loss of partial data still can be caused;It is described to recover in the above embodiment of the present invention in order to solve this problem Module also includes:
First recover submodule, for by it is described production main frame preservation original array data Production database it is online Daily record, and made a mistake from the Production database to the time preserved from a snapshot copy nearest when making a mistake Archive log, copy to the disaster tolerance main frame;
Second recovers submodule, for the snapshot copy from when making a mistake recently to be returned into the disaster tolerance number According in storehouse;
Using submodule, for the online daily record in the disaster recovery database using the Production database and filing day Will.
Obviously, the upper embodiment is a kind of corresponding device embodiment of data reconstruction method, the data in the present invention The technique effect that restoration methods reach, the device of the present embodiment can similarly reach.
As shown in figure 5, said apparatus is described in detail with reference to practical application:
A. main frame is produced by the latest data of its data-base recording(The data changed)Array duplication is carried out, array is generated Data;
B. data transfer can be carried out by optical fiber, made using fibre circuit connection between production main frame and disaster tolerance main frame Array data is sent to disaster tolerance host computer side, as disaster tolerance data;
C. replication module enters disaster tolerance data storage in disaster recovery database;
D. disaster tolerance data transfer is transmitted to snapshot module;
E. snapshot module carried out a snapshot processing every 1 hour to passing over disaster tolerance data, generated snapshot copy, will Copy is stored into snapshot database, and the address of record storage(Which such as it is stored on disk);Wherein, snapshot number of copies Amount=guard time window/the prefixed time interval;Generally, it is 24 hours that guard time window, which can be set, then can Snapshot is carried out to disaster tolerance data in the daily integral point time, and is cyclically updated snapshot database in every 24 hours;
F. find that logic error occurs in the record of disaster recovery database;
G. the daily record text that the first acquisition submodule in acquisition module is currently recording from the acquisition in disaster recovery database Shelves(I.e. online daily record)With the daily record document before disaster recovery database(That is archive log);
It should be noted that the daily record of disaster recovery database and the daily record of Production database are identical under normal circumstances, When logic error occurs for disaster tolerance side, cause the log recording content of disaster recovery database that mistake also occurs, with Production database Daily record produce difference;
H. the second acquisition submodule in acquisition module finds the time of origin of the wrong data recorded in daily record and deposited Store up address;The time that assume that logic error report is 12:03 point, the time for actually occurring logic error is 12:00, then 11:The snapshot copy distance 12 of 00 record:00 is nearest;
I. snapshot copy is sent to recovery module(Recovery module includes first and recovers submodule, the second recovery submodule And application module);
J. the first recovery submodule obtains Production database 11 from production main frame:00-11:The filing of 59 this periods Daily record, and Production database current online daily record;
K. the wrong data in disaster recovery database is recovered:
First recovers submodule by 11:00-11:The archive log of 59 this periods, and Production database online day Will is sent to disaster recovery database;
Second recovers submodule by 11:Content in 00 snapshot copy is override in the wrong data in disaster recovery database Hold;
The daily record that the first recovery submodule is sent in disaster recovery database is applied using submodule, by daily record The preservation data time of record, and data content, recover to disaster recovery database.
The device of the present embodiment is backed up the data in disaster recovery database using snapping technique, when disaster recovery database note When mistake occur in the data of record production main frame, disaster tolerance can be carried out by a snapshot copy nearest apart from the wrong time of origin Database recovery;Further, snapshot module is only recorded relative to the snapshot copy recorded before, the data content of change, So as to save snapshot database space, accelerate the copy extraction rate of snapshot, and then accelerate the resume speed of data;Further Ground, using the preservation original array data for producing main frame, to from a snapshot pair nearest when making a mistake when recovering to make a mistake Data content between the time of this preservation, so as to realize the recovery of disaster tolerance data without losing.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (12)

1. a kind of data reconstruction method, it is characterised in that including:
In a disaster recovery database being stored on disaster tolerance main frame to the array data come from production host duplication;
Array data in the disaster recovery database produces snapshot copy, and is stored in the snapshot data of the disaster tolerance main frame In storehouse;
When the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, obtain from the number of arrays According to a snapshot copy nearest when making a mistake, including:Obtain the online daily record of the disaster recovery database and from the production The archive log that host duplication comes;According to the online daily record and the archive log, it is determined that from the disaster recovery database A nearest snapshot copy corresponding disk when making a mistake, and obtain from the disk snapshot copy;Wherein, it is described Online daily record is the daily record document that the disaster recovery database is currently recording, the archive log be the disaster recovery database it Preceding daily record document;
According to the snapshot copy, the disaster recovery database made a mistake is recovered.
2. data reconstruction method according to claim 1, it is characterised in that according to the number of arrays in the disaster recovery database According to producing snapshot copy, and the step being stored in the snapshot database of the disaster tolerance main frame includes:
Snapshot copy is produced according to a prefixed time interval to the array data of the disaster recovery database, and is stored in the disaster tolerance The snapshot database of main frame.
3. data reconstruction method according to claim 2, it is characterised in that pressed to the array data of the disaster recovery database Snapshot copy is produced according to a prefixed time interval, and is included the step of be stored in the snapshot database of the disaster tolerance main frame:
To copied next array data in the guard time window of disaster recovery database one, produced according to a prefixed time interval fast According to copy, and it is stored in the snapshot database of the disaster tolerance main frame;Wherein, snapshot copy amount=guard time window/institute State prefixed time interval.
4. data reconstruction method according to claim 1, it is characterised in that the snapshot copy is the array data The snapshot copy of incremental data.
5. the data reconstruction method according to claim any one of 1-4, it is characterised in that according to the disaster recovery database In array data produce snapshot copy also include:
Within the time that the snapshot copy is initialized, the rear end disk of the snapshot database is scanned, record is described The snapshot copy disk to be preserved.
6. data reconstruction method according to claim 5, it is characterised in that according to the snapshot copy, to making a mistake The disaster recovery database include the step of recovered:
By the online daily record of the Production database of the preservation original array data of the production main frame, and from the creation data Storehouse is made a mistake to the archive log between the time preserved from a snapshot copy nearest when making a mistake, copies to the appearance Calamity main frame;
Returned to described from a snapshot copy nearest when making a mistake in the disaster recovery database;
The online daily record using the Production database and archive log in the disaster recovery database.
7. a kind of Data Recapture Unit, it is characterised in that including:
Replication module, for being stored in a disaster recovery database to the array data come from production host duplication on disaster tolerance main frame In;
Snapshot module, produces snapshot copy, and be stored in the disaster tolerance for the array data in the disaster recovery database In the snapshot database of main frame;
Acquisition module, for when the disaster recovery database makes a mistake, according to the error log of the disaster recovery database, is obtained Nearest snapshot copy when being made a mistake from the array data;Acquisition module includes:First acquisition submodule, for obtaining The online daily record of the disaster recovery database and the archive log come from the production host duplication;Second acquisition submodule, For according to the online daily record and the archive log, it is determined that nearest one fast when being made a mistake from the disaster recovery database According to the corresponding disk of copy, and obtain from the disk snapshot copy;Wherein, the online daily record is the disaster tolerance number The daily record document being currently recording according to storehouse, the archive log be the disaster recovery database before daily record document;
Recovery module, for according to the snapshot copy, recovering to the disaster recovery database made a mistake.
8. Data Recapture Unit according to claim 7, it is characterised in that the snapshot module specifically for:To described The array data of disaster recovery database produces snapshot copy according to a prefixed time interval, and is stored in the snapshot of the disaster tolerance main frame Database.
9. Data Recapture Unit according to claim 8, it is characterised in that the snapshot module is further used for:To institute Copied next array data in the guard time window of disaster recovery database one is stated, snapshot copy is produced according to a prefixed time interval, And it is stored in the snapshot database of the disaster tolerance main frame;Wherein, during snapshot copy amount=guard time window/described default Between be spaced.
10. Data Recapture Unit according to claim 7, it is characterised in that the snapshot copy is the array data Incremental data snapshot copy.
11. the Data Recapture Unit according to claim any one of 7-10, it is characterised in that the snapshot module is also used In:Within the time that the snapshot copy is initialized, the rear end disk of the snapshot database is scanned, records described fast According to the copy disk to be preserved.
12. Data Recapture Unit according to claim 11, it is characterised in that the recovery module includes:
First recover submodule, for by it is described production main frame preservation original array data Production database online day Will, and made a mistake from the Production database to the time preserved from a snapshot copy nearest when making a mistake Archive log, copies to the disaster tolerance main frame;
Second recovers submodule, for the snapshot copy from when making a mistake recently to be returned into the disaster recovery database In;
Using submodule, for the online daily record in the disaster recovery database using the Production database and archive log.
CN201210594580.2A 2012-12-31 2012-12-31 A kind of data reconstruction method and device Active CN103914359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210594580.2A CN103914359B (en) 2012-12-31 2012-12-31 A kind of data reconstruction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210594580.2A CN103914359B (en) 2012-12-31 2012-12-31 A kind of data reconstruction method and device

Publications (2)

Publication Number Publication Date
CN103914359A CN103914359A (en) 2014-07-09
CN103914359B true CN103914359B (en) 2017-09-26

Family

ID=51040062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210594580.2A Active CN103914359B (en) 2012-12-31 2012-12-31 A kind of data reconstruction method and device

Country Status (1)

Country Link
CN (1) CN103914359B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133742A (en) * 2014-08-07 2014-11-05 浪潮(北京)电子信息产业有限公司 Data protection method and device
US9558078B2 (en) * 2014-10-28 2017-01-31 Microsoft Technology Licensing, Llc Point in time database restore from storage snapshots
CN105677673B (en) * 2014-11-20 2019-01-04 阿里巴巴集团控股有限公司 Method for processing business, apparatus and system
CN104517183A (en) * 2014-12-18 2015-04-15 深圳市燃气集团股份有限公司 Inventory processing method and system based on Oracle EBS system
CN105786642B (en) * 2014-12-22 2019-02-05 华为技术有限公司 Produce the remote disaster tolerance method of website, calamity for website and based on snapshot
CN104679614B (en) * 2015-03-31 2018-03-27 成都文武信息技术有限公司 A kind of Database Disaster Backup/Recover
CN105373448B (en) * 2015-10-27 2018-11-02 北京百度网讯科技有限公司 The restoration methods and system of fault data in database
CN105955843B (en) * 2016-04-21 2019-05-28 久盈世纪(北京)科技有限公司 A kind of method and apparatus for database recovery
CN106326041A (en) * 2016-08-31 2017-01-11 杭州沃趣科技股份有限公司 Second-level recovery method for database
CN109086169A (en) * 2018-07-19 2018-12-25 郑州云海信息技术有限公司 A kind of data reconstruction method, device and computer readable storage medium
CN110427281A (en) * 2019-06-28 2019-11-08 苏州浪潮智能科技有限公司 A kind of method, equipment and the medium of the fast quick-recovery of database
CN112214471B (en) * 2019-07-09 2024-04-05 浙江宇视科技有限公司 Database management method, device, computer readable storage medium and electronic equipment
CN110674502A (en) * 2019-09-19 2020-01-10 华为技术有限公司 Data detection method and device
CN111611108A (en) * 2020-05-21 2020-09-01 云和恩墨(北京)信息技术有限公司 Method and device for restoring virtual database
CN113868019B (en) * 2021-08-27 2023-11-03 苏州浪潮智能科技有限公司 Data processing method and device and related equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118509A (en) * 2007-09-12 2008-02-06 华为技术有限公司 Process, device and system for EMS memory data-base remote disaster tolerance

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602004026422D1 (en) * 2004-02-25 2010-05-20 Microsoft Corp DATABASE DATA RESTORATION SYSTEM AND METHOD
CN101316184B (en) * 2007-06-01 2010-09-15 华为技术有限公司 Disaster tolerance switching method, system and device
CN101650680A (en) * 2009-07-27 2010-02-17 浪潮电子信息产业股份有限公司 Continuous data protection method based on continuous snapshots
CN102012789B (en) * 2009-09-07 2014-03-12 云端容灾有限公司 Centralized management type backup and disaster recovery system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118509A (en) * 2007-09-12 2008-02-06 华为技术有限公司 Process, device and system for EMS memory data-base remote disaster tolerance

Also Published As

Publication number Publication date
CN103914359A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN103914359B (en) A kind of data reconstruction method and device
CN106570086B (en) Data migration system and data migration method
US8874508B1 (en) Systems and methods for enabling database disaster recovery using replicated volumes
TW522320B (en) Apparatus and method for recovering a failed database data set
US10565071B2 (en) Smart data replication recoverer
US8667033B1 (en) Persistent file system objects for management of databases
WO2018098972A1 (en) Log recovery method, storage device and storage node
CN105302667B (en) High reliability data backup and restoration methods based on aggregated structure
CN105956128B (en) A kind of adaptive coding storage fault-tolerance approach based on simple regeneration code
CN102368267A (en) Method for keeping consistency of copies in distributed system
CN101739313A (en) Method for protecting and restoring continuous data
CN102819615A (en) Database continuous data protection method based on application snapshot
CN102722584B (en) Data storage system and method
CN107678883A (en) A kind of cluster recovery method and apparatus based on storage system
CN104461773A (en) Backup deduplication method of virtual machine
CN104021200A (en) Data synchronizing method and device of database
CN104199963A (en) Method and device for HBase data backup and recovery
CN103207916B (en) The method and apparatus of metadata processing
CN106155838A (en) A kind of database back-up data restoration methods and device
US8818943B1 (en) Mirror resynchronization of fixed page length tables for better repair time to high availability in databases
CN103019626A (en) Storage system, method and device for controlling cluster metadata
US20220413971A1 (en) System and Method for Blockchain Based Backup and Recovery
US8938429B1 (en) Resynchronization of nonactive and active segments
CN106294013B (en) A kind of different data disaster tolerance method and systems backed up between domain
CN104978241A (en) Data recovery method and apparatus for COW type file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant