CN106250275A - The restoration methods of Hyper v virtual machine, system - Google Patents

The restoration methods of Hyper v virtual machine, system Download PDF

Info

Publication number
CN106250275A
CN106250275A CN201610695056.2A CN201610695056A CN106250275A CN 106250275 A CN106250275 A CN 106250275A CN 201610695056 A CN201610695056 A CN 201610695056A CN 106250275 A CN106250275 A CN 106250275A
Authority
CN
China
Prior art keywords
virtual machine
guid
hyper
vss
backup
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.)
Pending
Application number
CN201610695056.2A
Other languages
Chinese (zh)
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.)
Shanghai Eisoo Information Technology Co Ltd
Original Assignee
Shanghai Eisoo Information Technology 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 Shanghai Eisoo Information Technology Co Ltd filed Critical Shanghai Eisoo Information Technology Co Ltd
Priority to CN201610695056.2A priority Critical patent/CN106250275A/en
Publication of CN106250275A publication Critical patent/CN106250275A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/815Virtual
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides restoration methods and the system of Hyper v virtual machine, described Hyper v virtual machine to prestore VSS and backs up module information.Method includes: obtain a GUID of Hyper v virtual machine, and the 2nd GUID of stochastic generation Hyper v virtual machine;Obtain all of snapshot document in VSS backup module information, and the most each snapshot document stochastic generation the 3rd GUID;Oneth GUID is replaced with the 2nd GUID;Search the GUID of each snapshot document, and its one_to_one corresponding is replaced with each 3rd GUID;Back up the VSS assembly of assembly information initializing Hyper v virtual machine with the VSS replacing GUID, automatically organize for the VSS assembly after initializing and recover the Hyper v virtual machine made new advances, and enrolling by calling VSS interface.The present invention remains former virtual machine while recovering virtual machine, is greatly promoted Consumer's Experience.

Description

The restoration methods of Hyper-v virtual machine, system
Technical field
The present invention relates to Hyper-v virtual machine field, particularly relate to the restoration methods of Hyper-v virtual machine, system.
Background technology
As the important component part of " information technology of wisdom ", virtualization and cloud computing have become current information industry neck The emerging concept that territory attracts most attention.Increasing enterprise starts to recognize and realizes the advantage of virtualized environment and by application deployment On the virtual machine of virtual platform, the application of the Hyper-v Intel Virtualization Technology of Microsoft is more and more extensive.How to protect The application data that these are deployed on virtual platform with regard to Cheng Liao enterprise most concerned about one of problem.
In order to cater to huge virtual-machine data backup market, a lot of backup software manufacturers achieve the most in succession to Hyper- The backup of the virtual machine of v virtual platform and recovery function.In know-why, for third-party software vendor, convenient Feasible method is through directly invoking the VSS interface that Microsoft provides exclusively for Hyper-v virtual machine Backup and Restore, comes Realize the Backup and Restore function of Hyper-v.Its concrete principle is: when backing up Hyper-v virtual machine, needs to produce during backup VSS backup assembly relevant information preserve, recover this Hyper-v virtual machine time, read backup preserve these VSS backup Module information, initializes the assembly of VSS, and then VSS assembly will automatically be organized by these information and recover this Platform virtual machine.
But, due to backup software manufacturer call be Microsoft provide VSS interface, so by VSS interface come The recovery also nature realizing Hyper-v virtual machine is restricted because of the reason of VSS interface itself.Such as, before recovery, The interface of VSS can judge whether to exist on current virtual machine platform the GUID (Globally of and virtual machine to be recovered Unique Identifier, GUID) identical virtual machine, if there is will be first by this on virtual platform Platform virtual machine is deleted, and can't consider that what or the most important the most directly deletion this virtual machine be.But, for big portion For point having the client of Hyper-v virtual machine Backup and Restore demand, this defect is and serious and unacceptable.
Client wants to retain former virtual machine under a lot of scenes, and the void under a certain Status of Backups before individually recovering Plan machine, i.e. realizes new virtual machine and exists with former virtual machine simultaneously and can independently use as full virtual machine.According to current VSS The technology of interface realizes, and can only realize this demand by two virtual platforms, will return to another void by virtual machine On planization platform.This hardware that can be greatly improved user and time cost, most client represents and cannot accept, and proposes Wish to back up manufacturer provide a kind of independent of former virtual machine and the scheme of recovering virtual machine by the way of newly-built virtual machine.
On the other hand, directly invoke the virtual machine that VSS interface recovers to integrate backup snapshots and retain user's snapshot. Owing to Hyper-v virtual machine and virtual machine snapshot are respectively provided with global uniqueness, when third party backs up manufacturer rashly same virtual Change platform and recover the newly-built virtual machine independent of former virtual machine by some mode, can thoroughly upset the structure of virtual machine, lead Causing such as virtual machine backup snapshots to integrate, lose, former virtual machine and newly-built virtual machine use user's snapshot etc. to estimate Gross error, not only resulting in new virtual machine can not recover, and also can make former virtual machine crashes, brings to user and cannot assess Loss.
Summary of the invention
The shortcoming of prior art, it is an object of the invention to provide the recovery side of Hyper-v virtual machine in view of the above Method, system, be used for catering to the above-mentioned market demand, solves the above-mentioned problems in the prior art.
For achieving the above object and other relevant purposes, the present invention provides the restoration methods of Hyper-v virtual machine, described Hyper-v virtual machine prestores VSS and backs up module information, including: the GUID of described Hyper-v virtual machine and snapshot document, institute The method of stating includes: newly-built GUID step, including: obtain a GUID of described Hyper-v virtual machine, and described in stochastic generation 2nd GUID of Hyper-v virtual machine;Obtain all of snapshot document in described VSS backup module information, and the most each institute State snapshot document stochastic generation the 3rd GUID;Replace GUID step, including: a described GUID is replaced with described second GUID;Search the GUID of each described snapshot document, and its one_to_one corresponding is replaced with each described 3rd GUID;Virtual machine recovers step Suddenly, including: with replacing the VSS assembly of Hyper-v virtual machine described in the VSS backup assembly information initializing of GUID, for just The Hyper-v virtual machine made new advances is organized and recovered to VSS assembly after beginningization automatically, and enrolls by calling VSS interface.
In one embodiment of the invention, described VSS backup module information also includes preservation during backup: configuration file is believed Breath, snapshot document title, the content of snapshot document and disk file data;VSS assembly after described initialization automatically organize and Recover the Hyper-v virtual machine that makes new advances, including: read described profile information, snapshot document title, snapshot document interior Hold, and the most original GUID correspondence is replaced with newly-built GUID and recovers;Read described disk file data and recover.
In one embodiment of the invention, described VSS backup module information includes: virtual machine file membership credentials;Described obtain Take all of snapshot document in described VSS backup module information, including: obtain described virtual machine file membership credentials, and therefrom Filter out all of backup snapshots file.
In one embodiment of the invention, described VSS backup module information includes: virtual machine backup listed files;Described obtain Take all of snapshot document in described VSS backup module information, including: obtain described virtual machine backup listed files, and therefrom Filter out all of user's snapshot document.
In one embodiment of the invention, also included before described newly-built GUID step: virtual machine reforestation practices selects step Suddenly, described reforestation practices also includes: recover described Hyper-v virtual machine by VSS interface.
For achieving the above object and other relevant purposes, the present invention provides the recovery system of Hyper-v virtual machine, described Hyper-v virtual machine prestores VSS and backs up module information, including: the GUID of described Hyper-v virtual machine and snapshot document, institute The system of stating includes: newly-built GUID module, is used for: obtain a GUID of described Hyper-v virtual machine, and described in stochastic generation 2nd GUID of Hyper-v virtual machine;Obtain all of snapshot document in described VSS backup module information, and the most each institute State snapshot document stochastic generation the 3rd GUID;Replace GUID module, be used for: a described GUID is replaced with described second GUID;Search the GUID of each described snapshot document, and its one_to_one corresponding is replaced with each described 3rd GUID;Virtual machine recovers mould Block, is used for: back up the VSS assembly of Hyper-v virtual machine described in assembly information initializing with the VSS replacing GUID, for just The Hyper-v virtual machine made new advances is organized and recovered to VSS assembly after beginningization automatically, and enrolls by calling VSS interface.
In one embodiment of the invention, described VSS backup module information also includes preservation during backup: configuration file is believed Breath, snapshot document title, the content of snapshot document and disk file data;VSS assembly after described initialization automatically organize and Recover the Hyper-v virtual machine that makes new advances, including: read described profile information, snapshot document title, snapshot document interior Hold, and the most original GUID correspondence is replaced with newly-built GUID and recovers;Read described disk file data and recover.
In one embodiment of the invention, described VSS backup module information includes: virtual machine file membership credentials;Described obtain Take all of snapshot document in described VSS backup module information, including: obtain described virtual machine file membership credentials, and therefrom Filter out all of backup snapshots file.
In one embodiment of the invention, described VSS backup module information includes: virtual machine backup listed files;Described obtain Take all of snapshot document in described VSS backup module information, including: obtain described virtual machine backup listed files, and therefrom Filter out all of user's snapshot document.
In one embodiment of the invention, described system also includes: virtual machine reforestation practices selects module, is used for judging whether Enter newly-built virtual machine reforestation practices;If it is not, then enter through VSS interface to recover the pattern of described Hyper-v virtual machine.
As it has been described above, the restoration methods of Hyper-v virtual machine of the present invention, system, have the advantages that
1) on Hyper-v virtual platform, Hyper-v virtual machine can be recovered by newly-built virtual machine, and can be made it Retain user's snapshot incorporating backup snapshots simultaneously;
2) new virtual machine recovery can be carried out independent of former virtual machine, meet client on same virtual platform, recover multiple stage The demand of the virtual machine of different Status of Backups;
3) new virtual machine is in the case of remaining original subscriber's snapshot, and client can be by recovering snapshot in new virtual machine Return to perform before state during snapshot, in the case of incorporating backup snapshots at the same time, can be substantially reduced virtual machine The impact of energy;
4) make the flow process at curstomer's site demonstration Hyper-v Backup and Restore more succinct, convenient, reduce and check and accept risk, Improve Consumer's Experience and the finished product popularity of software.
Accompanying drawing explanation
Fig. 1 is shown as the restoration methods flow chart of the Hyper-v virtual machine of one embodiment of the invention.
Fig. 2 is shown as the restoration methods flow chart of the Hyper-v virtual machine of another embodiment of the present invention.
Fig. 3 is shown as the recovery system module map of the Hyper-v virtual machine of one embodiment of the invention.
Element numbers explanation
The recovery system of 300 Hyper-v virtual machines
301 newly-built GUID modules
302 replace GUID module
303 virtual machines recover module
S101~S103 step
Detailed description of the invention
Below by way of specific instantiation, embodiments of the present invention being described, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also be by the most different concrete realities The mode of executing is carried out or applies, the every details in this specification can also based on different viewpoints and application, without departing from Various modification or change is carried out under the spirit of the present invention.It should be noted that, in the case of not conflicting, following example and enforcement Feature in example can be mutually combined.
It should be noted that the diagram provided in following example illustrates the basic structure of the present invention the most in a schematic way Think, the most graphic in component count, shape and size time only display with relevant assembly in the present invention rather than is implemented according to reality Drawing, during its actual enforcement, the kenel of each assembly, quantity and ratio can be a kind of random change, and its assembly layout kenel is also It is likely more complexity.
The present invention relates on the Hyper-v virtual platform that Microsoft releases independent of former virtual machine, and can have former Virtual machine user snapshot also integrates the restoration methods of newly-built virtual machine of backup snapshots.In the case of routine virtual to Hyper-v The backup of machine and recovery are all next real by calling the interface of the VSS (volume shadow copy service) that Microsoft provides Existing, cause retaining former virtual machine, and, rashly recover the newly-built virtual machine independent of former virtual machine, can thoroughly upset The structure of virtual machine, causes new virtual machine can not recover former virtual machine crashes, causes the loss that cannot assess.
Refer to Fig. 1 and Fig. 2, for solving such problem, the restoration methods of the Hyper-v virtual machine that the present invention proposes, base In the newly-built virtual machine of VSS interface, and automatically integrate backup snapshots, retain user's snapshot simultaneously and realize the recovery of virtual machine.Need Illustrating, this Hyper-v virtual machine is the virtual machine carrying out backup in advance, namely the VSS produced when storage has backup is standby Part module information.VSS backup module information is that some are with XML (Extensible Markup Language) format organization Character string, it have recorded the GUID of backup virtual machine and all of fileinfo, such as: the backup listed files of virtual machine, Preserve when the file organization relation of virtual machine, backup: profile information, snapshot document title, the content of snapshot document, magnetic Dish file data etc..Described method specifically includes that
Step S101, newly-built GUID: the VSS module information preserved when reading backup, records former virtual machine GUID, and at random Generate a new GUID.Resolve and record the file organization relation of record in VSS backup module information, i.e. virtual machine file is true Real name claims and the one-to-one relationship of its another name in VSS assembly, therefrom filters out all of backup snapshots file, and generates The new GUID of equivalent amount;Resolve and record all listed files backed up in VSS backup module information, therefrom filter out All of user's snapshot document, and generate the new GUID of equivalent amount.
Step S102, replacement GUID: all above GUID recorded in traversal lookup VSS backup module information, and respectively Correspondence replaces with newly-generated GUID.
Step S103, virtual machine recover: initialize described Hyper-v by the VSS backup module information revised virtual The former VSS assembly of machine, thus recover the Hyper-v virtual machine made new advances, and this is new by calling the recovery registration of VSS interface Hyper-v virtual machine.Wherein, the Hyper-v virtual machine recovering to make new advances includes: the profile information preserved when reading backup, Traversal searches the GUID of all above records, and correspondence replaces with newly-generated GUID and recovers;Preserve when reading backup in turn Snapshot document title, replaces with newly-generated GUID by the GUID correspondence in former snapshot document title and recovers;Read standby in turn The content of the snapshot document preserved during part, all above GUID recorded of traversal lookup, correspondence replaces with newly-generated GUID also Recover;The disk file data preserved when reading backup in turn, and recover.
It should be noted that now, because virtual machine VSS assembly, configuration file have the most been revised to have and uniquely identified, so During recovery, if again retrieving virtual platform, just cannot find the virtual machine with identical GUID, simultaneously because of backup snapshots literary composition Part, user's snapshot document the most revised have unique indicate and each snapshot corresponding relation in configuration file and snapshot document It is revised as meeting the logic that Hyper-v identifies, therefore recovers registration process will integrate backup snapshots automatically, retain user simultaneously Snapshot.
Below by the process that realizes of the example explanation said method concrete by:
1, perform virtual machine recovery tasks, select to recover virtual machine VM-01, perform newly-built virtual machine and recover, record virtual The GUID " 51D7EFB0-19F0-46F6-AD3D-CBE0DE4A15BA " of machine VM-01, and generate new GUID " 176DA0D8- 8782-4edc-AD19-510FADD11F71”。
2, it is resolved in file organization information,
C: VM 111 Snapshots 6BA217BF-A4CD-4275-9F81-81287830142C.xml} with C: VM 111 Snapshots 51D7EFB0-19F0-46F6-AD3D-CBE0DE4A15BA-BackupSnapshot.xml}, {C:\VM\111\Virtual Hard Disks\111_CBFA671B-BA2F-42BE-B40C-7F81C407BB3C.avhdx} With C: VM 111 Virtual Hard Disks 111_C9FA81C8-1A41-437C-91FE-8BC9CFAC7966- ChildVhd.avhd} is relation one to one.
3, resolution file membership credentials, screening show that backup snapshots file is { 6BA217BF-A4CD-4275-9F81- 81287830142C.xml}, record backup snapshots file GUID is " 6BA217BF-A4CD-4275-9F81- 81287830142C ", generate new GUID for " 04D9E0C2-238A-42ed-BBBB-920F117DB255 ".If having multiple standby Part snapshot, records the most one by one and generates new GUID.
4, listed files has been backed up in parsing, and screening show that user's snapshot document is { F25474BC-8DCA-4698-A6B6- C1DC28D54CA7.xml}, record user snapshot document GUID is " F25474BC-8DCA-4698-A6B6- C1DC28D54CA7 ", generate new GUID for " E79ABFD4-5337-44ac-925A-2D6AF31596A4 ".If there being multiple use Family snapshot, records the most one by one and generates new GUID.
5, the GUID noted above occurred in traversal retrieval VSS backup module information, and replace with newly-generated one by one GUID。
6, traversal configuration file, backup snapshots file, the title of user's snapshot document and content, retrieve noted above GUID, and replace with newly-generated GUID one by one.
7, magnetic disk of virtual machine file data is recovered in turn.
8, VSS interface, the virtual machine that registration newly recovers are called.
As in figure 2 it is shown, in another embodiment, except the reset mode of above-mentioned newly-built virtual machine, also include being connect by VSS Mouth recovers described Hyper-v virtual machine, and user can select when performing recovery tasks.Recover described by VSS interface The mode of Hyper-v virtual machine, including: back up assembly information initializing former VSS assembly by VSS, preserve when reading backup Configuration file also recovers, and reads the disk file preserved when backing up and recovers, and reads the snapshot document preserved when backing up and recovers, Thus recover the virtual machine that makes new advances and register.
Referring to Fig. 3, with embodiment of the method principle similarly, the present invention provides the recovery of a kind of Hyper-v virtual machine System 300, including: newly-built GUID module 301, replacement GUID module 302, virtual machine recover module 303.Owing to preceding method is real Execute the technical characteristic in example and can apply to native system embodiment, thus it is no longer repeated.
Newly-built GUID module 301 is used for: obtain a GUID of described Hyper-v virtual machine, and described in stochastic generation 2nd GUID of Hyper-v virtual machine;Obtain all of snapshot document in described VSS backup module information, and the most each institute State snapshot document stochastic generation the 3rd GUID.In one embodiment, described VSS backup module information includes: virtual machine file group Knit relation;All of snapshot document in described acquisition described VSS backup module information, including: obtain described virtual machine file group Knit relation, and therefrom filter out all of backup snapshots file.In another embodiment, described VSS backup module information includes: Virtual machine backup listed files;All of snapshot document in described acquisition described VSS backup module information, including: obtain described Virtual machine backup listed files, and therefrom filter out all of user's snapshot document.
Replace GUID module 302 to be used for: a described GUID is replaced with described 2nd GUID;Search each described snapshot literary composition The GUID of part, and its one_to_one corresponding is replaced with each described 3rd GUID.
Virtual machine recovers module 303 and is used for: back up Hyper-v described in assembly information initializing with the VSS replacing GUID The VSS assembly of virtual machine, automatically organizes for the VSS assembly after initializing and recovers the Hyper-v virtual machine made new advances, and passing through Call VSS interface to enroll.In one embodiment, described VSS backup module information also includes preservation during backup: configuration is civilian Part information, snapshot document title, the content of snapshot document and disk file data;Automatic group of VSS assembly after described initialization Knit and recover the Hyper-v virtual machine made new advances, including: read described profile information, snapshot document title, snapshot document Content, and the most original GUID correspondence is replaced with newly-built GUID and recovers;Read described disk file data and recover.
In another embodiment, described system 300 also includes: virtual machine reforestation practices selects module, is used for judging whether Enter newly-built virtual machine reforestation practices;If it is not, then enter through VSS interface to recover the pattern of described Hyper-v virtual machine, bag Include: back up assembly information initializing former VSS assembly by VSS, read the configuration file preserved when backing up and recover, read backup The disk file of Shi Baocun is also recovered, and the snapshot document that preserves when reading backup also recovers, thus recovers the virtual machine that makes new advances also Registration.
In sum, the restoration methods of Hyper-v virtual machine of the present invention, system, by resolving, recording former virtual machine GUID, the GUID of each user's snapshot of former virtual machine, the GUID of former each backup snapshots of virtual machine, then generate equal number New GUID, and replace virtual machine, user's snapshot, the GUID of backup snapshots in VSS backup assembly respectively, revise configuration simultaneously The GUID preserved in file, snapshot document title, fileinfo so that it is what correlative connection met that Hyper-v can normally identify patrols Volume, thus reach can to recover identical or different new of several data modes on same Hyper-v virtual platform Virtual machine, effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The principle of above-described embodiment only illustrative present invention and effect thereof, not for limiting the present invention.Any ripe Above-described embodiment all can be modified under the spirit and the scope of the present invention or change by the personage knowing this technology.Cause This, have usually intellectual such as complete with institute under technological thought without departing from disclosed spirit in art All equivalences become are modified or change, and must be contained by the claim of the present invention.

Claims (10)

1. the restoration methods of a Hyper-v virtual machine, it is characterised in that described Hyper-v virtual machine prestores VSS backup group Part information, described VSS backup module information includes: the GUID of described Hyper-v virtual machine and snapshot document, described method bag Include:
Newly-built GUID step, including: obtain a GUID of described Hyper-v virtual machine, and Hyper-v described in stochastic generation is empty 2nd GUID of plan machine;Obtain all of snapshot document in described VSS backup module information, and the most each described snapshot document Stochastic generation the 3rd GUID;
Replace GUID step, including: a described GUID is replaced with described 2nd GUID;Search each described snapshot document GUID, and its one_to_one corresponding is replaced with each described 3rd GUID;
Virtual machine recovering step, including: back up Hyper-v virtual machine described in assembly information initializing with the VSS replacing GUID VSS assembly, automatically organize and recover, for the VSS assembly after initializing, the Hyper-v virtual machine made new advances, and by calling VSS interface is enrolled.
The restoration methods of Hyper-v virtual machine the most according to claim 1, it is characterised in that described VSS backup assembly letter Preservation when breath also includes backing up: profile information, snapshot document title, the content of snapshot document and disk file data; VSS assembly after described initialization is automatically organized and recovers the Hyper-v virtual machine made new advances, including:
Read described profile information, snapshot document title, the content of snapshot document, and the most original GUID correspondence is replaced It is changed to newly-built GUID and recovers;
Read described disk file data and recover.
The restoration methods of Hyper-v virtual machine the most according to claim 1, it is characterised in that described VSS backup assembly letter Breath includes: virtual machine file membership credentials;All of snapshot document in described acquisition described VSS backup module information, including: obtain Take described virtual machine file membership credentials, and therefrom filter out all of backup snapshots file.
The restoration methods of Hyper-v virtual machine the most according to claim 1, it is characterised in that described VSS backup assembly letter Breath includes: virtual machine backup listed files;All of snapshot document in described acquisition described VSS backup module information, including: obtain Take described virtual machine backup listed files, and therefrom filter out all of user's snapshot document.
The restoration methods of Hyper-v virtual machine the most according to claim 1, it is characterised in that walk at described newly-built GUID Also include before rapid: virtual machine reforestation practices selects step, and described reforestation practices also includes: recover described by VSS interface Hyper-v virtual machine.
6. the recovery system of a Hyper-v virtual machine, it is characterised in that described Hyper-v virtual machine prestores VSS backup group Part information, described VSS backup module information includes: the GUID of described Hyper-v virtual machine and snapshot document, described system bag Include:
Newly-built GUID module, is used for: obtain a GUID of described Hyper-v virtual machine, and Hyper-v described in stochastic generation is empty 2nd GUID of plan machine;Obtain all of snapshot document in described VSS backup module information, and the most each described snapshot document Stochastic generation the 3rd GUID;
Replace GUID module, be used for: a described GUID is replaced with described 2nd GUID;Search each described snapshot document GUID, and its one_to_one corresponding is replaced with each described 3rd GUID;
Virtual machine recovers module, is used for: back up Hyper-v virtual machine described in assembly information initializing with the VSS replacing GUID VSS assembly, automatically organize and recover, for the VSS assembly after initializing, the Hyper-v virtual machine made new advances, and by calling VSS interface is enrolled.
The recovery system of Hyper-v virtual machine the most according to claim 6, it is characterised in that described VSS backup assembly letter Preservation when breath also includes backing up: profile information, snapshot document title, the content of snapshot document and disk file data; VSS assembly after described initialization is automatically organized and recovers the Hyper-v virtual machine made new advances, including:
Read described profile information, snapshot document title, the content of snapshot document, and the most original GUID correspondence is replaced It is changed to newly-built GUID and recovers;
Read described disk file data and recover.
The recovery system of Hyper-v virtual machine the most according to claim 6, it is characterised in that described VSS backup assembly letter Breath includes: virtual machine file membership credentials;All of snapshot document in described acquisition described VSS backup module information, including: obtain Take described virtual machine file membership credentials, and therefrom filter out all of backup snapshots file.
The recovery system of Hyper-v virtual machine the most according to claim 6, it is characterised in that described VSS backup assembly letter Breath includes: virtual machine backup listed files;All of snapshot document in described acquisition described VSS backup module information, including: obtain Take described virtual machine backup listed files, and therefrom filter out all of user's snapshot document.
The recovery system of Hyper-v virtual machine the most according to claim 6, it is characterised in that also include: virtual machine is extensive Complex pattern selects module, is used for judging whether to enter newly-built virtual machine reforestation practices;Recover if it is not, then enter through VSS interface The pattern of described Hyper-v virtual machine.
CN201610695056.2A 2016-08-19 2016-08-19 The restoration methods of Hyper v virtual machine, system Pending CN106250275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610695056.2A CN106250275A (en) 2016-08-19 2016-08-19 The restoration methods of Hyper v virtual machine, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610695056.2A CN106250275A (en) 2016-08-19 2016-08-19 The restoration methods of Hyper v virtual machine, system

Publications (1)

Publication Number Publication Date
CN106250275A true CN106250275A (en) 2016-12-21

Family

ID=57592859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610695056.2A Pending CN106250275A (en) 2016-08-19 2016-08-19 The restoration methods of Hyper v virtual machine, system

Country Status (1)

Country Link
CN (1) CN106250275A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312309A (en) * 2020-02-26 2021-08-27 顺丰科技有限公司 Management method and device of snapshot chain and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2693340A1 (en) * 2011-03-31 2014-02-05 Hitachi Solutions, Ltd. Information processing system, backup management method and program
CN103678037A (en) * 2013-11-26 2014-03-26 上海爱数软件有限公司 Hyper-v virtualization platform recovery method without deleting original virtual machine
CN103729264A (en) * 2013-12-23 2014-04-16 国云科技股份有限公司 Method for backing up and restoring Windows virtual machine system disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2693340A1 (en) * 2011-03-31 2014-02-05 Hitachi Solutions, Ltd. Information processing system, backup management method and program
CN103678037A (en) * 2013-11-26 2014-03-26 上海爱数软件有限公司 Hyper-v virtualization platform recovery method without deleting original virtual machine
CN103729264A (en) * 2013-12-23 2014-04-16 国云科技股份有限公司 Method for backing up and restoring Windows virtual machine system disk

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王淑江: "Hyper-V 3 虚拟机快照", 《HTTPS://TECHNET.MICROSOFT.COM/ZH-CN/JJ244577》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312309A (en) * 2020-02-26 2021-08-27 顺丰科技有限公司 Management method and device of snapshot chain and storage medium

Similar Documents

Publication Publication Date Title
US11068349B2 (en) Selective processing of file system objects for image level backups
CN106874066B (en) Virtual machine migration method and device and electronic equipment
CN104407938B (en) A kind of a variety of granularity restoration methods after virtual machine image level backup
US10162714B2 (en) Methods and systems for restoring data containers in a storage system
CN104216801B (en) The data copy method and system of a kind of Virtual environment
AU2012347883B2 (en) System and method for restoring application data
US9411691B2 (en) Virtual machine disaster recovery
CN104102556B (en) A kind of magnetic disk of virtual machine data backup and restoration methods
US20120072393A1 (en) Selective virtual machine image replication systems and methods
US9268778B2 (en) Efficient backup of virtual data
US9792075B1 (en) Systems and methods for synthesizing virtual hard drives
US9336131B1 (en) Systems and methods for enabling virtual environments to mount non-native storage disks
CN106126427A (en) A kind of method and system of fast quick-recovery test
US10877854B2 (en) Partial restore from tape backup
CN106372160A (en) Distributive database and management method
CN111078719A (en) Data recovery method and device, storage medium and processor
CN103577246B (en) The method and apparatus for preventing virtual machine from escaping
CN106445735A (en) Data recovery method and system for VMware virtual machine
US20200293411A1 (en) Direct access to backup copy
CN106250275A (en) The restoration methods of Hyper v virtual machine, system
CN109324867A (en) A kind of virtual machine temporary storage method, restoration methods and device
CN107368330A (en) Client patch restorative procedure, device and system
US10635636B1 (en) Hyper-V virtual machine synthetic full backup where user and recovery snapshots coexist
JP2007249949A (en) Device for storing variable value to provide context for test result to be formatted
CN114996955A (en) Target range environment construction method and device for cloud-originated chaotic engineering experiment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200310