CN101419564A - Method and device for recovering data by employing snapshot - Google Patents

Method and device for recovering data by employing snapshot Download PDF

Info

Publication number
CN101419564A
CN101419564A CNA2008102393601A CN200810239360A CN101419564A CN 101419564 A CN101419564 A CN 101419564A CN A2008102393601 A CNA2008102393601 A CN A2008102393601A CN 200810239360 A CN200810239360 A CN 200810239360A CN 101419564 A CN101419564 A CN 101419564A
Authority
CN
China
Prior art keywords
snapshot
data
significant end
current
moment
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.)
Granted
Application number
CNA2008102393601A
Other languages
Chinese (zh)
Other versions
CN101419564B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2008102393601A priority Critical patent/CN101419564B/en
Publication of CN101419564A publication Critical patent/CN101419564A/en
Application granted granted Critical
Publication of CN101419564B publication Critical patent/CN101419564B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for recovering data by snapshot and a device thereof. In the method, after conventional snapshots at an extreme end are written in a corresponding resource block of a data volume, the used conventional snapshots are deleted in time, and during the subsequent data recovery process, every time a rollback operation is executed by the conventional snapshots, i.e., after the data in the conventional snapshots are written in the corresponding resource block of the data volume, the used conventional snapshots are deleted in time and a rollback snapshot is established accordingly to store the replaced data in the resource block of the data volume so as to ensure that the state which is rolled back can be recovered again. The method and the device can help occupy less snapshot resources and save more snapshot volume space.

Description

A kind of method and apparatus that adopts the snapshot restore data
Technical field
The present invention relates to the data protection technical field, particularly a kind of method and apparatus that adopts the snapshot restore data.
Background technology
Along with the widespread use of information science technology and constantly development, it is more and more important that data protection becomes.In order to carry out the backup of data fast under the prerequisite of not interrupting host service, snapping technique arises at the historic moment.Usually the resource that will read and write is called book, realizes snapshot and the resource that increases is called snapped volume, in snapshot processes, is that unit carries out data processing usually with the data block.
The principle of the core of initial snapshot mode is to write copy (COFW for the first time, Copy On FirstWrite), put sometime set up snapshot for book after, when carrying out write operation on to this book, if the data of carrying out in the Resource Block of write operation are to change for the first time, the data storage of the current storage of Resource Block that then will carry out write operation earlier and is set up the corresponding relation between the Resource Block in the book of each data and its source in the snapped volume in snapped volume; And then this Resource Block in book writes data.In the process that after this writes data,, then directly write data and not to snapped volume storage data to Resource Block if the data of carrying out in the Resource Block of write operation are not to change for the first time.When accident takes place, for example virus attack or human operational error cause corrupted data professional unavailable and need recover the data in the book time, the data block in the snapped volume can be write again the Resource Block of its corresponding book.With Fig. 1 is example, "/" alphabetical identifying resource piece before among the figure, and the data of storing in this Resource Block of "/" Digital ID afterwards, for example, storage data 1 among the A/1 identifying resource piece A.Suppose and to write data to Resource Block A, E and the I in the book, if then the data in these Resource Block all are to change for the first time, then earlier with the data storage among Resource Block A, E and the I in snapped volume, promptly generate snapshot, and set up corresponding relation between each data and the Resource Block, in Resource Block A, the E of book and I, write new data again; If once more Resource Block A, E or I are write data later on, regeneration snapshot data of writing direct not then.Need restore data if accident takes place, then the Resource Block that each data block in the snapped volume is write in its corresponding book gets final product.
But,, therefore, when carrying out the data recovery, only book can be returned to original situation owing to only store the data that change for the first time in the snapped volume of initial snapshot mode.In view of also there being another snapshot mode in this situation prior art, create a snapshot at interval every regular time, the moment of the snapshot of this establishment when creating identifies, and the mode of COFW is all adopted in the storage of data in each snapshot, until next snapshot creation.As shown in Figure 2, suppose every snapshot of an establishment in hour, at first in the time of 9, in snapped volume, create one with 9 snapshots as sign, data are twisted in the data that change 9 o'clock to the 10 o'clock first time stores, between supposing at this moment the section in to book Resource Block A, data 10 have been write among E and the I respectively, 11 and 12, storage resources piece A in 9 snapshots of snapped volume then, the data 1 of E and I, 5 and 9, and set up corresponding relation between the book Resource Block in each data and its source, then with data 10,11 and 12 write book Resource Block A, E and I; Create one again with 10 snapshots at 10 as sign, data are twisted in the data that change 10 o'clock to the 11 o'clock first time stores, if in book Resource Block D and G, writing data 13 and 14 between 10 o'clock to 11 o'clock respectively, then in 10 snapshots of snapped volume, store the data 4 and 7 among book Resource Block D and the G, and set up corresponding relation between the book Resource Block in each data and its source, then data 13 and 14 are write book Resource Block D and G.At this moment, 9 snapshots and 10 snapshots in snapped volume, have been formed.If in book Resource Block B, C and D, writing data 15,16 and 17 between 11 o'clock to 12 o'clock respectively, then elder generation in 11 snapshots, is writing data 15,16 and 17 with the data storage among book Resource Block B, C and the D respectively in book Resource Block B, C and D.And as shown in Figure 2, the snapshot of setting up is arranged with chain structure, and the snapshot of Jian Liing is arranged in the end of chain structure at last, and, exist a rollback pointer always to point to the snapshot of least significant end, i.e. rollback pointed comes 11 snapshots of snapped volume least significant end.
Need recover 9 data if emergency situations takes place between 11 and 12, then can earlier the data in 11 snapshots be write in the corresponding book Resource Block; Situation when utilizing 10 conventional snapshot restores to 10 again, the data that are about in 10 conventional snapshots write in the corresponding book Resource Block, and i.e. 11 the conventional snapshot of the conventional snapshot that the data that book replaces are write least significant end; Situation when further utilizing 9 conventional snapshot restores to 9, the data that are about in 9 conventional snapshots write in the corresponding book Resource Block, and the data that book is substituted into are write 11 conventional snapshot.Adopt this mode data can be returned to the centre sometime, rather than must return to the original moment; But, adopt this mode in carrying out data recovery procedure, if the current time and the moment that will recover are not in the same time period, the data that then need to be replaced in the book still are stored in the snapshot of current slot correspondence, this part data has been carried out repeated storage, after returning to 9 situations among Fig. 2, the data in 9 snapshots and 10 snapshots also repeated storage in 11 snapshots, obviously, this mode has been wasted the storage space of snapped volume.
Summary of the invention
In view of this, the invention provides a kind of method and apparatus that adopts the snapshot restore data, so that save the space that takies snapped volume in the data recovery procedure.
A kind of method that adopts the snapshot restore data, after receiving the data recovery instruction that comprises the moment that will return to, carry out following steps:
A, will the described moment that will return to book in pairing moment of conventional snapshot of current least significant end compare, if the described moment that will return to is less than the pairing moment of conventional snapshot of current least significant end, then each data in the conventional snapshot of least significant end are write corresponding book Resource Block, and delete the conventional snapshot of this least significant end;
B, pairing moment of conventional snapshot of current least significant end in the described moment that will return to and the book is compared, if the described moment that will return to is less than the conventional snapshot of current least significant end, then execution in step C; If the described moment that will return to equals the conventional snapshot of current least significant end, then execution in step D;
C, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of current least significant end, go to execution in step B;
D, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, and will carry out that the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment after the deletion action, create a conventional snapshot and identify with the moment that will return to.
A kind of device that adopts the snapshot restore data, this device comprises:
First comparing unit, after being used to receive the data recovery instruction that comprises the moment that will return to, the pairing moment of conventional snapshot of current least significant end compares in the moment that will return to and the book, if the moment that returns to less than the pairing moment of conventional snapshot of current least significant end, then sends first to first processing unit and handles notice;
First processing unit, be used to receive first handle notice after, each data in the conventional snapshot of least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, and send first notice relatively to second comparing unit;
Second comparing unit, be used to receive first relatively the notice after, the pairing moment of conventional snapshot of current least significant end compares in the moment that will return to and the book, if the described moment that will return to less than the conventional snapshot of current least significant end, then sends second to second processing unit and handles notice; If the described moment that will return to equals the conventional snapshot of current least significant end, then send the 3rd and handle notice to the 3rd processing unit;
Second processing unit, after being used to receive the second processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of current least significant end, and relatively notify to described second comparing unit transmission first;
The 3rd processing unit, after being used to receive the 3rd processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, send related notice to first associative cell;
First associative cell, be used to receive related notice after, the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment, create a conventional snapshot and identify with the moment that will return to.
A kind of method of setting up the rollback snapshot, described rollback snapshot is used for being stored in the data that are replaced in the data recovery procedure book; This method comprises:
In the process of carrying out the data recovery, before data in the snapshot are write corresponding book Resource Block, if in the book Resource Block data that are replaced are had corresponding conventional snapshot constantly, then create a rollback snapshot, and identify constantly with the conventional snapshot of the data correspondence that is replaced, data in the conventional snapshot of current least significant end are write corresponding book Resource Block, and delete the conventional snapshot of current least significant end, stop up to data recovery procedure, the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment.
The method of the rollback snapshot restore data that a kind of said method is set up, this method comprises:
In data recovery procedure, when the moment that will recover during greater than pairing moment of the conventional snapshot of current least significant end, the data in the conventional snapshot of current least significant end are write corresponding book Resource Block after, delete the conventional snapshot of current least significant end;
Determine with rollback snapshot that the conventional snapshot of current least significant end is associated in the corresponding book Resource Block of each data; Create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, established data is rolled up data storage in the Resource Block in the conventional snapshot of creating, and each data in the rollback snapshot of determining are write in the book Resource Block of correspondence, delete described definite rollback snapshot.
As can be seen from the above technical solutions, when utilizing method and apparatus provided by the invention to carry out the data recovery, after the conventional snapshot with least significant end writes corresponding book Resource Block, can be in time with used conventional snapshot deletion, and in follow-up data rejuvenation, the conventional snapshot of every utilization carries out rolling back action, after being about to data in the conventional snapshot and writing corresponding book Resource Block, in time the used conventional snapshot of deletion and rollback snapshot of corresponding establishment are used for storing the data that replace in the book Resource Block, also can recover once more to guarantee the state that rollback is fallen.And mode of the prior art not only keeps conventional snapshot in carrying out data recovery procedure, data that can in the conventional snapshot of current slot correspondence, replace in the repeated storage book Resource Block also, and the present invention can delete corresponding conventional snapshot after setting up corresponding rollback snapshot immediately, can additionally not take the resource of snapped volume, obviously, the present invention can take less snapped volume resource with respect to method of the prior art in data recovery procedure, save the snapped volume space more.
Description of drawings
Fig. 1 is the synoptic diagram of initial snapping technique in the prior art;
Fig. 2 is the synoptic diagram of another kind of snapping technique in the prior art;
The detailed method process flow diagram that Fig. 3 provides for the embodiment of the invention;
The process synoptic diagram that writes data in the usual way that Fig. 4 provides for the embodiment of the invention;
Fig. 5 for the embodiment of the invention provide on Fig. 4 basis, return at 10 the time situation the process synoptic diagram;
Fig. 6 for the embodiment of the invention provide on Fig. 5 basis, return at 11 the time situation the process synoptic diagram;
The process synoptic diagram that on Fig. 5 basis, writes data in the usual way that Fig. 7 provides for the embodiment of the invention;
Fig. 8 for the embodiment of the invention provide on Fig. 7 basis, return at 11 the time situation the process synoptic diagram;
The structure drawing of device that Fig. 9 provides for the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Method provided by the invention is the improvement that the second way of the prior art is carried out, the mode that forms snapshot in carrying out normal write operation process is identical, the present invention's processing mode to snapshot in data recovery procedure is improved, increased another snapshot form, for to show differentiation, the snapshot that forms in the normal write operation process is called conventional snapshot, the snapshot that forms in the data recovery procedure is called the rollback snapshot.
Below in conjunction with specific embodiment method provided by the invention is described in detail.The detailed method process flow diagram that Fig. 3 provides for the embodiment of the invention.Among this embodiment, the normal method that adopts when book writes data is identical with second method of the prior art, promptly create a conventional snapshot every the regular hour, the moment of this routine snapshot when creating identifies, the mode of COFW is all adopted in the storage of data in each conventional snapshot, until the conventional snapshot creation of the next one, still suppose to create a conventional snapshot every one hour, the process of the snapshot that forms from 9 o'clock to 12 o'clock is as shown in Figure 4.Following data restore operation can be as shown in Figure 3, and after the data that receive the moment that will return to that comprises were recovered instruction, the method among this embodiment can may further comprise the steps:
Step 301: the conventional snapshot institute of current least significant end compares in the corresponding moment in the moment that will return to and the snapped volume; If the moment that returns to less than the pairing moment of conventional snapshot of least significant end, then execution in step 302; If the moment that returns to equals the pairing moment of conventional snapshot of least significant end, then execution in step 310; If the moment that returns to, then execution in step 311 greater than the pairing moment of conventional snapshot of least significant end.
Step 302: each data in the conventional snapshot of least significant end are write corresponding book Resource Block, and delete the conventional snapshot of this least significant end.
Step 303: the pairing moment of conventional snapshot of current least significant end compares in the moment that will recover and the snapped volume, if the moment of recovering less than the pairing moment of conventional snapshot of current least significant end in the snapped volume, then execution in step 304; If the moment of recovering equals the pairing moment of conventional snapshot of current least significant end in the snapped volume, then execution in step 305; If the moment of recovering, then execution in step 306 greater than the pairing moment of conventional snapshot of current least significant end in the snapped volume.
Step 304: determine the pairing book Resource Block of each data in the conventional snapshot of this least significant end; Create corresponding constantly sign of conventional snapshot institute of the above deletion of a rollback snapshot, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot that will determine write in the corresponding book Resource Block, delete the conventional snapshot that this is determined, go to execution in step 303.
After repeatedly circulate execution in step 303 and step 304, may delete a plurality of conventional snapshots and a plurality of rollback snapshots of corresponding establishment one by one, a plurality of rollback snapshots of creating also carry out chain type according to the order of creation-time to be arranged, and the rollback snapshot of Chuan Jianing is positioned at the least significant end of rollback snapshot chain at last.
Step 305: determine the pairing book Resource Block of each data in the conventional snapshot of this least significant end; Create corresponding constantly sign of conventional snapshot institute of the above deletion of a rollback snapshot, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot that will determine write in the corresponding book Resource Block, delete the conventional snapshot that this is determined, and the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment, create a conventional snapshot and identify process ends with the moment that will return to.
Step 306: determine the pairing book Resource Block of each data in the conventional snapshot of this least significant end; Create above deleted corresponding constantly sign of conventional snapshot institute of a rollback snapshot, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot that will determine write in the corresponding book Resource Block, delete the conventional snapshot that this is determined, and the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment.
Step 307: determine with rollback snapshot that the conventional snapshot of current least significant end is associated in the corresponding book Resource Block of each data; Create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, established data is rolled up data storage in the Resource Block in the conventional snapshot of creating, and each data in the rollback snapshot of determining are write in the book Resource Block of correspondence, delete the rollback snapshot that this is determined.
Step 308: whether the rollback snapshot of determining deletion exists next rollback snapshot, if there is no, then creates a conventional snapshot and identifies process ends with the moment that will return to; If exist, then execution in step 309.
Step 309: judge whether this next pairing moment of rollback snapshot is less than or equal to the moment that will recover, if, execution in step 307, otherwise, this rollback snapshot of determining is associated with the conventional snapshot of current least significant end, create a conventional snapshot and identify process ends with the moment that will return to.
Step 310: each data in the conventional snapshot of least significant end are write corresponding book Resource Block, process ends.
Step 311: each data in the conventional snapshot of least significant end are write corresponding book Resource Block, and delete the conventional snapshot of this least significant end, go to execution in step 307.
Give one example: under formed book situation shown in Figure 4, if the situation when the generation emergency situations need return at 10 with book between 12 o'clock in 11 o'clock, then can send one and comprise the data recovery instruction that will return at 10 to Data Recapture Unit, in step 301, determine the moment that to recover less than i.e. 11 points of moment of the conventional snapshot of the current least significant end of snapped volume, so execution in step 302, in step 302, i.e. each input in 11 the conventional snapshot of the conventional snapshot of least significant end is write corresponding book Resource Block B respectively, among C and the D, and delete this conventional snapshot of 11.At this moment, the rollback pointer becomes the conventional snapshot of 10 of sensings, and promptly the conventional snapshot of current least significant end becomes 10 points.
Then, continue execution in step 303,10 of 10 pairing moment of the conventional snapshot with current least significant end in the moment that will recover compare, and determine that the pairing moment of conventional snapshot of current least significant end in the moment that will recover and the snapped volume equates execution in step 305.Determine that the pairing book Resource Block of each data is D and G in this least significant end snapshot, create above deleted pairing moment of conventional snapshot of a rollback snapshot to identify that promptly identify at 11.The data storage of Resource Block D and G in the book in 11 the rollback snapshot of creating, delete 10 conventional snapshot, is that 9 conventional snapshot is associated with the conventional snapshot of 11 rollback snapshots and current least significant end.In order to keep the current data that normally write, therefore, create a conventional snapshot and identify with the moment that will return to, promptly create one 10 conventional snapshot, this conventional snapshot of 10 is for empty when just creating.The flow process that return to 10 dotted state this moment can finish, and its rejuvenation can be as shown in Figure 5.
If this moment is still between 11 o'clock to 12 o'clock, the situation of book was relatively good when the user found at 11, want to come back to 11 points, then can send one and comprise the data recovery instruction that will return at 11 to Data Recapture Unit, at this moment, determine that in step 301 moment that will return to is bigger than the pairing moment of conventional snapshot of current least significant end, execution in step 311, the conventional snapshot that work is terminal is that the data in 10 conventional snapshots write corresponding book Resource Block, because no datat still in hypothesis this moment 10 conventional snapshots, then do not write, directly delete this conventional snapshot of 10, go to execution in step 307.Determine that with the conventional snapshot of current least significant end be the corresponding book Resource Block of each data, i.e. D and G in the rollback snapshot that is associated of 9 conventional snapshot; Create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, promptly create one 10 conventional snapshot, data among book Resource Block D and the G 4 and 7 are stored in 10 conventional snapshot, again each data 13 and 14 in 11 the rollback snapshot are write the Resource Block D and the G of book, delete this rollback snapshot of 11.Continue execution in step 308, judge whether 11 rollback snapshot exists next rollback snapshot, do not exist among this embodiment, then create a conventional snapshot and identify, promptly create one 11 conventional snapshot, process ends with the moment that will return to.This data recovery procedure as shown in Figure 6.
If next rollback snapshot of 11 rollback snapshot is 12 rollback snapshot, and the moment that returns to is 12 points, then can judge next pairing moment of rollback snapshot in step 308 equals the moment that will recover, then utilize 12 rollback snapshot, continue to be recycled to step 307 and carry out recovery operation.
The method that above-mentioned data provided by the present invention are recovered can't influence the normal reading and writing data of book, can carry out the normal data read-write according to the scheme of prior art, give one example at this, suppose that it is after the situation shown in Figure 5 that user data returns at 10, no longer again, return to 11 situation, write but proceed the normal data of book, for example, still in 11 o'clock to 12 o'clock time period, to book Resource Block E, F and H will write data 18 respectively, 19 and 20, then according to mode of the prior art, earlier with book Resource Block E, data among F and the H are stored in earlier in 10 conventional snapshots, then to book Resource Block E, F and H write data 18 respectively, 19 and 20; In book Resource Block A and B, writing data 21 and 22 between 12 o'clock to 13 o'clock respectively, then earlier the data among book Resource Block A and the B are stored in earlier in 12 conventional snapshots of 12 establishments, in book Resource Block A and B, write data 21 and 22 then respectively.This process can be as shown in Figure 7.
If this moment, state when the user will return at 11, then can be according to the described flow performing of Fig. 3, implementation can utilize 10 conventional snapshot to make book return to 10 situation from the present situation earlier, utilize the situation of 11 the rollback snapshot restore to 11 related with 9 conventional snapshot existence again, its process as shown in Figure 8.Be specially: judge at first that in step 301 11 the pairing moment of conventional snapshot less than current least significant end of the moment that will recover are 12 points, execution in step 302, with the conventional snapshot of least significant end promptly each data in 12 the conventional snapshot write corresponding book Resource Block, and delete 12 conventional snapshot.Continue execution in step 303, after 10 of the pairing moment of the conventional snapshot of 11 continuation and current least significant end are compared, go to execution in step 306.Determine the pairing book Resource Block of each data E, F and H in 10 conventional snapshots, a deleted pairing moment of conventional snapshot identifies more than creating a rollback snapshot, i.e. 12 rollback snapshots, the data 18,19 and 20 that established data is rolled up among Resource Block E, F and the H are stored in 12 rollback snapshots, delete 10 conventional snapshots, 9 conventional snapshots and 12 rollback snapshots are associated.Execution in step 307, determine rollback snapshot with 9 spot correlations connection, if find that in step 307 the rollback snapshot related with 9 has two, i.e. 12 rollback snapshot and 11 s' rollback snapshot, then select wherein to be less than or equal to the rollback snapshot in the moment that will return to, in this example, promptly select 11 rollback snapshot, determine the book Resource Block of each data correspondence in 11 rollback snapshots, be Resource Block D and G, create one 10 conventional snapshot, with the data storage in the book Resource Block in 10 conventional snapshot, and the data among book Resource Block D and the G 4 and 7 are stored in 10 the conventional snapshot, each data in 11 rollback snapshots are write in the corresponding book Resource Block, delete 11 rollback snapshot, in step 308, judge not have next rollback snapshot, and create one 11 conventional snapshot, process ends.
What conventional snapshot and rollback snapshot took all is the resource of snapped volume, because just can carry out data when usually emergency situations taking place recovers, therefore, what store in the rollback snapshot may be problem data or gibberish, so, when the resource of snapped volume completely needs to discharge some snapshots, can at first select the rollback snapshot according to the sequencing of creating, creation-time rollback snapshot is early deleted the resource that discharges snapped volume, thereby guarantee the existence of conventional snapshot chain.The rollback snapshot deleted to adopt the automatic deletion of the rollback snapshot of top being carried out Overruning, also can adopt manual mode that the rollback snapshot of early creating is deleted.
From said method as can be seen, the present invention can set up and be used for being stored in the data that are replaced in the data recovery procedure book, be specially: in the process of carrying out the data recovery, before data in the snapshot are write corresponding book Resource Block, if in the book Resource Block data that are replaced are had corresponding conventional snapshot constantly, then create a rollback snapshot, and identify constantly with the conventional snapshot of the data correspondence that is replaced, data in the conventional snapshot of current least significant end are write corresponding book Resource Block, and delete the conventional snapshot of current least significant end, stop up to data recovery procedure, the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment.
And, can utilize the above-mentioned rollback snapshot restore data of foundation, in data recovery procedure, when the moment that will recover during greater than pairing moment of the conventional snapshot of current least significant end, after data in the conventional snapshot of current least significant end being write the book Resource Block of correspondence, delete the conventional snapshot of current least significant end; Determine with rollback snapshot that the conventional snapshot of current least significant end is associated in the corresponding book Resource Block of each data; Create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, established data is rolled up data storage in the Resource Block in the conventional snapshot of creating, and each data in the rollback snapshot of determining are write in the book Resource Block of correspondence, delete described definite rollback snapshot.
More than be the description that method provided by the present invention is carried out, below device provided by the invention be described in detail.The structure drawing of device that Fig. 9 provides for the embodiment of the invention, as shown in Figure 9, this device can comprise: first comparing unit 901, first processing unit 902, second comparing unit 903, second processing unit 904, the 3rd processing unit 905 and first associative cell 906.
First comparing unit 901, after being used to receive the data recovery instruction that comprises the moment that will return to, the pairing moment of conventional snapshot of current least significant end compares in the moment that will return to and the book, if the moment that returns to less than the pairing moment of conventional snapshot of current least significant end, then sends first to first processing unit 902 and handles notice.
First processing unit 902, be used to receive first handle notice after, each data in the conventional snapshot of least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, and send first notice relatively to second comparing unit 903.
Second comparing unit 903, be used to receive first relatively the notice after, the pairing moment of conventional snapshot of current least significant end compares in the moment that will return to and the book, if the described moment that will return to less than the conventional snapshot of current least significant end, then sends second to second processing unit 904 and handles notice; If the described moment that will return to equals the conventional snapshot of current least significant end, then send the 3rd and handle notice to the 3rd processing unit 905.
Second processing unit 904, after being used to receive the second processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of current least significant end, and relatively notify to 903 transmissions first of described second comparing unit.
The 3rd processing unit 905, after being used to receive the 3rd processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, send related notice to first associative cell 906.
First associative cell 906, be used to receive related notice after, the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment, create a conventional snapshot and identify with the moment that will return to.
Further, this device can also comprise: manages unit 907 everywhere.
First comparing unit 901 equals the pairing moment of conventional snapshot of current least significant end if also be used for determining the moment that will return to, and manages unit 907 everywhere to the and sends the reason notice everywhere.
The manages unit 907 everywhere, is used to receive the everywhere after the reason notice, and each data in the conventional snapshot of current least significant end are write corresponding book Resource Block.
In addition, this device can also comprise: the 5th processing unit 908, the 6th processing unit 909 and the 3rd comparing unit 910.
First comparing unit 901 if also be used for the conventional snapshot pairing moment of definite moment that will return to greater than current least significant end, send the 5th to the 5th processing unit 908 and handles notice.
The 5th processing unit 908, be used to receive the 5th handle notice after, each data in the conventional snapshot of least significant end are write corresponding book Resource Block, and after deleting the conventional snapshot of this least significant end, send the 6th to the 6th processing unit 909 and handle notice.
The 6th processing unit 909, after being used to receive the 6th processing notice, determine with rollback snapshot that the conventional snapshot of current least significant end is associated in the corresponding book Resource Block of each data, create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, established data is rolled up data storage in the Resource Block in the conventional snapshot of this establishment, and each data in the rollback snapshot of determining are write in the book Resource Block of correspondence, delete the rollback snapshot that this is determined, send second to the 3rd comparing unit 910 and relatively notify;
The 3rd comparing unit 910, be used to receive second relatively after the notice, determine next rollback snapshot of the rollback snapshot of deletion, judge whether this pairing moment of rollback snapshot of determining is less than or equal to the moment that will recover, if send the 6th to the 6th processing unit 909 and handle notice; If not, then send related notice to first associative cell 906.
More preferably, between the 6th processing unit and the 3rd comparing unit, also comprise: judgment processing unit 911, being used to receive second relatively notifies, whether the rollback snapshot of judging 909 deletions of the 6th processing unit exists next rollback snapshot, if then relatively notify and send to the 3rd comparing unit 910 with second; Otherwise creating a conventional snapshot identified with the moment that will recover.
Further, this device can also comprise: the 7th processing unit 912.
Second comparing unit 903 if can also be used for the conventional snapshot of definite moment that will return to greater than current least significant end, then sends the 7th to the 7th processing unit 912 and handles notice;
The 7th processing unit 912, after being used to receive the 7th processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in the rollback snapshot of this establishment, and each data in the conventional snapshot of current least significant end are write in the book Resource Block of correspondence, delete the conventional snapshot of current least significant end, and will carry out that the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment after this deletion action, send the 6th to the 6th processing unit 909 and handle notice.
In addition, after above-mentioned the 6th processing unit 909 receives the 6th processing notice, if the rollback snapshot number that is associated with the conventional snapshot of current least significant end is greater than 1, then from the rollback snapshot that is associated, select the corresponding rollback snapshot that is less than or equal to the moment that will return to constantly, and determine the book Resource Block of each data correspondence in the rollback snapshot of this selection.
This device can also comprise: conventional processing unit (not shown in FIG.) is used for creating conventional snapshot at interval with regular time, and the moment when creating identifies; In a conventional manner when book writes data, if the data of carrying out in the book Resource Block of write operation are to change for the first time in current slot, then before writing data, will carry out data storage in the book Resource Block of write operation in the conventional snapshot of current least significant end.This conventional processing unit is the existing unit of prior art, does not repeat them here.
In addition, this device can also comprise: deletion processing unit (not shown) is used for according to the creation-time sequencing rollback snapshot being carried out the Overruning deletion when the snapped volume resource expires, perhaps, according to user instruction the rollback snapshot is deleted.
By above description as can be seen, when utilizing method and apparatus provided by the invention to carry out the data recovery, after the conventional snapshot with least significant end writes corresponding book Resource Block, can be in time with used conventional snapshot deletion, and in follow-up data rejuvenation, the conventional snapshot of every utilization carries out rolling back action, after being about to data in the conventional snapshot and writing corresponding book Resource Block, in time the used conventional snapshot of deletion and rollback snapshot of corresponding establishment are used for storing the data that replace in the book Resource Block, also can recover once more to guarantee the state that rollback is fallen.And mode of the prior art not only keeps conventional snapshot in carrying out data recovery procedure, data that can in the conventional snapshot of current slot correspondence, replace in the repeated storage book Resource Block also, and the present invention can delete corresponding conventional snapshot after setting up corresponding rollback snapshot immediately, can additionally not take the resource of snapped volume, obviously, the present invention can take less snapped volume resource with respect to method of the prior art in data recovery procedure, save the snapped volume space more.
More preferably, the state that the present invention can utilize the data of storing in the rollback snapshot easily rollback to be fallen recovers, thereby avoided because of the faulty operation obliterated data, guaranteed the utilization of snapped volume resources effective again, owing to need in data recovery procedure, still in the conventional snapshot of current point in time correspondence, frequently not write data, therefore, promoted the speed that data are recovered greatly.
More preferably, when having expired in the snapped volume, data in the rollback snapshot can be carried out the Overruning deletion or manually select deletion, because the rollback snapshot is generally problem data or useless data with respect to the data in the conventional snapshot, therefore, this mode can guarantee the preservation of useful data as much as possible.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (18)

1, a kind of method that adopts the snapshot restore data is characterized in that, after receiving the data recovery instruction that comprises the moment that will return to, carries out following steps:
A, will the described moment that will return to book in pairing moment of conventional snapshot of current least significant end compare, if the described moment that will return to is less than the pairing moment of conventional snapshot of current least significant end, then each data in the conventional snapshot of least significant end are write corresponding book Resource Block, and delete the conventional snapshot of this least significant end;
B, pairing moment of conventional snapshot of current least significant end in the described moment that will return to and the book is compared, if the described moment that will return to is less than the conventional snapshot of current least significant end, then execution in step C; If the described moment that will return to equals the conventional snapshot of current least significant end, then execution in step D;
C, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of current least significant end, go to execution in step B;
D, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, and will carry out that the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment after the deletion action, create a conventional snapshot and identify with the moment that will return to.
2, method according to claim 1, it is characterized in that, in described steps A, if the described moment that will return to equal the pairing moment of conventional snapshot of current least significant end, then each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, process ends.
3, method according to claim 1 is characterized in that, in described steps A, if the described moment that will return to greater than the pairing moment of conventional snapshot of current least significant end, then carry out following steps:
E, each data in the conventional snapshot of least significant end are write corresponding book Resource Block, and delete the conventional snapshot of this least significant end;
F, determine with rollback snapshot that the conventional snapshot of current least significant end is associated in the corresponding book Resource Block of each data, create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, established data is rolled up data storage in the Resource Block in the conventional snapshot of this establishment, and each data in the rollback snapshot of determining are write in the book Resource Block of correspondence, delete the rollback snapshot that this is determined;
Next rollback snapshot of the rollback snapshot of G, definite deletion, judge whether this pairing moment of rollback snapshot of determining is less than or equal to the described moment that will recover, if, then go to execution in step F, otherwise, the rollback snapshot of determining is associated with the conventional snapshot of current least significant end, creates a conventional snapshot and identify with the described moment that will return to.
4, method according to claim 3, it is characterized in that, after described step F and before the step G, also comprise: whether the rollback snapshot of judging deletion exists next rollback snapshot, if, then continue to carry out described step G, otherwise, create a conventional snapshot and identify with the described moment that will return to.
5, method according to claim 3 is characterized in that, in described step B, if the described moment that will return to greater than the conventional snapshot of current least significant end, then carry out following steps:
H, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in the rollback snapshot of this establishment, and each data in the conventional snapshot of current least significant end are write in the book Resource Block of correspondence, delete the conventional snapshot of current least significant end, and will carry out that the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment after this deletion action; Carry out described step F.
6, according to claim 3 or 5 described methods, it is characterized in that, if the rollback snapshot number that is associated with the conventional snapshot of current least significant end in step F is greater than 1, then from the rollback snapshot that is associated, select institute to be less than or equal to the rollback snapshot in the moment that will return to, described definite being operating as the corresponding moment: the book Resource Block of determining each data correspondence in the rollback snapshot of this selection.
7, according to the described method of the arbitrary claim of claim 1 to 5, it is characterized in that this method also comprises: create conventional snapshot at interval with regular time, and identify the moment when creating;
In a conventional manner when book writes data, if the data of carrying out in the book Resource Block of write operation are to change for the first time in current slot, then before writing data, will carry out data storage in the book Resource Block of write operation in the conventional snapshot of current least significant end.
8, according to the described method of the arbitrary claim of claim 1 to 5, it is characterized in that,, then the rollback snapshot is carried out Overruning deletion or manually deletion according to the creation-time sequencing if the resource of snapped volume is full.
9, a kind of device that adopts the snapshot restore data is characterized in that, this device comprises:
First comparing unit, after being used to receive the data recovery instruction that comprises the moment that will return to, the pairing moment of conventional snapshot of current least significant end compares in the moment that will return to and the book, if the moment that returns to less than the pairing moment of conventional snapshot of current least significant end, then sends first to first processing unit and handles notice;
First processing unit, be used to receive first handle notice after, each data in the conventional snapshot of least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, and send first notice relatively to second comparing unit;
Second comparing unit, be used to receive first relatively the notice after, the pairing moment of conventional snapshot of current least significant end compares in the moment that will return to and the book, if the described moment that will return to less than the conventional snapshot of current least significant end, then sends second to second processing unit and handles notice; If the described moment that will return to equals the conventional snapshot of current least significant end, then send the 3rd and handle notice to the 3rd processing unit;
Second processing unit, after being used to receive the second processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, and each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of current least significant end, and relatively notify to described second comparing unit transmission first;
The 3rd processing unit, after being used to receive the 3rd processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in this rollback snapshot, each data in the conventional snapshot of current least significant end are write corresponding book Resource Block, delete the conventional snapshot of this least significant end, send related notice to first associative cell;
First associative cell, be used to receive related notice after, the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment, create a conventional snapshot and identify with the moment that will return to.
10, device according to claim 9 is characterized in that, this device also comprises: manages the unit everywhere;
Described first comparing unit equals the pairing moment of conventional snapshot of current least significant end if also be used for determining the moment that will return to, and manages the unit everywhere to described the and sends the reason notice everywhere;
Described the manages the unit everywhere, is used to receive the everywhere after the reason notice, and each data in the conventional snapshot of current least significant end are write corresponding book Resource Block.
11, device according to claim 9 is characterized in that, this device also comprises: the 5th processing unit, the 6th processing unit and the 3rd comparing unit;
Described first comparing unit if also be used for the conventional snapshot pairing moment of definite moment that will return to greater than current least significant end, send the 5th to described the 5th processing unit and handles notice;
Described the 5th processing unit, be used to receive the 5th handle notice after, each data in the conventional snapshot of least significant end are write corresponding book Resource Block, and after deleting the conventional snapshot of this least significant end, send the 6th to described the 6th processing unit and handle notice;
Described the 6th processing unit, after being used to receive the 6th processing notice, determine with rollback snapshot that the conventional snapshot of current least significant end is associated in the corresponding book Resource Block of each data, create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, established data is rolled up data storage in the Resource Block in the conventional snapshot of this establishment, and each data in the rollback snapshot of determining are write in the book Resource Block of correspondence, delete the rollback snapshot that this is determined, send second to described the 3rd comparing unit and relatively notify;
Described the 3rd comparing unit, be used to receive second relatively the notice after, determine next rollback snapshot of the rollback snapshot of described the 6th processing unit deletion, judge whether this pairing moment of rollback snapshot of determining is less than or equal to the described moment that will recover, if send the 6th to described the 6th processing unit and handle notice; If not, then send related notice to described first associative cell.
12, device according to claim 11, it is characterized in that, between described the 6th processing unit and the 3rd comparing unit, also comprise: the judgment processing unit, being used to receive described second relatively notifies, whether the rollback snapshot of judging described the 6th processing unit deletion exists next rollback snapshot, if then relatively notify and send to described the 3rd comparing unit with described second; Otherwise creating a conventional snapshot identified with the described moment that will recover.
13, device according to claim 10 is characterized in that, this device also comprises: the 7th processing unit;
Described second comparing unit if also be used for determining the conventional snapshot of the described moment that will return to greater than current least significant end, then send the 7th to described the 7th processing unit and handles notice;
Described the 7th processing unit, after being used to receive the 7th processing notice, determine the pairing book Resource Block of each data in the conventional snapshot of current least significant end, the pairing moment of conventional snapshot of creating the above deletion of a rollback snapshot identifies, established data is rolled up data storage in the Resource Block in the rollback snapshot of this establishment, and each data in the conventional snapshot of current least significant end are write in the book Resource Block of correspondence, delete the conventional snapshot of current least significant end, and will carry out that the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment after this deletion action, send the 6th to the 6th processing unit and handle notice.
14, according to claim 11 or 13 described devices, it is characterized in that, after described the 6th processing unit receives described the 6th processing notice, if the rollback snapshot number that is associated with the conventional snapshot of current least significant end is greater than 1, then from the rollback snapshot that is associated, select the corresponding rollback snapshot that is less than or equal to the moment that will return to constantly of institute, and the book Resource Block of each data correspondence in the rollback snapshot of definite this selection.
15, according to the described device of the arbitrary claim of claim 9 to 13, it is characterized in that this device also comprises: the conventional processing unit be used for creating conventional snapshot at interval with regular time, and the moment when creating identifies; In a conventional manner when book writes data, if the data of carrying out in the book Resource Block of write operation are to change for the first time in current slot, then before writing data, will carry out data storage in the book Resource Block of write operation in the conventional snapshot of current least significant end.
16, according to the described device of the arbitrary claim of claim 9 to 13, it is characterized in that, this device also comprises: the deletion processing unit, be used for when the snapped volume resource expires, according to the creation-time sequencing rollback snapshot is carried out the Overruning deletion, perhaps, according to user instruction the rollback snapshot is deleted.
17, a kind of method of setting up the rollback snapshot, described rollback snapshot is used for being stored in the data that are replaced in the data recovery procedure book, it is characterized in that, and this method comprises:
In the process of carrying out the data recovery, before data in the snapshot are write corresponding book Resource Block, if in the book Resource Block data that are replaced are had corresponding conventional snapshot constantly, then create a rollback snapshot, and identify constantly with the conventional snapshot of the data correspondence that is replaced, data in the conventional snapshot of current least significant end are write corresponding book Resource Block, and delete the conventional snapshot of current least significant end, stop up to data recovery procedure, the conventional snapshot of current least significant end is associated with the rollback snapshot of establishment.
18, a kind of method of utilizing the rollback snapshot restore data of setting up as the method that claim 17 adopted is characterized in that this method comprises:
In data recovery procedure, when the moment that will recover during greater than pairing moment of the conventional snapshot of current least significant end, the data in the conventional snapshot of current least significant end are write corresponding book Resource Block after, delete the conventional snapshot of current least significant end;
Determine with rollback snapshot that the conventional snapshot of current least significant end is associated in the corresponding book Resource Block of each data; Create a conventional snapshot with this rollback snapshot correspondence a last moment constantly identify, established data is rolled up data storage in the Resource Block in the conventional snapshot of creating, and each data in the rollback snapshot of determining are write in the book Resource Block of correspondence, delete described definite rollback snapshot.
CN2008102393601A 2008-12-11 2008-12-11 Method and device for recovering data by employing snapshot Expired - Fee Related CN101419564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102393601A CN101419564B (en) 2008-12-11 2008-12-11 Method and device for recovering data by employing snapshot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102393601A CN101419564B (en) 2008-12-11 2008-12-11 Method and device for recovering data by employing snapshot

Publications (2)

Publication Number Publication Date
CN101419564A true CN101419564A (en) 2009-04-29
CN101419564B CN101419564B (en) 2010-08-25

Family

ID=40630360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102393601A Expired - Fee Related CN101419564B (en) 2008-12-11 2008-12-11 Method and device for recovering data by employing snapshot

Country Status (1)

Country Link
CN (1) CN101419564B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833488A (en) * 2010-04-30 2010-09-15 杭州华三通信技术有限公司 Processing method and equipment for snapshot resource
CN102567142A (en) * 2010-12-15 2012-07-11 微软公司 System reset and system restore
CN103065096A (en) * 2012-12-18 2013-04-24 华为技术有限公司 Data protection method, device and system
CN103412798A (en) * 2013-07-18 2013-11-27 记忆科技(深圳)有限公司 Method and system for achieving hybrid storage snapshot
CN103645967A (en) * 2013-11-26 2014-03-19 华为技术有限公司 Read-only snapshot rollback method and device
CN105677252A (en) * 2016-01-06 2016-06-15 华为技术有限公司 Data reading method, data processing method and related storage device
WO2017088476A1 (en) * 2015-11-27 2017-06-01 华为技术有限公司 Method for synchronization and resumed transfer, slave end device, and system
CN106933699A (en) * 2015-12-30 2017-07-07 中移(苏州)软件技术有限公司 A kind of data recovery, snapshot establishment, snapshot delet method and device
CN106951375A (en) * 2016-01-06 2017-07-14 北京忆恒创源科技有限公司 The method and device of snapped volume is deleted within the storage system
WO2017132790A1 (en) * 2016-02-01 2017-08-10 华为技术有限公司 Data recovery method and storage device
CN107209705A (en) * 2014-12-01 2017-09-26 茨特里克斯系统公司 Activity rollback for computing environment
CN109614055A (en) * 2018-12-21 2019-04-12 杭州宏杉科技股份有限公司 Snapshot creation method, device, electronic equipment and machine readable storage medium
CN109933460A (en) * 2017-12-25 2019-06-25 新华三大数据技术有限公司 Data snapshot method and device
CN110515543A (en) * 2019-08-02 2019-11-29 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN111090400A (en) * 2019-12-29 2020-05-01 浪潮(北京)电子信息产业有限公司 Method, device and equipment for automatically rolling back snapshot
CN111414276A (en) * 2019-01-08 2020-07-14 中国移动通信有限公司研究院 Data disaster tolerance method and device of VNF, VNF node and storage medium
CN113448774A (en) * 2021-06-04 2021-09-28 山东英信计算机技术有限公司 Method, system, device and medium for optimizing copy-on-write storage snapshot management

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833488B (en) * 2010-04-30 2012-09-26 杭州华三通信技术有限公司 Processing method and equipment for snapshot resource
CN101833488A (en) * 2010-04-30 2010-09-15 杭州华三通信技术有限公司 Processing method and equipment for snapshot resource
CN102567142A (en) * 2010-12-15 2012-07-11 微软公司 System reset and system restore
CN102567142B (en) * 2010-12-15 2015-12-16 微软技术许可有限责任公司 System reset and System recover
CN103065096A (en) * 2012-12-18 2013-04-24 华为技术有限公司 Data protection method, device and system
CN103065096B (en) * 2012-12-18 2016-06-08 华为技术有限公司 A kind of data guard method, Apparatus and system
CN103412798A (en) * 2013-07-18 2013-11-27 记忆科技(深圳)有限公司 Method and system for achieving hybrid storage snapshot
CN103645967B (en) * 2013-11-26 2016-06-22 华为技术有限公司 A kind of read-only materialized view rollback method and device
CN103645967A (en) * 2013-11-26 2014-03-19 华为技术有限公司 Read-only snapshot rollback method and device
CN107209705B (en) * 2014-12-01 2021-02-09 茨特里克斯系统公司 Activity rollback for a computing environment
CN107209705A (en) * 2014-12-01 2017-09-26 茨特里克斯系统公司 Activity rollback for computing environment
WO2017088476A1 (en) * 2015-11-27 2017-06-01 华为技术有限公司 Method for synchronization and resumed transfer, slave end device, and system
CN106933699B (en) * 2015-12-30 2021-11-30 中移(苏州)软件技术有限公司 Snapshot deleting method and device
CN106933699A (en) * 2015-12-30 2017-07-07 中移(苏州)软件技术有限公司 A kind of data recovery, snapshot establishment, snapshot delet method and device
WO2017118289A1 (en) * 2016-01-06 2017-07-13 华为技术有限公司 Data reading method, data processing method, and related storage device
CN106951375A (en) * 2016-01-06 2017-07-14 北京忆恒创源科技有限公司 The method and device of snapped volume is deleted within the storage system
CN105677252A (en) * 2016-01-06 2016-06-15 华为技术有限公司 Data reading method, data processing method and related storage device
WO2017132790A1 (en) * 2016-02-01 2017-08-10 华为技术有限公司 Data recovery method and storage device
CN109933460A (en) * 2017-12-25 2019-06-25 新华三大数据技术有限公司 Data snapshot method and device
CN109614055A (en) * 2018-12-21 2019-04-12 杭州宏杉科技股份有限公司 Snapshot creation method, device, electronic equipment and machine readable storage medium
CN111414276B (en) * 2019-01-08 2023-05-05 中国移动通信有限公司研究院 Data disaster recovery method and device of VNF (virtual network function), VNF node and storage medium
CN111414276A (en) * 2019-01-08 2020-07-14 中国移动通信有限公司研究院 Data disaster tolerance method and device of VNF, VNF node and storage medium
CN110515543A (en) * 2019-08-02 2019-11-29 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN110515543B (en) * 2019-08-02 2021-02-19 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN111090400B (en) * 2019-12-29 2022-03-22 浪潮(北京)电子信息产业有限公司 Method, device and equipment for automatically rolling back snapshot
CN111090400A (en) * 2019-12-29 2020-05-01 浪潮(北京)电子信息产业有限公司 Method, device and equipment for automatically rolling back snapshot
CN113448774A (en) * 2021-06-04 2021-09-28 山东英信计算机技术有限公司 Method, system, device and medium for optimizing copy-on-write storage snapshot management
CN113448774B (en) * 2021-06-04 2023-01-24 山东英信计算机技术有限公司 Method, system, device and medium for optimizing copy-on-write storage snapshot management

Also Published As

Publication number Publication date
CN101419564B (en) 2010-08-25

Similar Documents

Publication Publication Date Title
CN101419564B (en) Method and device for recovering data by employing snapshot
CN103019888B (en) Backup method and device
WO2016192375A1 (en) Storage device and block storage method based on the storage device
US8996826B2 (en) Techniques for system recovery using change tracking
CN109508148B (en) Metadata reconstruction method and device and computer readable storage medium
CN113051104B (en) Method and related device for recovering data between disks based on erasure codes
CN102999564B (en) Write the method for data, device and equipment
CN107329859B (en) Data protection method and storage device
US20210081284A1 (en) Incrementally updating recovery map data for a memory system
US8271454B2 (en) Circular log amnesia detection
CN104765659A (en) Data recovery method and device applied to database
CN111666266A (en) Data migration method and related equipment
CN107678892A (en) Recover the continuous data protection method of chain based on jump
CN111045870A (en) Method, device and medium for saving and restoring metadata
CN112099996A (en) Database cluster multi-node redo log recovery method based on page update sequence number
CN103176920A (en) Nor flash power down protection method and Nor flash power down protection device
CN109189739B (en) Cache space recovery method and device
WO2016206568A1 (en) Data update method, device, and related system
CN116088770B (en) Data management method, device, system, electronic equipment and storage medium
CN106599006B (en) Data recovery method and device
CN112114750A (en) Metadata volume bitmap data conflict processing method and related components
CN110515769A (en) A kind of backup processing method, device and electronic equipment and readable storage medium storing program for executing
CN110209530B (en) Method and system for recovering IO data of CDP system
CN111290881B (en) Data recovery method, device, equipment and storage medium
CN111221468A (en) Storage block data deleting method and device, electronic equipment and cloud storage 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
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100825

Termination date: 20191211

CF01 Termination of patent right due to non-payment of annual fee