CN101937378B - Method for carrying out back-up protection on data of storage equipment and computer system - Google Patents
Method for carrying out back-up protection on data of storage equipment and computer system Download PDFInfo
- Publication number
- CN101937378B CN101937378B CN200910088072.5A CN200910088072A CN101937378B CN 101937378 B CN101937378 B CN 101937378B CN 200910088072 A CN200910088072 A CN 200910088072A CN 101937378 B CN101937378 B CN 101937378B
- Authority
- CN
- China
- Prior art keywords
- storage unit
- data
- time
- write operation
- operation information
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method for carrying out back-up protection on the data of storage equipment and a computer system. The method comprises the following steps of: obtaining a write operation command of at least one client operation system for a first storage unit; recording the first time for obtaining the write operation command; carrying out write operation on the first storage unit according to the write operation command, wherein the write operation is used for writing first data at the first address of the first storage unit; and writing the operation information corresponding to the first time and the write operation command onto a second storage unit, wherein the operation information comprises the first address of the first storage unit corresponding to the write operation command and the first data corresponding to the write operation command. The method can realize continuous data back-up protection supporting the concurrency of multiple operation systems, without depending on the operation systems and third-party software.
Description
Technical field
The present invention relates to data backup resist technology field, be specifically related in a kind of computer system, the data of memory device be carried out method and the computer system of backup protection.
Background technology
In memory device (as hard disc of computer), the safety issue of data is more and more outstanding.Under current environment, various computer viruses and system invader may carry out malice to the data in hard disk and delete or revise, and meanwhile, user also may be because of maloperation, the destruction that causes data file.Therefore, need to carry out backup protection to the data in memory device, so that recover data damaged or that delete in needs.
The scheme that prior art is carried out data backup protection to the memory device in computing machine has:
1) use the hard disk backup software such as Ghost, backup in hard disk system partitioning is whole.The shortcoming of this scheme is: need to use third party software; Can not carry out lasting data backup protection to data; Each backup all needs whole system subregion to back up, and repeatedly backs up later Backup Data and will take very large disk space.
2) utilize incremental backup software, the BACKUP TIME point arranging according to user, gets off the data backup changing in hard disk.This scheme need to be used third party software equally, and needs the incremental backup of doing of user's active.Each backup all needs user first to restart computing machine, then does incremental backup, therefore cannot accomplish the real time data protection that granularity is less.
Above-mentioned two schemes has following common shortcoming: all can not realize lasting data protection; By the third-party software operating in operating system, realize data backup protection, so data backup depends on operating system; While moving a plurality of operating system in computing machine, cannot realize data backup protection to a plurality of operating system simultaneously simultaneously.
Summary of the invention
Embodiment of the present invention technical matters to be solved is to provide method and the computer system of in a kind of computer system, the data of memory device being carried out backup protection, has realized and has not relied on lasting data backup protection operating system and third party software, that support multiple operating system is parallel.
For solving the problems of the technologies described above, the embodiment of the present invention provides scheme as follows:
A kind of method of the data of memory device being carried out to backup protection; described method is applied to one and comprises in the computer system of at least one client operating system, the first storage unit and virtual machine manager; wherein; described virtual manager is connected with described the first storage unit; described at least one client operating system operates on described virtual machine manager; it is characterized in that, described method comprises:
Obtain the write operation order of described at least one client operating system to described the first storage unit;
Record obtains the very first time of described write operation order;
According to described write operation order, described the first storage unit is carried out to write operation, described write operation is for locating to write the first data in the first address in described the first storage unit;
The described very first time and the corresponding operation information of described write operation order are write in the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order.
Preferably, in said method, before obtaining described write operation order, described method also comprises: described the first storage unit is carried out to back-up processing, obtain original backup data; Described original backup data are kept in described the second storage unit.
Preferably, in said method, after receiving the data recovery order of described the first storage unit, described method also comprises:
According to described original backup data, described the first storage unit is carried out to data recovery, recover the raw data in described the first storage unit;
According to described data, recover some release time of order indication, in a plurality of described operation information of preserving, select the first operation information from described the second storage unit, the described very first time that described the first operation information is corresponding is not later than described release time of point;
According to described the first operation information sequencing of the corresponding described very first time, successively according to described the first address in the first operation information described in each and described the first data, to recovering described first storage unit of described raw data, carry out write operation.
Preferably, in said method, also comprise:
According to the sequencing of the described very first time, a plurality of described operation informations are combined into a record block, and preserve writing time corresponding to described record block, be the very first time corresponding to last operation information in described record block described writing time, and the difference of the described very first time that described in first in described record block, operation information is corresponding and the described very first time that described in last, operation information is corresponding is no more than predetermined time span.
Preferably, in said method, after receiving the data recovery order of described the first storage unit, described method also comprises:
According to described original backup data, described the first storage unit is carried out to data recovery, recover the raw data in described the first storage unit;
According to described data, recover some release time of order indication, in the described record block from described the second storage unit, select the first record block, wherein, described the first record block is not later than described release time of point corresponding described writing time;
According to described the first record block sequencing of corresponding described writing time, successively according to the described operation information in the first record block described in each, to recovering described first storage unit of described raw data, carry out write operation.
Preferably, in said method, the shared storage space of described record block is no more than predetermined value.
Preferably, in said method, described be combined into a record block after, described method also comprises: delete in described record block the described very first time corresponding to operation information described in each.
Preferably, in said method, described the first storage unit is the first hard disk, and described the second storage unit is the second hard disk, and described the first hard disk is independent mutually with described the second hard disk;
Or described the first storage unit and described the second storage unit are respectively storage area separate in same hard disk.
The embodiment of the present invention also provides a kind of computer system, comprising:
At least one client operating system;
The first storage unit;
Virtual machine manager, is connected with described the first storage unit, and described at least one client operating system operates on described virtual machine manager, and described virtual machine manager comprises:
Obtain module, for obtaining the write operation order of described at least one client operating system to described the first storage unit;
Logging modle, for recording the very first time that obtains described write operation order;
Execution module, for according to described write operation order, described the first storage unit being carried out to write operation, described write operation is for locating to write the first data in the first address in described the first storage unit;
The first backup module, for the described very first time and the corresponding operation information of described write operation order are write to the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order.
Preferably, in above-mentioned computer system, described virtual machine manager also comprises:
The second backup module, before obtaining described write operation order in described acquisition module, carries out back-up processing to described the first storage unit, obtains original backup data and is kept in described the second storage unit.
Preferably, in above-mentioned computer system, described virtual machine manager also comprises:
Recover order receiver module, for receiving, the data of described the first storage unit are recovered to order;
First recovers module, for receive described data at described receiver module, recovers, after order, according to described original backup data, described the first storage unit to be carried out to data recovery, recovers the raw data in described the first storage unit;
Select module, for recover some release time of order indication according to described data, in the described operation information of preserving from described the second storage unit, select the first operation information, the described very first time that described the first operation information is corresponding is not later than described release time of point;
Second recovers module, be used for according to described the first operation information sequencing of the corresponding described very first time, according to described the first address in the first operation information described in each and described the first data, to recovering described first storage unit of described raw data, carry out write operation successively.
Preferably, in above-mentioned computer system, described virtual machine manager also comprises:
Composite module, be used for according to the sequencing of the described very first time, a plurality of described operation informations are combined into a record block, and preserve writing time corresponding to described record block, be the described very first time corresponding to operation information described in last in described record block described writing time, and the described very first time that described in first in described record block, operation information is corresponding and the difference of the described very first time that described in last, operation information is corresponding are no more than predetermined time span.
Preferably, in above-mentioned computer system, described virtual machine manager also comprises:
Recover order receiver module, for receiving, the data of described the first storage unit are recovered to order;
First recovers module, for receive described data at described receiver module, recovers, after order, according to described original backup data, described the first storage unit to be carried out to data recovery, recovers the raw data in described the first storage unit;
Select module, for recover some release time of order indication according to described data, in described record block from described the second storage unit, select the first record block, wherein, described the first record block is not later than described release time of point corresponding described writing time;
Second recovers module, for according to described the first record block sequencing of corresponding described writing time, successively according to the described operation information in the first record block described in each, to recovering described first storage unit of described raw data, carries out write operation.
Preferably, in above-mentioned computer system, the shared storage space of described record block is no more than predetermined value.
Preferably, in above-mentioned computer system, described the first storage unit is the first hard disk, and described the second storage unit is the second hard disk, and described the first hard disk is independent mutually with described the second hard disk;
Or described the first storage unit and described the second storage unit are respectively storage area separate in same hard disk.
From the above, can find out; in the computer system that the embodiment of the present invention provides, the data of memory device are carried out method and the computer system of backup protection; utilize virtual machine manager can tackle the write operation order of all operations system; thereby without relying on third party software, realized client operating system duration data backup protections all in computer system.And, because the backup operation of the present embodiment is the write operation order that is synchronized with operating system, thereby can realize fine-grained, lasting data backup.The present embodiment, also by operation information is combined as to record block, has facilitated the management of data backup restoration; By the very first time corresponding to each operation information in deletion record piece, saved the storage space of the second storage unit.
Accompanying drawing explanation
Fig. 1 carries out the process flow diagram of the method for backup protection to the data of memory device described in the embodiment of the present invention 1;
Fig. 2 is the structural representation of computer system described in the embodiment of the present invention 1;
Fig. 3 carries out the process flow diagram of the method for backup protection to the data of memory device described in the embodiment of the present invention 2;
Fig. 4 is the structural representation of computer system described in the embodiment of the present invention 2;
Fig. 5 is the structural representation of computer system described in the embodiment of the present invention 4.
Embodiment
For technical matters, technical scheme and advantage that the embodiment of the present invention will be solved are clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
< embodiment 1>
The method of the hard disc data backup protection described in the present embodiment in computer system; based on virtual machine technique; be applied in the computer system that client operating system is installed, described computer system includes the first hard disk, the second hard disk, virtual machine manager and operates at least one client operating system on described virtual machine manager.As shown in Figure 1, in computer system, the data of memory device are carried out the method for backup protection described in the present embodiment, specifically comprise the following steps:
Here, described raw data is to carry out original backup existing data on the first hard disk while processing, and it can be raw data to be carried out to the backup of 1: 1 that original backup is processed.Raw data back-up processing can be to carry out in advance in the described computer system Qian You producer of dispatching from the factory, and can be also by user, initiatively to be initiated in user uses the process of described computer system.
Here, obtain described write operation order, can be that virtual machine manager goes to tackle the write operation order to the first hard disk that client operating system sends on one's own initiative, can be also to go passively to receive by virtual machine manager the write operation order to the first hard disk that client operating system sends.Because client operating system all needs through virtual machine manager the read-write operation of hard disk, therefore, in the present embodiment, by virtual machine manager, obtain the write operation order of any client operating system to the first hard disk.Can find out, this acquisition operation does not rely on any third party software being arranged in certain operating system.
Here, virtual machine manager, when described the first hard disk being carried out to write operation according to described write operation order, can synchronously be kept at operation information corresponding to this write operation order in described the second hard disk.Certainly, virtual machine manager can also first be cached described operation information, be kept in buffer area or internal memory, then, when described computer system free time or dormancy, again the operation information of buffer memory is written in the second hard disk, to save the operating resource of computer system, improves the operational efficiency of computer system.
Like this, through above-mentioned steps, each client operating system in computer system can be recorded in the second hard disk the relevant information of the write operation of the first hard disk.Original backup data in the second hard disk have been preserved the data of the first hard disk before certain time point, operation information in the second hard disk has been preserved the data situation on the first hard disk after above-mentioned time point, thereby has realized the full backup to the first hard disk.
From the above, can find out, because virtual machine manager can be tackled the write operation order of all operations system, the present embodiment does not rely on third party software, not only can be to the backup of being correlated with of certain specific operating system, and can back up the data of client operating systems all in computer system.And, because the backup operation of the present embodiment is the write operation order that is synchronized with operating system, thereby can realize fine-grained, lasting data backup.
After above-mentioned steps 14, if user wants the first hard disk to carry out data recovery, can in the restarting process of computer system, input the data of the first hard disk are recovered to order, indication wishes to return to which time point (being some release time).Also can the described very first time corresponding to all operations information of preserving in the second hard disk all be printed by described computer system, by user, therefrom select concrete some release time.When the first hard disk being carried out to data recovery, the present embodiment can also comprise the following steps after above-mentioned steps 14:
By above-mentioned steps 15, first recover the raw data in the first hard disk; By step 16~17, according to the first operation information, the data to the first hard disk at original backup time point and between putting described release time are recovered, thereby the data on the first hard disk are returned to the state of putting described release time again.
It is to be noted, in the present embodiment, be to take first, second hard disk to describe as example, the first hard disk and the second hard disk can be two physical hard disks independently in described computer system, the second hard disk can also be arranged on the independent hard disk outside described computer system, for example be arranged on a hard disk in home server network, or a hard disk of internet far-end.The present embodiment can also be applied under the environment that only has a physical hard disk, now, this part physical hard disk can be marked off at least two separate storage unit, all client operating systems are arranged in one of them storage unit, described original backup data and described operation information are all kept in another storage unit in this physical hard disk.
Method based on above-mentioned hard disc data backup protection, the present embodiment also correspondingly provides a kind of computer system, and as shown in Figure 2, this computer system comprises:
At least one client operating system;
The first storage unit;
The second storage unit;
Virtual machine manager, is connected with described the first storage unit, and described at least one client operating system operates on described virtual machine manager, and described virtual machine manager comprises:
Obtain module, for obtaining the write operation order of described at least one client operating system to described the first storage unit;
Logging modle, for recording the very first time that obtains described write operation order;
Execution module, for according to described write operation order, described the first storage unit being carried out to write operation, described write operation is for locating to write the first data in the first address in described the first storage unit;
The first backup module, for the described very first time and the corresponding operation information of described write operation order are write to the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order;
The second backup module, before obtaining described write operation order in described acquisition module, carries out back-up processing to described the first storage unit, obtains original backup data and is kept in described the second storage unit;
Recover order receiver module, for receiving, the data of described the first storage unit are recovered to order;
First recovers module, for receive described data at described receiver module, recovers, after order, according to described original backup data, described the first storage unit to be carried out to data recovery, recovers the raw data in described the first storage unit;
Select module, for recover some release time of order indication according to described data, in the described operation information of preserving from described the second storage unit, select the first operation information, the described very first time that described the first operation information is corresponding is not later than described release time of point;
Second recovers module, be used for according to described the first operation information sequencing of the corresponding described very first time, according to described the first address in the first operation information described in each and described the first data, to recovering described first storage unit of described raw data, carry out write operation successively.
In Fig. 2, described the second storage unit belongs to described computer system.In the present embodiment, described the second storage unit can also be other memory device outside described computer system.
< embodiment 2>
Because the write operation of client operating system may be very frequent, therefore above-described embodiment 1 may be preserved a large amount of operation informations in the second hard disk, for convenient management, the present embodiment further combines these operation informations, operation information by predetermined span in the time is combined, form a record block, and carry out data recovery based on record block.The very first time corresponding to each operation information in all right deletion record piece of the present embodiment, to save the storage space of the second hard disk.
Described in the present embodiment, in computer system, the data of memory device are carried out the method for backup protection, specifically comprise the following steps:
Here, can also be the very first time corresponding to first operation information in described record block described writing time.In order to save the storage space of the second hard disk, in step 34, described be combined into a record block after, can also delete the described very first time corresponding to each operation information in described record block.
Because write operation may be very frequent within certain time period, the space that the record block that causes generating within this time period takies is very large, differs more with the size of other record block.For each record block size is approached as far as possible, be convenient to management, the present embodiment is in above-mentioned steps 34, can also set in advance a predetermined value, and stipulate that the shared storage space of record block can not surpass this predetermined value, thereby when carrying out combinations thereof processing, a large record block can be divided into a plurality of little record block.
After above-mentioned steps 34, if user wants the first hard disk to carry out data recovery, can input the data of the first hard disk are recovered to order, which time point indication wishes to return to.Also can the very first time corresponding to all operations information of preserving in the second hard disk be printed by computer system, by user, therefrom select concrete some release time.The first hard disk is being carried out to data recovery, and the present embodiment can also comprise the following steps after above-mentioned steps 34:
Method based on above-mentioned hard disc data backup protection, the present embodiment also correspondingly provides a kind of computer system, and as shown in Figure 4, this computer system comprises:
The first storage unit;
The second storage unit;
Virtual machine manager, is connected with described the first storage unit;
With at least one client operating system on the described virtual machine manager of operation;
Described Virtual Machine Manager implement body comprises:
Obtain module, for obtaining the write operation order of described at least one client operating system to described the first storage unit;
Logging modle, for recording the very first time that obtains described write operation order;
Execution module, for according to described write operation order, described the first storage unit being carried out to write operation, described write operation is for locating to write the first data in the first address in described the first storage unit;
The first backup module, for the described very first time and the corresponding operation information of described write operation order are write to the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order;
The second backup module, before obtaining described write operation order in described acquisition module, carries out back-up processing to described the first storage unit, obtains original backup data and is kept in described the second storage unit;
Composite module, be used for according to the sequencing of the described very first time, a plurality of described operation informations are combined into a record block, and preserve writing time corresponding to described record block, be the described very first time corresponding to operation information described in last in described record block described writing time, and the described very first time that described in first in described record block, operation information is corresponding and the difference of the described very first time that described in last, operation information is corresponding are no more than predetermined time span; Preferably, the shared storage space of above-mentioned record block is no more than predetermined value;
Recover order receiver module, for receiving, the data of described the first storage unit are recovered to order;
First recovers module, for receive described data at described receiver module, recovers, after order, according to described original backup data, described the first storage unit to be carried out to data recovery, recovers the raw data in described the first storage unit;
Select module, for recover some release time of order indication according to described data, in described record block from described the second storage unit, select the first record block, wherein, described the first record block is not later than described release time of point corresponding described writing time;
Second recovers module, for according to described the first record block sequencing of corresponding described writing time, successively according to the described operation information in the first record block described in each, to recovering described first storage unit of described raw data, carries out write operation.
< embodiment 3>
The method of the hard disc data backup protection described in the present embodiment in computer system; applied environment is identical with embodiment 1; specifically be applied in the computer system that client operating system is installed, described computer system includes the first storage unit, the second storage unit, virtual machine manager and operates at least one client operating system on described virtual machine manager.Described in the present embodiment, in computer system, the data of memory device are carried out the method for backup protection, specifically comprise the following steps:
Step 51, obtain the write operation order of described at least one client operating system to described the first storage unit, and record obtains the very first time of described write operation order;
Step 52, judges the raw data backup of whether preserving described the first storage unit in described the second storage unit: if so, enter step 54; Otherwise, enter step 53;
Step 53, carries out raw data back-up processing to the raw data of the first hard disk, generates original backup data and is kept in described the second hard disk, then enters step 54;
Step 54, carries out write operation according to described write operation order to described the first storage unit, and described write operation is for locating to write the first data in the first address in described the first storage unit;
Step 55, the described very first time and the corresponding operation information of described write operation order are write in the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order.
After above-mentioned steps 55, if want the first hard disk to carry out data recovery, the present embodiment can also comprise the following steps:
Step 56, carries out data recovery according to described original backup data to described the first hard disk, recovers the raw data in described the first hard disk.
Step 57, recovers some release time of order indication according to described data, in the described operation information of preserving, select the first operation information from described the second hard disk, and the described very first time that described the first operation information is corresponding is not later than described release time of point.
Step 58, according to described the first operation information sequencing of the corresponding described very first time, according to described the first address in the first operation information described in each and described the first data, to recovering described first hard disk of described raw data, carry out write operation successively.
< embodiment 4>
The present embodiment provides a kind of computer system, and as shown in Figure 5, this computer system comprises:
The first storage unit;
Virtual machine manager, is connected with described the first storage unit; Described virtual machine manager is also connected with the second storage unit of described computer system outside;
Operate at least one client operating system on described virtual machine manager;
Described virtual machine manager comprises:
Obtain module, for obtaining the write operation order of described at least one client operating system to described the first storage unit;
Logging modle, for recording the very first time that obtains described write operation order;
Execution module, for according to described write operation order, described the first storage unit being carried out to write operation, described write operation is for locating to write the first data in the first address in described the first storage unit;
The first backup module, for the described very first time and the corresponding operation information of described write operation order are write to the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order;
The second backup module, before obtaining described write operation order in described acquisition module, carries out back-up processing to described the first storage unit, obtains original backup data and is kept in described the second storage unit;
Recover order receiver module, for receiving, the data of described the first storage unit are recovered to order;
First recovers module, for receive described data at described receiver module, recovers, after order, according to described original backup data, described the first storage unit to be carried out to data recovery, recovers the raw data in described the first storage unit;
Select module, for recover some release time of order indication according to described data, in the described operation information of preserving from described the second storage unit, select the first operation information, the described very first time that described the first operation information is corresponding is not later than described release time of point;
Second recovers module, be used for according to described the first operation information sequencing of the corresponding described very first time, according to described the first address in the first operation information described in each and described the first data, to recovering described first storage unit of described raw data, carry out write operation successively.
In the present embodiment, described execution module, described the first backup module and described the second backup module can integrate.
In sum; method and the computer system of hard disc data backup protection described in the embodiment of the present invention; by virtual machine manager, client operating system is synchronized in the second hard disk the write operation of the first hard disk, thereby realized, does not rely on third party software, do not rely on duration data backup protection operating system, that multiple operating system is parallel.
The above is only embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (13)
1. a method of the data of memory device being carried out to backup protection; described method is applied to one and comprises in the computer system of at least one client operating system, the first storage unit and virtual machine manager; wherein; described virtual manager is connected with described the first storage unit; described at least one client operating system operates on described virtual machine manager; it is characterized in that, described method comprises:
Described virtual machine manager obtains the write operation order to described the first storage unit of all client operating systems of being arranged in the first storage unit;
Described virtual machine manager record obtains the very first time of described write operation order;
Described virtual machine manager carries out write operation according to described write operation order to described the first storage unit, and described write operation is for locating to write the first data in the first address in described the first storage unit;
Described virtual machine manager writes the described very first time and the corresponding operation information of described write operation order in the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order;
Described the first storage unit is the first hard disk, and described the second storage unit is the second hard disk, and described the first hard disk is independent mutually with described the second hard disk; Or described the first storage unit and described the second storage unit are respectively storage area separate in same hard disk.
2. the method for claim 1, is characterized in that, before the described write operation order of described acquisition, also comprises: described the first storage unit is carried out to back-up processing, obtain original backup data; Described original backup data are kept in described the second storage unit.
3. method as claimed in claim 2, is characterized in that, after receiving the data recovery order of described the first storage unit, described method also comprises:
According to described original backup data, described the first storage unit is carried out to data recovery, recover the raw data in described the first storage unit;
According to described data, recover some release time of order indication, in a plurality of described operation information of preserving, select the first operation information from described the second storage unit, the described very first time that described the first operation information is corresponding is not later than described release time of point;
According to described the first operation information sequencing of the corresponding described very first time, successively according to described the first address in the first operation information described in each and described the first data, to recovering described first storage unit of described raw data, carry out write operation.
4. method as claimed in claim 2, is characterized in that, also comprises:
According to the sequencing of the described very first time, a plurality of described operation informations are combined into a record block, and preserve writing time corresponding to described record block, be the very first time corresponding to last operation information in described record block described writing time, and the difference of the described very first time that described in first in described record block, operation information is corresponding and the described very first time that described in last, operation information is corresponding is no more than predetermined time span.
5. method as claimed in claim 4, is characterized in that, after receiving the data recovery order of described the first storage unit, described method also comprises:
According to described original backup data, described the first storage unit is carried out to data recovery, recover the raw data in described the first storage unit;
According to described data, recover some release time of order indication, in the described record block from described the second storage unit, select the first record block, wherein, described the first record block is not later than described release time of point corresponding described writing time;
According to described the first record block sequencing of corresponding described writing time, successively according to the described operation information in the first record block described in each, to recovering described first storage unit of described raw data, carry out write operation.
6. method as claimed in claim 5, is characterized in that, the shared storage space of described record block is no more than predetermined value.
7. method as claimed in claim 5, is characterized in that, described be combined into a record block after, described method also comprises: delete in described record block the described very first time corresponding to operation information described in each.
8. a computer system, is characterized in that, comprising:
At least one client operating system;
The first storage unit;
Virtual machine manager, is connected with described the first storage unit, and described at least one client operating system operates on described virtual machine manager, and described virtual machine manager comprises:
Obtain module, for obtaining the write operation order to described the first storage unit of all client operating systems of being arranged in the first storage unit;
Logging modle, for recording the very first time that obtains described write operation order;
Execution module, for according to described write operation order, described the first storage unit being carried out to write operation, described write operation is for locating to write the first data in the first address in described the first storage unit;
The first backup module, for the described very first time and the corresponding operation information of described write operation order are write to the second storage unit, wherein, described operation information comprises described the first address and described first data corresponding to described write operation order of corresponding described the first storage unit of described write operation order;
Described the first storage unit is the first hard disk, and described the second storage unit is the second hard disk, and described the first hard disk is independent mutually with described the second hard disk; Or described the first storage unit and described the second storage unit are respectively storage area separate in same hard disk.
9. computer system as claimed in claim 8, is characterized in that, described virtual machine manager also comprises:
The second backup module, before obtaining described write operation order in described acquisition module, carries out back-up processing to described the first storage unit, obtains original backup data and is kept in described the second storage unit.
10. computer system as claimed in claim 9, is characterized in that, described virtual machine manager also comprises:
Recover order receiver module, for receiving, the data of described the first storage unit are recovered to order;
First recovers module, for receive described data at described receiver module, recovers, after order, according to described original backup data, described the first storage unit to be carried out to data recovery, recovers the raw data in described the first storage unit;
Select module, for recover some release time of order indication according to described data, in a plurality of described operation information of preserving from described the second storage unit, select the first operation information, the described very first time that described the first operation information is corresponding is not later than described release time of point;
Second recovers module, be used for according to described the first operation information sequencing of the corresponding described very first time, according to described the first address in the first operation information described in each and described the first data, to recovering described first storage unit of described raw data, carry out write operation successively.
11. computer systems as claimed in claim 9, is characterized in that, described virtual machine manager also comprises:
Composite module, be used for according to the sequencing of the described very first time, a plurality of described operation informations are combined into a record block, and preserve writing time corresponding to described record block, be the described very first time corresponding to operation information described in last in described record block described writing time, and the described very first time that described in first in described record block, operation information is corresponding and the difference of the described very first time that described in last, operation information is corresponding are no more than predetermined time span.
12. computer systems as claimed in claim 11, is characterized in that, described virtual machine manager also comprises:
Recover order receiver module, for receiving, the data of described the first storage unit are recovered to order;
First recovers module, for receive described data at described receiver module, recovers, after order, according to described original backup data, described the first storage unit to be carried out to data recovery, recovers the raw data in described the first storage unit;
Select module, for recover some release time of order indication according to described data, in described record block from described the second storage unit, select the first record block, wherein, described the first record block is not later than described release time of point corresponding described writing time;
Second recovers module, for according to described the first record block sequencing of corresponding described writing time, successively according to the described operation information in the first record block described in each, to recovering described first storage unit of described raw data, carries out write operation.
13. computer systems as claimed in claim 12, is characterized in that, the described record shared storage space of determining is no more than predetermined value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910088072.5A CN101937378B (en) | 2009-07-01 | 2009-07-01 | Method for carrying out back-up protection on data of storage equipment and computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910088072.5A CN101937378B (en) | 2009-07-01 | 2009-07-01 | Method for carrying out back-up protection on data of storage equipment and computer system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101937378A CN101937378A (en) | 2011-01-05 |
CN101937378B true CN101937378B (en) | 2014-04-02 |
Family
ID=43390720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910088072.5A Active CN101937378B (en) | 2009-07-01 | 2009-07-01 | Method for carrying out back-up protection on data of storage equipment and computer system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101937378B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544077B (en) * | 2012-07-17 | 2016-12-07 | 华为技术有限公司 | Data processing method and device, shared storage device |
CN102914964B (en) * | 2012-09-07 | 2015-05-13 | 三一重工股份有限公司 | Engineering machinery, and controller, host and data backup system thereof |
US9652178B2 (en) * | 2013-09-10 | 2017-05-16 | Veritas Technologies | Systems and methods for protecting virtual machine data |
CN105335255B (en) * | 2015-12-10 | 2018-07-20 | 上海数腾软件科技股份有限公司 | The system and method for the fast quick-recovery of realization business |
CN107273051B (en) * | 2017-05-15 | 2018-07-03 | 北京华云网际科技有限公司 | The reading/writing method and device of I/O data |
CN107832349B (en) * | 2017-10-18 | 2021-06-22 | 金蝶软件(中国)有限公司 | Business object management method and information management system |
CN109254873B (en) * | 2018-08-15 | 2022-04-22 | 华为云计算技术有限公司 | Data backup method, related device and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101149693A (en) * | 2007-11-02 | 2008-03-26 | 西安三茗科技有限责任公司 | Computer hard disk data continuous time point storage and recovery method |
CN101201765A (en) * | 2006-12-13 | 2008-06-18 | 深圳市朗科科技有限公司 | Device and method for data backup |
CN101436151A (en) * | 2008-12-01 | 2009-05-20 | 成都索贝数码科技股份有限公司 | Data real time backup method and system based on file system |
-
2009
- 2009-07-01 CN CN200910088072.5A patent/CN101937378B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201765A (en) * | 2006-12-13 | 2008-06-18 | 深圳市朗科科技有限公司 | Device and method for data backup |
CN101149693A (en) * | 2007-11-02 | 2008-03-26 | 西安三茗科技有限责任公司 | Computer hard disk data continuous time point storage and recovery method |
CN101436151A (en) * | 2008-12-01 | 2009-05-20 | 成都索贝数码科技股份有限公司 | Data real time backup method and system based on file system |
Also Published As
Publication number | Publication date |
---|---|
CN101937378A (en) | 2011-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101937378B (en) | Method for carrying out back-up protection on data of storage equipment and computer system | |
US9389800B1 (en) | Synthesizing virtual machine disk backups | |
CN103761190B (en) | Data processing method and apparatus | |
US8600945B1 (en) | Continuous data replication | |
CN104040481B (en) | Method and system for merging, storing and retrieving incremental backup data | |
US7350043B2 (en) | Continuous data protection of block-level volumes | |
EP2849048B1 (en) | Data sending method, data receiving method and storage device | |
CN100470490C (en) | Method, system, and article of manufacture for consistent copying of storage volumes | |
CN100498796C (en) | Logic log generation method, database backup/ restoration method and system | |
CN101755257B (en) | Managing the copying of writes from primary storages to secondary storages across different networks | |
US20070271428A1 (en) | Method and apparatus of continuous data backup and access using virtual machines | |
US20060010300A1 (en) | Remote copy system maintaining consistency | |
CN101808127B (en) | Data backup method, system and server | |
CN102981931A (en) | Backup method and device for virtual machine | |
JP2008171387A (en) | Backup system with continuous data protection | |
JP2003536157A (en) | Data storage systems and processes | |
US7571350B2 (en) | Storage system and recovery method thereof | |
CN106528338B (en) | Remote data copying method, storage device and storage system | |
US20110137874A1 (en) | Methods to Minimize Communication in a Cluster Database System | |
CN103221925A (en) | Data processing method and storage equipment | |
CN103037004A (en) | Implement method and device of cloud storage system operation | |
CN106294007B (en) | Data recovery method and device | |
CN108762984B (en) | Method and device for continuous data backup | |
CN104077380A (en) | Method and device for deleting duplicated data and system | |
CN106648993B (en) | The method and device of consistency group snapshot management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |