CN103559100B - Server is utilized to preserve method and the server of client data - Google Patents

Server is utilized to preserve method and the server of client data Download PDF

Info

Publication number
CN103559100B
CN103559100B CN201210206505.4A CN201210206505A CN103559100B CN 103559100 B CN103559100 B CN 103559100B CN 201210206505 A CN201210206505 A CN 201210206505A CN 103559100 B CN103559100 B CN 103559100B
Authority
CN
China
Prior art keywords
backup
backup groupings
groupings
list
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210206505.4A
Other languages
Chinese (zh)
Other versions
CN103559100A (en
Inventor
黛安娜·C·汤普森
卡罗莱娜·P·乌尔曼
珍妮特·L·施奈德
埃里克·A·赫尔曼
帕特里克·M·西蒙尼奇
内森·A·克里热
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.)
EMC Corp
Original Assignee
EMC Corp
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
Priority claimed from US11/169,418 external-priority patent/US7716185B2/en
Priority claimed from US11/170,015 external-priority patent/US7523278B2/en
Priority claimed from US11/169,853 external-priority patent/US7549028B2/en
Priority claimed from US11/169,419 external-priority patent/US8024292B2/en
Application filed by EMC Corp filed Critical EMC Corp
Publication of CN103559100A publication Critical patent/CN103559100A/en
Application granted granted Critical
Publication of CN103559100B publication Critical patent/CN103559100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method utilizing server to preserve client data and server.For the method preserving the data from the first client, described first client is included in the system of one or more clients including communicating with server, described server performs backup operation to the data from the one or more client, described data are grouped in backup groupings, the method comprises the following steps: sending signal, this signal designation should generate single snap shot;Receive the list of one or more backup groupings;List according to the one or more backup groupings received, create the backup groupings list revised, the described backup groupings List Identification revised goes out the backup groupings used in the establishment of snapshot, and wherein, the described backup groupings list revised includes starting backup groupings and terminating backup groupings;The backup groupings list revised described in transmission;And receive instruction snapshot establishment the most successfully signal.

Description

Server is utilized to preserve method and the server of client data
The application is filing date on June 29th, 2006, Application No. 200680031467.6, invention entitled " utilizes The establishment of the single client snapshot of client application " the divisional application of Chinese patent application.
Technical field
The present invention relates to the system and method for Backup Data.More specifically, embodiments of the invention relate to the use of list The backup of secondary client snapshot and the system and method for recovery data.
Background technology
In the interaction behavior of current a lot of individuals and enterprise is the society of data-driven, data can be owing to being such as The system various events such as fault, virus, power-off and become easily to be lost or corrupted.Due to utilizing cyber-net to perform weight The dependency of the enterprises and individuals's activity wanted increases day by day, and data backup becomes the key character of computer network.Any access The people of computer and/or network expects can easily, accurately and reliably access data.When computer or network must " stop Machine (down) " with backup or when recovering the data lost, individual and the Business Processing of enterprise can be had a strong impact on downtime.To nothing The demand interrupting access data is equivalent to the needs to the software and hardware that can meet this offer data and demand for services.
Conventionally by utilize software to realize data backup and resume, wherein this software backup data from backup copy Middle recovery data.Along with data volume continues to increase, the backup of data and recovery become to become increasingly complex.Currently cannot be by gigabit word The data of joint to another catalogue, and make data directory off-line be not one for backup purpose from a catalogue fast transfer Individual attractive selection.
In addition to backing up file systems, back up other categorical data of such as application program and service routine to become more to have Necessary.But, application program and the service routine generally opened file when backup starts.Traditional system is utilized typically cannot Effectively back up the file opened, and in backup operation, often skip the file opened.Therefore, generally require additionally Application program help to process the backup of opened file, and manage the backup log of file being skipped in the backup.
Operating system proposes another challenge to software and the system of Backup Data.The complexity of operating system typically requires behaviour It is backed up logical block with preservation system or the state of client as system.If recovered from backup partially or incompletely Operating system, then the incremental backup of operating system may cause discordance or the system failure.In other words, backup file system Itself can't the state of effective standby system, and mistake when recovering may be caused.Operating system generally and data base or its Its data directory is used together, wherein has to back up data base and other data directory when preserving system mode.It addition, behaviour Making system to be typically as application program and service routine across computer system distribution, this fact makes the effective of data Backup and recovery become complicated.
Expect to combine with the storage demand increased to create for quick backup data without interruption service to providing And the needs of the system and method for minimally interrupted application program and service routine.
Summary of the invention
The present invention provides a kind of method utilizing server to preserve client data and server, to utilize single client Snapshot quick backup and recover data, and minimally interrupted application program and service routine.
The present invention provides a kind of method for preserving the data from the first client, and described first client is included in In system including the one or more clients communicated with server, described server is to from the one or more visitor The data of family end perform backup operation, and described data are grouped in backup groupings, and the method comprises the following steps:
Sending signal, this signal designation should generate single snap shot;
Receive the list of one or more backup groupings;
According to the list of one or more backup groupings received, create the backup groupings list revised, described repair The backup groupings List Identification changed goes out the backup groupings used in the establishment of snapshot, wherein, the described backup groupings revised List includes starting backup groupings and terminating backup groupings;
The backup groupings list revised described in transmission;And
Receive instruction snapshot and create the most successfully signal.
The present invention provides a kind of server, in including the system of one or more clients communicated with server, The storage of described server is from the backup copy of the data of the one or more client, and server includes:
The server component of backup/restoration application program, wherein, described server component is configured to:
Sending signal, this signal designation should generate single snap shot;
Receive the list of one or more backup groupings;
According to the list of one or more backup groupings received, create the backup groupings list revised, described repair The backup groupings List Identification changed goes out the backup groupings used in the establishment of snapshot, wherein, the described backup groupings revised List includes starting backup groupings and terminating backup groupings;
The backup groupings list revised described in transmission;And
Receive instruction snapshot and create successful signal.
By using identical snapshot to perform backup based on identical time point, the invention enables across FTP client FTP Backup Data is consistent and synchronizes such that it is able to effectively realize quick backup data minimally interrupted application program and Service routine.
Accompanying drawing explanation
In order to the above and other feature of the present invention is expanded on further, will carry with reference to the specific embodiment being illustrated in accompanying drawing Detailed description for the present invention.It is to be appreciated that the exemplary embodiments of the present invention only described by these accompanying drawings, the most therefore recognized For limiting the scope of the present invention.By by utilizing the supplemental instruction of accompanying drawing and details to describe and explain the present invention, wherein:
Fig. 1 explanation is for implementing the exemplary environments of the embodiment of the present invention;
Fig. 2 explanation is for performing backup and/or the example system of recovery operation;
Fig. 3 A explanation is for organizing the exemplary user interface compiling backup groupings;
Fig. 3 B explanation is for organizing the another exemplary user interface compiling backup groupings;
The exemplary user interface of Fig. 3 C explanation recovery operation;
The another exemplary user interface of Fig. 3 D explanation recovery operation;
Fig. 4 A explanation is for creating and use the exemplary process diagram of single snap shot;
The exemplary modification list of the backup groupings that Fig. 4 B explanation selects based on the backup groupings illustrated by Fig. 3 A;
The exemplary lists of the backup groupings that Fig. 4 C explanation selects based on the backup groupings illustrated by Fig. 3 B;
Fig. 5 explanation is for generating the embodiment of the system of snapshot;
Fig. 6 is the exemplary process diagram for generating snapshot;
Fig. 7 is the exemplary process diagram for Backup Data;And
Fig. 8 is the exemplary process diagram for recovering data.
Detailed description of the invention
Embodiments of the invention relate to selective backup and/or recover the system and method for data.As used herein , catalogue that term " data " may include but be not limited to can be stored in one or more storage devices of client (such as volume, File system etc.), user data, system data, application program, service routine, operating system etc..Backup or recovery operation system Backup can be included or recover define at this or the skilled addressee will appreciate that any data.Can be organized in by data set need not be right Answer in the logical directories of particular storage device.Even if data may be present in multiple different storage device, still can be by data set It is organized in logical directories and subdirectory, so that user can position information easily.In one example, exist In operating system, master catalogue is referred to as rolling up (volume).Volume includes being positioned in client of such as c drive and D driver It is typically stored volume, even if C or D driver itself can include multiple hard disk.User needs not know about which particular disk to obtain letter from Breath.Accordingly, there exist catalogue to help the data on the complete roaming client of user.Can have what client can be accessed by network Other catalogue.It addition, will be described with as follows, catalogue and subdirectory group can be organized in backup groupings (backup grouping) In, optional backup groupings performs to back up or recover the data corresponding with this backup groupings.Also can exist particular for visitor Other catalogue of family end specific function.Such as, existIn operating system, client operation system can be preserved by relating to The specific data sets of system state is organized in operation system state volume (being referred to herein as VSS volume).Further, VSS volume can include can use In other application program and/or the service routine that recover client data.For VSS volume, can relate to more than one storage and set Standby, and the data of VSS volume can exist in the different storage device of client computer, such as c drive, D driver and/or its Its driver.Therefore, the VSS volume of logical organization being only used for positioning data, and it is not offered as the actual set of storage device. But, in one embodiment, all data belonging to VSS volume can be placed in the storage device of single uniqueness rather than divide In cloth multiple storage devices on the client.Utilize at thisOperating system describes the present invention as example. It is, however, to be understood that the system and method being used for backing up and recovering client also apply be applicable to other operating system.Example As, other operating system may typically expect the some or all of aspects of backup operation system mode.It addition, other operation system System utilizes catalogue or file system to be present in the data of client to help user to roam completely.Therefore, term " catalogue " can be with Term " is rolled up " or " file system " exchange uses, and organizes any mode of data in client in logic to represent.
The system and method for the present invention utilizes single snap shot to realize client data at single time point (point-in- Time) time point copy.Snapshot is the initial data of one or more volume or the read-only point in time copy of content or expression, from And actual copy can be made on another locally or remotely stored equipment.Single snap shot allows to back up at single time point simultaneously Some or all of data in the client of multiple volumes and/or subdirectory, so that it is guaranteed that when user recovers or access backup number According to time, the Backup Data of client is all synchronized to specific time point.Time point copy bag on locally or remotely stored equipment Include the useful backup being previously turned on file, also provide for the backup to operation system state simultaneously.This makes the operating system can quilt Revert to logical block, and do not destroy the operation system state of system.Embodiments of the invention also make to be selectively backed up and/ Or recover client or system component.
Typically, selection is related to all backup groupings of volume of client to be backed up or computer by user.In these feelings Under shape, single snap shot captures all data expression at single time point of the volume of client or computer, so that, example As, operation system state is also consistent with single time point.But, it is intended that not all client data needs the user being backed up Part in optional all backup groupings.User is known that change the situation only occurred in some backup groupings has very much by this With, without the backup performing whole customer data systems.By accessing user circle with backup/restoration interapplication communications Face, user may select one or more backup groupings.Backup groupings can include the information identifying item to be backed up.Because identifying Item in backup groupings can be distributed in multiple volume, and embodiments of the invention can ensure that and include the volume of correspondence also in single snap shot The data of properly backed up correspondence, will be described with as follows.
When a backup is performed, process or the system request client of the storage that controls data to be backed up is temporarily freezed or suspends Operation.During pausing operation, create the single snap shot of data.After the single snapshot is created, application program and/or service journey The directed recovery operation of sequence, performs backup from single snap shot simultaneously.Pausing operation makes the file opened be captured and reflect In single snap shot.Therefore do not skip, when backup, the file opened.Additionally, before the creation of the single snapshot, notice Service routine to be backed up or application program, and provide the time suspended and prepare backup.So, backup/restoration application program Guarantee that paused business and data to be backed up are in consistent state.
1, general introduction is for the exemplary environments of Backup Data
Fig. 1 explanation be applicable to the present invention for creating network data snapshot and the example of backup/restoration network data Sexual system.Although Backup Data can be carried out by the system of Fig. 1 according to the present invention, but embodiments of the invention also can have to be backed up Data other network in realize.Fig. 1 shows server 102, itself and the client represented by client 104,106 and 108 End association.Each client 104,106 and 108 can have the data in storage volume (storage volume), described storage volume It is locally and/or remotely relative to respective client.Storage volume represents the one of client and application program and service routine Individual or multiple volume or driver.Such as, client 108 have comprise data (include application program, service routine and/or Volume) memorizer (storage) 109.Additionally, service routine represents a kind of Application Type, and therefore it is referred to alternatively as at this Application program.
Each client 104,106 and 108 represents the system with data to be backed up.Each client can relatively easy (such as Desk computer) or relative complex (such as one of large database server or server zone).Client can also be network On node or storage device in storage area network (SAN).Each client 104,106 and 108 also can be different from service Operate under the operating system of device 102 or platform.In the environment of backup operation, client can be grasped under the control of server 102 Make.
As used in this, term " user " refers to operate the people (such as manager) of server 102.Or, use Family may refer to the people at client 104,106 and/or 108.Both users have the ability to start request backup or extensive It is multiple, even if it is understood that server 102 can have the additional function not being suitable for client 104,106 or 108.User Timetable can be set up, automatically the data of client 104,106 and/or 108 are performed backup operation for defining server 102 Time.But the user in client also can start special backup operation and recovery operation.In the example of fig. 1, service Device 102 has accessed the backup of memory 110 of one or more copies of storage client data.Backup of memory 110 can be located at In server 102 or different from server 102 and be separated from each other.Data 114 represent by server 102 back up backup Data on memorizer 110.
Server 102 general control and the backup operation instructing Servers-all to start or process.Client controls special Backup and recovery operation.In one embodiment, backup groupings is utilized to carry out Backup Data.But, even if using backup point When group, still utilize the single snap shot of FTP client FTP to perform the backup of backup groupings.
In hope, the key component (critical component) of operation system state is backed up and reverts to consistent list When unit, single snap shot is useful.In other words, operating system may be included in any appointment timing definition operating system The file of state or data.When server 102 performs system backup, it is ensured that utilize identical snapshot to back up and operating system Relevant properly backed up packet, to guarantee the consistent time point backup operation system in client.Should be backed up except having Outside the operating system application-specific of the assembly of consistent unit and service routine, client may also include other application program Or service routine.Such as, as it has been described above,In operating system, these application programs and service routine are together with behaviour Make system mode assembly can be placed in VSS volume.However, it is possible to any be decided by design consider suitable method group compile and/ Or packet client data.
Refer again to Fig. 1, server 102 also store and manage simultaneously presence server itself with on backup of memory 110 Client file index 112 and media roll 116.Client file index 112 is the index of Backup Data item.Media roll 116 It it is the index of duplicate volume.Here, client file index 112 and media roll 116 are referred to as " online indexes ".Online indexes is general Complete to be stored in afterwards on backup of memory 110 in backup operation.But, it will be appreciated that in order to during restoration can Recovering catalogue and item, other operating system can use the data structure being similarly used for keeping catalogue and the item being backed up.
2, for creating the example system of single snap shot
Referring briefly to Fig. 2, it illustrates a kind of for creating single snap shot and performing the exemplary of backup and recovery operation System.As shown in it, backup/restoration application program 202 starts backup/restoration operation.As used in this, this backup/extensive Multiple application program is also referred to as request unit (requestor), or is in other words request backup or the application of recovery operation Program.By backup/restoration application program 202, user may select all or specific backup groupings and backs up or recover.Example As, in the embodiment of fig. 2, backup/restoration application program 202 can have server component 202A and client component 202B, Server component 202A and client component 202B is in communication with each other to realize backup or recovers function.Although server component 202A The ingredient of whole backup/restoration application program 202 with client component 202B, but it will be understood that so that Server 102 and client 108 are able to carry out respective function, server component 202A and client component 202B Different.Ingredient at backup/restoration application program 202 is divided into two parts or when even three part, by energy Being understood by, the arrangement of assembly shown in Fig. 2 can be different, and the system of Fig. 2 be by way of example and not by way of limitation herein by There is provided.In less typical embodiment, backup/restoration application program 202 can exist only in server (in this case, clothes Business device can have the characteristic of client) or exist only in client (in this case, client can have the characteristic of server). As in figure 2 it is shown, the backup of memory 204 phase intercommunication that backup/restoration application program 202 accesses with this backup/restoration application program Letter, to perform backup and/or to recover function.
Client component 202B and the snapshot manager 206 being placed in client in one embodiment are in communication with each other.Snapshot Manager 206 starts snapshot generator 208, starts the establishment of single snap shot with this.If desired, snapshot generator 208 is asked temporarily Stop paying out the operation in the system (such as client 108) of raw backup, until creating snapshot.Snapshot generator 208 and inclusion The memorizer 210 of reason data 212 communicates, and creates single snap shot 214 from physical data 212.
3, the exemplary backup packet being used in backup/restoration data
As it has been described above, client data to be backed up or item may include but be not limited to volume, user data, system data, answer By program, service routine, operating system and/or like this.Client data group can be organized in catalogue or volume, described volume Also have hierarchy of sub-directories and show with in the user interface of backup/restoration interapplication communications.It addition, described level makes User is prone to specify specific volume or subdirectory to back up.Also described volume and subdirectory group can be organized in term " backup groupings " In, described backup groupings is defined herein as the set of data or item, wherein said data or item server 102 and specific visitor Backup dialogue between family end (such as client 108) is backed up.Therefore backup groupings can include whole volume, the portion of whole volume Point or be distributed in the data on one or more volume, described backup groupings include but not limited to file group, whole file system, The application program of such as data base or operation system information generates data etc..Backup groupings may also include application program, or service Program, or the assembly of application program, service routine, and/or it is distributed in the operating system on one or more volume.In order to it is described Middle backup groupings includes the example being positioned at the information of more than one volume, and backup groupings can comprise the letter relating to operation system state Breath, but this information is positioned on different volumes.Therefore, term backup packet is used as organizational tool, can patrol for mark location Collect upper ownership file together.
Certain operations system includes the write assembly operated together with application program or service routine, with on a storage device Storage information.Such as, existIn operating system, write assembly is referred to as " write-in program ".Therefore, term " write Program " and " write assembly " will alternately be used to refer to provide any assembly of this function.Further, write assembly can be with bag Include snapshot and generate the backup/restoration hardware and software interaction of hardware and software.It is said that in general, write-in program and at least one Application program to be backed up or service routine are corresponding.Data relevant to write-in program in backup groupings can be further disposed upon Different volume, subdirectory etc..Such as, write-in program can store data to more than one volume.It addition, some are rolled up and write with any Enter program unrelated.Therefore, it is possible to backup groupings can be corresponding with such information, this information is stored in relevant to write-in program The upper volume the most unrelated with any write-in program of volume on or both on.One or more files of client may relate to operation System mode.In one embodiment, as it has been described above, backup groupings can be used for organize volume to relate to the operation system state of client File.Such as,The volume shadow copy service (Volume Shadow Copy Service) provided, And configurable VSS volume structure is used for backing up the operation system state of the client operated on Windows@.It addition, as above institute Stating, VSS volume includes that other application program and/or service routine, described application program and/or service routine include write-in program. VSS volume provides organizational tool to relate to the data of operation system state with backup.Preserve the operation system state about client Backup groupings so that user can recover their operating system and return it to previous state if necessary, this with Family is important in the case of losing operating system driver or whole machine.Otherwise, user will must rebuild their system, Reconfigure service routine and reinstall and reconfigure application program.
The volume shadow copy service that realization described here is closed with logic VSS clove hitchOperation system System, is only group and compiles the exemplary approach of the backup groupings relating to client data.Other operating system platform can use similar or Different methods compiles backup groupings for the data set relating to client.But, utilizeShowing of operating system Example, Fig. 3 A and 3B shows two example user interface 302A and 302B, and the backup each with different group volume clients divides The mode of group.User interface 302A, 302B can be relevant to backup/restoration application program, and this is further described below.User Can be mutual, to select specific backup groupings to be saved with user interface 302A or 302B.Or, user can simply list treat standby The backup groupings of part, and do not use user interface.Further, it is also possible to user selects " owning " backup groupings to be backed up.Real On border, in the case of user considers consistent backup operation system mode, user may select all backup groupings (at least Selection relates to those of VSS volume) it is backed up.
Fig. 3 A explanation includes that the interface 302A of multiple volume, each volume are identified by specific alphanumeric character and are commonly called Driver (such as, A: driver, C: drive, D: driver etc.).Also configure that multiple VSS backup groupings 328 for backing up/ Recover function.As shown in Figure 3A, relate to the backup groupings 326 of some volume of system and relate to the backup groupings of operation system state 328 in identical tree.Contrasting with this, in figure 3b, the backup groupings 354 relating to main VSS volume is arranged at tree 350 times.
With reference to Fig. 3 A as example, but this example also apply be applicable to Fig. 3 B, backup groupings 328 include backup groupings 306, 308,310,312,314 and 316, these are system backup packets and can include operating system write-in program and write-in program group Part.Owing to a lot of assemblies of system backup packet 328 can have dependency, it is preferred that user selects all backup groupings 328(i.e., relates to those backup groupings preserving the operation system state of client), thus can be that all backup groupings create list Secondary snapshot, and the preservation that each is backed up by the execution of available single snap shot.Utilize identical snapshot can realize all systems The backup of backup groupings.This operation system state guaranteeing to recover client in the way of consistent with needed for recovery.So And, as mentioned above and as Fig. 3 A reflects, user may select the incremental backup group of the operation system state relating to client It is backed up, and utilizes single snap shot to back up these selected backup groupings.
In one embodiment, backup groupings 328,354 is dynamic construction, and can be based partially on which write-in program and exist The content being dynamically determined backup groupings 328,354 is run in client.When the writers of a client are enumerated or identified, The write-in program of same type becomes the write-in program in specific backup groupings.Therefore, relevant to specific backup groupings write Program has identical type.The most in figure 3 a, write-in program 324 is respectively provided with identical type and is included in backup groupings In 310.If the write-in program of application-specific or service routine unavailable (that is, do not run or non-existent), the most suitably File can be backed up via file system when selecting corresponding volume for backup.For given backup operation, backup point Some in group can include operating write-in program, and other may not include any write-in program.
The above-mentioned discussion about write-in program is not necessarily to be construed as requiring write-in program and each volume or backup groupings phase Close.Likely volume is unrelated with any write-in program.If the information corresponding with backup groupings is positioned at unrelated with write-in program On volume, then it is also possible to backup groupings is unrelated with any write-in program.Volume also can be relevant to write-in program, but relates to behaviour with any The backup groupings making system mode is unrelated.
It will be understood that the present invention is not required for each single time is actually backed up full backup packet.It is to say, User may specify that some backup groupings is backed up.Therefore, in the case of in user selects all backup groupings, part is backed up, The logical structure of Fig. 3 A and 3B may be final different.Such as, the structure of Fig. 3 A provides what some related to operation system state to treat group Compile backup groupings as master catalogue so that they can be chosen.As shown in Figure 3A, if user wants, user may select Or list system drive D, VSS system bootstrap routine and VSS user data is backed up.Contrast with this, in figure 3b, by institute VSS backup groupings group is had to weave into the subdirectory under main VSS volume so that user may select whole VSS volume.Such as, such as Fig. 3 B Shown in, as the case may be depending on, user is optional or lists system C drive, system D drive and VSS volume and is backed up. By selecting VSS volume, the whole operation system state catalogue including all backup groupings relating to operation system state will be often Secondary selection is backed up when VSS volume.The more convenient user of structure of Fig. 3 B is prone to utilize single selection (i.e. VSS :) to identify and relates to behaviour Make all backup groupings of system mode, because in some cases it is desired to ensure that operation system state is occurring operation system every time It is consistent during system status data backup.But, if it is desired to if, the also optional son relating to operation system state of user divides Group, without selecting all operations system mode subgroup.
No matter user is to select all backup groupings is backed up or only selects some backup groupings to be backed up, all can from The volume establishment single snap shot that selected backup groupings is corresponding.Therefore, for the example of Fig. 3 A, can drive from c drive volume and D Dynamic device volume creates single snap shot.It addition, include and the packet of VSS System Boot backup, VSS system file in single snap shot The volume that collection backup groupings is corresponding with VSS system service program backup groupings.In one embodiment, with VSS backup groupings phase Corresponding volume may actually be c drive volume and D drive volume, thus need not include the volume added in single snap shot.Separately In one embodiment, may further indicate that the volume in addition to those volumes corresponding with selected VSS backup groupings so that at list Secondary snapshot can include the volume added.For Fig. 3 B, can roll up from c drive, D drive volume and with VSS volume of backup groupings phase (again, it corresponding can be positioned at the letter of the such as volume being included in single snap shot of c drive volume and D drive volume to the volume closed Breath) create single snap shot.In either case, after the single snapshot is created, the backup process of each backup groupings can use phase Same snapshot, to form backup operation from this snapshot.Therefore, selected backup groupings (or whole FTP client FTP, if the phase If prestige) backup can be reflected in the backup of single time point.
As described in the foregoing exemplary process, snapshot manager 206 and snapshot generator 208 start single snap shot, are used for holding The preservation process of any backup groupings of row.Comparing the recovery that conventional backup programs provides, this provides more consistent recovery.Example As, when installing a new piece of hardware, generally also need to new driver is installed.It is, in general, that new driver comprises relates to it The information of operation.Some of this information are stored in an operating system write-in program, and other data are stored in and can belong to In one or more files on the hard disk drive of other write-in program.This information is accessed by operating system when needed, and Work correct for driver is required.In those write-in programs, that of memory driver data can be a backup groupings In, and another write-in program comprising the file with drive data can be in different backup groupings.If two standby Part packet is all saved less than from identical snapshot, then a part for this information may not be Tong Bu with other parts.
Contrasting with this, the present invention proposes: for creating the volume corresponding with selected backup groupings at single time point The situation of single snap shot, server 102 instructs client 108 to utilize single snap shot to perform the preservation operation of each backup groupings. Further, the backup groupings sharing file guarantees to update, at identical time point, the file shared, and this makes omission important information Probability minimize.Therefore, the present invention proposes, and Backup Data is based on the single time provided by single client snapshot Point benchmark, so that the selected data being actually backed up are to be formed from identical time point benchmark.Type of backup Can change.Such as, some backup groupings can be performed the backup being incremented by.Or, full backup can be performed.
But,In operating system embodiment, when the backup groupings comprising write-in program is just backed up, Generally perform the full backup of all write-in programs in backup groupings, to preserve the operation system state of client or to preserve the most standby The application program of part or the state of service routine.In some instances, one of write-in program of backup groupings may not be backed up. This can occur, such as, when the data associated with that writer has not changed.So can improve the performance of backup, especially If the application program identified by this write-in program is big.In other words, it is to avoid backing up unchanged big application program can improve Backup performance.But, if the data of application program change, the most generally perform the full backup of application program.
Fig. 3 C and 3D further illustrates and exists for selective recoveryThe client run in operating system The exemplary user interface of upper data.In fig. 3 c, interface 302C display backup groupings 310 and 314 is selected for recovering. Further, the subgroup such as write-in program 324 in backup groupings 310 and assembly 313, can be selected for recovering, and not Essential select whole backup groupings 310 and be backed up.The recovery interface 302D that Fig. 3 D explanation is corresponding with the logical structure of Fig. 3 B, but real There is in matter the function identical with the interface 302C of Fig. 3 C and purposes.
4, for creating the illustrative methods of single snap shot
With reference to Fig. 4 A, will be described in now utilizing the example system of Fig. 2 to create the list for backup client end data The exemplary flow of secondary snapshot.Fig. 4 A illustrates that client and server is the most mutual in one embodiment, to create single visitor Family end snapshot.In step 402, backup/restoration application server component 202A starts on server 102.In step 404, clothes Business device assembly 202A starts backup/restoration application client component 202B on the client.In step 406, client component 202B is the list that this client generates all possible backup groupings, and this list is sent back server component 202A.
In step 408, server component 202A receives the list of backup groupings, thus user may select one or more can Backup groupings be backed up.As it has been described above, user may select all backup groupings or only selects specific backup groupings to be backed up. As used in this, term " user " refers to make anyone of selection which backup groupings is backed up.Therefore, Yong Huke Refer to the people of operation client computer, or operate the management of client computer via server or other graphic user interface Member.User can be in the backup groupings to be saved of any time point selection before backup.Such as, user can determine that selection is pre-configured with Backup group select, identical selection is used for a series of backup dispatched in advance.In one embodiment, configuration groups of clients Part 202B so that all backup groupings are preconfigured to be and preserve when performing backup every time.This embodiment can ensure that, often During secondary execution backup, in consistent datum mark backup operation system mode.But, as mentioned above, it is also possible to user only selects Some backup groupings is backed up, and performs this selection process before performing backup every time.
In step 409, server component 202A can create the backup groupings selecting backup group including being selected by user The list revised.The list revised is additionally included in the startup backup groupings 512 of list beginning and in end of list (EOL) The termination backup groupings 514 at place.The list revised briefly understands the processing sequence of selected backup groupings, and the present invention It is not limited to create actual backup groupings list.In another embodiment, user can be primarily based on may can in client Potential backup groupings list select backup groupings, then by this selection with client can be actually backed up packet row Table compares.Other change is also possible.
Fig. 4 B shows an example of the modification list 500 of backup groupings, and the list 500 that this has been revised existsIn the exemplary embodiment of operating system, the selection in figure 3 a of available mark is created in server component At 202A.In one embodiment, the modification list of backup groupings is always included in the startup backup groupings of list beginning 512 and termination backup groupings 514 at end of list (EOL).Such as, as shown in Figure 3A, user selected backup groupings 502,504, 506,508 and 510 are used for backing up.In addition to selected backup groupings 502,504,506,508 and 510, also in list Beginning and end at include starting backup groupings 512 and terminating backup groupings 514.It should be noted that similarly, Fig. 4 C Show that the selection shown on user interface 302B of available Fig. 3 B is to create the modification list 516 of backup groupings.At this Under situation, the list 516 revised can include start backup groupings 512, selected backup groupings 518,520 and 522, and Terminate backup groupings 514.Certainly, how the list revised can be organized volume backup groupings according to specific operation system and change.
Start backup groupings 512 and termination backup groupings 514 is pseudo-backup groupings, because they are to be sent to client First of assembly 202B and last backup groupings, but it is not rely on any specific volume.They be used to create and The snapshot that deletion single snap shot and holding are created.It will be understood that preferably, the establishment of modification list 500 to Family is transparent.
Under any circumstance, in step 410, the modification list of backup groupings is sent to client by server component 202A End assembly 202B.In step 412, by sending the startup backup groupings 512 in modification list, server component 202A knows Do not send other backup request any to specific client, but wait until and receive single visitor from client component 202B The signal that the generation of family snapshot is success or failure.If the failed regeneration of single snap shot, then backup/restoration application program 202 can use default procedure, for generating the snapshot of each selected backup groupings respectively, and are not they to be gathered In single snap shot.
In step 414, client component 202B receives and comprises the row revised starting and terminating backup groupings 512,514 Table.In step 416, started the snapshot manager 206 being positioned at client by the execution of startup backup groupings 512.
In step 418, the list revised is sent to snapshot generator 208 by client component 202B.In step 420, Snapshot generator 208 is activated, and this will start the establishment of single snap shot.Waiting that the snapshot from snapshot generator 208 creates During the signal completed, snapshot manager 206 remains on state.
In step 422, by managing the mark of all volumes, snapshot according to the backup groupings item identified in modification list The establishment of single snap shot planned as a whole by maker 208.In one embodiment, snapshot generator 208 can include all of copy set Identified volume also asks the establishment of snapshot.Term copy sets is for censuring the packet including the volume in single snap shot.Copy Bei Jike is list or other mark that should be included in the volume in single snap shot.Because each operating system differently creates snapshot, Do not describe the details creating snapshot at this, but utilize example system to be described as follows.Once snapshot is created, then snapshot and road Footpath name is correlated with, so that backup/restoration application program can position this snapshot subsequently.Will be further discussed as follows, single creating During secondary snapshot, client component 202B suspends the write-in program operation in client 108.It addition, in one embodiment, unit's number According to also generating together with single snap shot.
If snapshot is successful, then in step 423, the unit that snapshot generator 208 will generate when creating single snap shot Data are added to snapshot, to include the additional information preserved execution or backup process is useful.It addition, for location revised fast According to document creation filename, no matter this snapshot document revised is stored in client 202B Anywhere.This will be following Describe in detail.In step 424, snapshot is created successful signal and sends to server component 202A.This indicates server component 202A starts preservation process.In step 425, this snapshot generator sets an event, and this time will be used for receiving and when can delete Signal except snapshot.In step 426, snapshot manager 206 exits, and snapshot generator 208 remains on state.Snapshot generates Device 208 remains on state, until all preservation processes of selected backup groupings all complete, and until this snapshot is deleted Remove.
In step 426, before exiting, the snapshot document name revised is divided by snapshot manager 206 together with starting backup Group 512 returns to server component 202A, and the snapshot revised described in server component 202A receives in step 428 together Name and startup backup groupings.In certain embodiments, this action can be used for notifying that server component 202A single snap shot creates into Merit, and do not create single action 424.Under any circumstance, the snapshot document name revised connects with startup backup groupings 512 Receive instruction server component 202A can start now to preserve process.
In step 429, server component 202A begins to send requests to client component 202B, is repairing to preserve to identify Backup group in the list changed.Server component 202A is always according to each file preserving the snapshot document that request transmission has been revised Name.In step 430, client component 202B utilize selected by backup group and the snapshot document name revised start each backup and divide The preservation process of group.The preservation process (i.e. backup) performing each backup groupings can change according to backup/restoration application program, because of This is described more fully below exemplary flow.It is however generally that, backup/restoration application program utilizes the list revised Which backup group is mark should preserve.
Decision block 431 represents that server component 202A then moves through other backup groupings that user selects.At one In embodiment, decision block 431 inquires about whether current backup groupings is last backup groupings.As it has been described above, user may specify All backup groupings are backed up or can only select specific backup groupings to be backed up.In either case, server component 202A Move sequentially through backup group list, preserve request according to each backup groupings and send the snapshot document name revised, so that Client component 202B know from where access snapshot with recover needed for data.
Therefore, server component 202A is by sending the peculiar preservation request for each selected backup groupings to client End assembly 202B instructs the preservation of backup groupings.Alternatively, server component 202A can send a single preservation request To client component 202B, to perform the preservation of the mark all backup groupings in the list revised.In either case, Snapshot generator 208 remains on state in the period processing all of preservation backup groupings.In one embodiment, complete After the preservation of selected backup groupings, in step 432, server component 202A sends a request to client component 202B, to be saved in the termination backup groupings 514 that step 433 receives.Receive and terminate backup groupings 514 for client component It is such signal for 202B, i.e. in step 434, needs to be again started up snapshot manager 206.In step 435, snapshot management Device 206 represents the event initially set by snapshot generator 208 in step 425 with signal.In step 436, set this event and make Obtain snapshot generator 208 and delete recent snapshot.
In step 438, snapshot generator 208 exits.In step 439, snapshot manager 206 sends and terminates backup groupings 514 to server component 204A.Then, in step 440, snapshot manager 206 exits and completes preservation process.In step 442, Client component 202B exits.In step 444, when server component 202A receives termination backup groupings 514, this is with signal table Show completing of backup process.In step 446, server component 202A exits.
Those skilled in the art will be understood that above-mentioned exemplary flow is to provide with illustrative rather than restrictive one , described process step and/or action can rearranged in order and combination or deletion, and, client can be operated in owing to being decided by Operating system platform and/or the design of backup/restoration application program on end consider and add other action.Such as, do not delete Single snap shot, and existing snapshot can be used as the basis of the second snapshot.It is to say, keep in pointer list for obtaining Obtain the pointer of the change produced between the first snapshot and the time of the second snapshot.It is fast that new pointer list is used to update first According to, thus create the second snapshot.
As it has been described above, various operating systems utilize different system and methods to create snapshot, the most also perform backup with extensive Multiple.Again referring briefly to Fig. 2, snapshot 214 is, precise time point be contained in physical storage 212 at least some of Precise Representation.Being different from the physical storage 212 that can read and write, snapshot 214 is read-only.
In another embodiment, utilizing such as Copy on write (copy on write) method, snapshot 214 is that physics is deposited The differential representation (differential representation) of the change that reservoir 212 produces between two time points.? The original copy of one time point comprises the physical storage 212 copy before being rewritten by new change.When physical storage 212 When changing, pointer can be placed on the region of change, and this pointer is maintained at the pointer being stored in physical storage 212 In list.Utilizing this pointer list and original copy, can create snapshot 214, it represents that physical storage 212 is creating this snapshot Time point at least some of.Utilisation system provides device (provider), software provider and/or hardware to provide dress Put generation single snap shot.There is provided device to be broadly defined as hardware or the software creating and keeping snapshot at this.System provides dress The example put is the software provider specifically for specific operation system.Such as,Operating system has default The software provider of pre-installation for creating snapshot, but other operating system with similar functions is also placed in it On.Software provider software layer (software level) between file system and backup/restoration volume manager intercepts I/O asks.Therefore, software provider can be to be kept especially to create and/or keep the software application of snapshot.Hardware Device is provided to manage at hardware layer by working together with hardware storage adapter (such as, specific store array) or controller Snapshot.According to the teachings of the present invention, any suitable system provider, software provider and/or hardware provider can It is used to perform single snap shot.It addition, system provider, software provider and/or hardware provider can be backup/ Recover the code section of application program, so that request and the single of single snap shot can be carried out performing by identical application program The actual execution of snapshot.The most apparently, other structure is also possible under the inspiration of this teaching.
With reference now to Fig. 5 and 6, describing the example system for creating snapshot and method, it is for utilizingThe representative of the system that operating system realizes.It will be understood that will censure and Fig. 2 with identical reference Described in some identical assemblies and identical element.Further, other operating system can use similar or equivalent group Part or different assemblies perform snapshot.In Figure 5, request unit 218 starts the assembly of operating system to create snapshot.Please Device 218 usually request is asked to obtain any application program of snapshot.In one embodiment, request unit 218 can be backup/ Recover application program 202, snapshot manager 206 and/or snapshot generator 208.Due to definition request unit 218 be what also It not critical, and the request directly or indirectly that is only that creates snapshot, therefore will be used for creating snapshot and standby to describe The exemplary embodiment of part/recovery operation and use term request unit.
Request unit 218(its can be snapshot generator 208 in one embodiment) with Shadow copy (shadow Copy) service routine 220 communicates, and wherein shadow copy service 220 is to participate in generating the operation of the single snap shot of client System service program.In the case of a shadow copy service, snapshot is also referred to as Shadow copy or virtual volume sometimes.Copy Shellfish service routine 220 is that request unit 218 identifies which volume is the data corresponding with selected backup groupings be positioned on.As above Described, such as VSS volume can include the data being positioned on one or more volume, and described volume can include or not included in the row revised In table.Copy service 220 identifies all volumes should being included in single snap shot.Then, request unit 218 is in copy sets These volumes of middle mark.
In an example it is assumed that the data of VSS volume are positioned in c drive and D driver, and user asks to back up C and drives Dynamic device (relevant to write-in program), D driver (being correlated with write-in program), G driver (unrelated with write-in program) and VSS Volume (relevant to write-in program).Produced copy sets will include c drive volume, D drive volume and G drive volume.Due to VSS Information be included in c drive volume and D drive volume in, the most do not require to include other volume in copy set.At another In individual example, it is assumed that user only selects D driver, G driver and VSS volume to be backed up.Copy sets will include that c drive volume, D drive Dynamic device volume and G drive volume.In this example, include that c drive is rolled up in copy set, this is because relate to the information of VSS volume It is included on c drive.Further, in another example, user can simply choose VSS volume (or subgroup therein) and need Backup.This copy sets will include any volume comprising the information relating to VSS volume of packet, such as c drive volume and D drive volume. Finally, in one embodiment, any application program with write-in program can be included at VSS volume.But, it will be appreciated that It is that VSS volume not necessarily includes all application programs including write-in program and/or service routine, and they may be included in other In volume.Application program or the service routine in this case or wherein with write assembly are not grouped at VSS volume of equal value In other operating system in thing, user the most only selects following backup groupings, and described backup groupings can be with any write journey Sequence is relevant or unrelated, but unrelated with any VSS backup groupings.Copy sets is corresponding with these backup groupings by the most only including These volumes.
Therefore, aforementioned exemplary is provided to illustrate may be included in the volume of copy set, even if this volume is not initial by user Select to be backed up, this is because another backup groupings (such as VSS volume) is perhaps to be backed up and need to relate to this volume Information.It addition, the volume relevant to write-in program (such as C and D driver) and the volume (such as G driver) unrelated with write-in program May each comprise in copy set.There is provided C, D relevant to write-in program or unrelated with G driver the most by way of example or have The example that VSS information is stored thereon, and should be able to it is realized that, other design structure in, C and D driver need not be with write Program relevant and be described as the G driver unrelated to write-in program actually can be relevant with write-in program, or they possibilities Not there is operation system state information be stored thereon.Further, although be the most described as including whole by copy sets Individual volume or the instruction of master catalogue, it will be understood that, as long as the information needed for preserving backup groupings is included in copy sets or list In secondary snapshot, can be in copy set thus part in single snap shot includes whole volume or master catalogue.
Identify the volume corresponding with backup groupings to may call for copy service 220 and list and relate to writing of each backup groupings Enter program, to determine which write-in program is running status on the client.Copy service 220 and multiple write-in programs 222-224 communicates.Write-in program 222-224 and at least one application program or service routine and at least one backup groupings phase Close.Write-in program 222-224 provides metadata, and wherein this metadata includes the title of write-in program, item or data, such as, treat standby Part file and assembly, which or data need from backup get rid of and/or backup and recover during be used for processing assembly Method with application program.Write-in program 222-224 also identifies the type of application program or the service routine just backed up.
Write-in program can be deposited with such as mail server, data base, operating system assembly or other application program or data Storage is relevant.Although write-in program or the operating system of similar functions and computer can be provided to implement the reality of the present invention together with other Executing example, an example of the operating system of use write-in program isIn this way, copy service 200 can receive metadata from each write-in program run on the client, and this helps copy service 220 mark to relate in turn And VSS volume volume or other volume relevant to write-in program any.
Upon identifying copy sets, then copy service 220 communicates with the memorizer 210 in client subsequently.Storage Physical volume 212 in device 210 comprises the data corresponding with at least one backup groupings.Consistent data set is being stored in thing After reason volume 212, create snapshot 214, for reflecting expression or the duplication of consistent data in physical volume.Request unit 218 also may be used Communicate with memorizer 210, preserve single snap shot 214 in memory 210 with access.
With reference to Fig. 6, description is utilized the illustrative methods of the such as system creation snapshot shown in Fig. 5.In step 602, please Asking device 218 to start alternately typically via with copy service 220, wherein copy service 220 is from selected The corresponding volume of the backup groupings selected helps request unit 218 during generating copy sets.By with do not include write-in program The corresponding volume of backup groupings adds copy sets to.When one or more selected backup grouping has writers, logical Cross how relevant description of each write-in program in inquiry backup groupings backs up related data and identify what which data was backed up Information identifies the volume corresponding with these backup groupings.About Fig. 6, copy service 220 lists at present in client The write-in program 222-224 of upper operation, to identify the volume relevant to write-in program.Dynamically find to run on the client Write-in program 222-224.In this case, can be based on the content of the write-in program dynamic construction backup groupings found.
Therefore, in step 604, copy is generated by identifying the volume of the snapshot portion that need to be included as client Collection.Therefore, copy sets may include but be not limited to identify the volume of the backup groupings without write-in program and/or mark has write The volume of the backup groupings of program, or both.After the copy set is generated, request unit 218 prepares to create snapshot.Owing to copying Bei Ji is by volume corresponding with backup groupings for mark, and therefore single snap shot will comprise all standby with back up for particular clients The Precise Representation of the volume that part packet is corresponding.
In step 606, perform the mark snapshot in the relevant volume of copy set.Process relevant to backup operation standby simultaneously Part packet, with mark including the volume in single snap shot.But, before executing the snapshot, shadow copy service 220 is led to Know that write-in program 222-224 will occur snapshot, and said write program is instructed to suspend or freeze the application journey of correspondence subsequently Sequence or service routine, thus by such as suspend new business, terminate current business, dump caching makes client to disk etc. Data can reach consistent state.Then, request unit 218 indicates shadow copy service 220 to create snapshot.Reaching After consistent state, snapshot can be performed.After the snapshot is complete, write-in program 222-224 can resume operation.Because snapshot It is the expression of the data that one or more volumes are stored in client, is therefore included in the data in the snapshot being performed and is also claimed For " snapshot data ".
When snapshot is generated, in step 608, generate meta data file from the information obtained from copy sets.Unit's number It is map according to file, the item that item that this ground map logo is to be backed up or data and in some instances mark need to be got rid of from backup Or data.Meta data file generally includes the instruction for proper restoration operation.Volume in copy sets and snapshot and write journey In the case of sequence is relevant, meta data file is included in and creates the write-in program data collected before snapshot.Write-in program data are straight File just it is written into after creating single snap shot success.Copy set volume and thus snapshot not with any write-in program Time corresponding, meta data file does not include write-in program data.
In step 610, meta data file is added to snapshot data by client component 202B, forms the snapshot literary composition revised Part.This includes adding each write-in program file (if present), is chosen as backup groupings to be saved, physical volume to snapshot The mapping of volume and mount point (mount points).Consider according to design, additional data can be revised or increase other number According to.Client component 202B is that the snapshot document revised generates filename.
5, exemplary backup and recovering process
Backup be will be further described now and recover the process of client data.Again, will utilize Operating system provides exemplary description.But, teaching herein is equally applicable to other operating system.With reference to Fig. 7, it is shown that Exemplary backup process.As discussed above, one aspect of the present invention relates to creating single snap shot, and this single snap shot comprises soon According to data together with the metadata of the backup groupings related to selected in the snapshot document revised.The snapshot document that this has been revised It is stored in such as client 108, in order to use when preserving and relating to the backup groupings being stored in the data in client 108. This snapshot document revised can include that the XML of snapshot data and restoration methods describes.
In step 702, when making the request preserving specific backup groupings, request unit 218 mark and institute to be saved What request backup groupings was corresponding has requested that data object or write-in program.Metadata collected by request unit 218, with from relating to The data object of request or the snapshot document revised of identified write-in program preserve packet.In one embodiment, The snapshot document of amendment only identifies the write-in program of operation.The snapshot document revised can include the list relating to write-in program assembly The solely information of selective power.Such as, the snapshot document revised may indicate that, some write-in program assemblies should be selected together for Backup or recovery.In another example, some write-in program assemblies are individually selectable for recovering, but can not individually be selected Select for backing up.
In step 706, mark item in the snapshot document revised and metadata are carried out by backup application subsequently Backup copy, preserves file for specific backup groupings from single snap shot.Above with reference to described in Fig. 4 A, client references is identical Snapshot, to position the snapshot portion corresponding with specific backup groupings.Backup is stored in backup of memory 204.Accordingly, with respect to The data that preserve of each backup groupings only comprise the snapshot corresponding with this backup groupings and metadata, about each backup groupings Preserved data only comprise snapshot data and with this backup groupings rather than other backup group phase of being also included within single snap shot Corresponding metadata.In order to access the particular version of client data, can be configured to backup of memory store client data Multiple expression.In other words, the time point that can rebuild client data represents.In step 708, after completion of the back-up, can Delete single snap shot.
In Fig. 3 C and 3D, interface 302C or 302D of explanation also can be used to start recovery operation.Due to operating system typically quilt Backing up into logical block, therefore operating system is usually recovered as unit.As previously described, as the composition of backup operation Part, preserves the metadata of each write-in program.Metadata may be used to determine whether recovery relates to snapshot backup operation.
Fig. 8 illustrates to utilizeThe exemplary recovery operation method of operating system.In step 802, request unit 218 typically start by recovering so-called recovery metadata.Include from the write run it is said that in general, recover metadata simultaneously The certain metadata that program is collected and the metadata preserved from the snapshot document collection revised, finally include being included in list Specific write-in program/assembly in secondary snapshot.Due to when the recovery metadata of recovery operation carrys out comfortable selected backup Between time Backup Data, therefore recover metadata likely include being no longer present in client or currently not transporting The write-in program of row.But, owing to client rectifies state when being restored to selected BACKUP TIME, therefore generally these are write Enter program to be also resumed.This may also occur in the calamitous environment recovering situation.
Recovery metadata generally sends to shadow copy service 220, and can inquire about during recovery operation subsequently should Service routine.If mount point is present in the write-in program list of preserved file, then recovering any write-in program data Before, recover to comprise the mount point file of the volume of mount point and mount point sensing.Mount point is probably proper restoration or recovery Necessary to write-in program data.
In step 804, then when continuing recovery operation, inquiry recovers metadata.Inquiry recovers metadata to determine such as The restoration methods of specific write-in program, use type, the need of restarting to recover write-in program and any possible Alternate location mappings.
It follows that in step 806, recovering process is mutual with shadow copy service and sends pre-restore command.This is pre- Recovering order notice write-in program recovery operation coming, wherein this write-in program has the write journey being selected for recovering Sequence assembly.Thus, write-in program and relevant application program have an opportunity to prepare for recovery operation.
In step 808, recovering process then implements mark restoration methods in the recovery metadata of each write-in program.
After having copied file in recovery operation, rear recovery notice is issued affected write-in program.These Write-in program can the recovery operation after execution when applying subsequently.In this, server can advise restarting client System.
In Fig. 3 C and 3D, diagrammatic interface 302C and 302D is for the backup groupings recovered, write for selectivity mark Program and/or the method example of write assembly.Selected backup groupings, write-in program and/or write assembly are to recover item Example.Recovery operation is carried out subsequently, based on being included in the write-in program recovered in item.Such as, according to each write-in program phase Each write-in program is implemented restoration methods by the recovery metadata closed.If write assembly is deselected, then can recover behaviour During work invalid or ignore recover metadata appropriate section.It is selected for extensive if selected for operation specific backup groupings Multiple, then recovery operation can point out user not select all suitable backup groupings, write-in program and/or write assembly, to abide by Garrison general's operating system recovery becomes the suggestion of logical block.But, even if not having to select the backup groupings that is proposed, may continue to into Row recovery operation.
When the assembly of write-in program is not selected for recovering, when the write-in program of backup groupings is not selected for extensive Time multiple, or when backup groupings does not have any relevant write-in program, recovering process is negligible or without efficient recovery metadata In the part corresponding with the assembly being not selected or write-in program.
6, exemplary computer system
The present invention extends to the method and system for Backup Data.Embodiments of the invention can include special or general-purpose computations Machine, described computer includes various computer hardware, is described more fully below.
Embodiment in the scope of the invention also includes computer-readable medium, based on carrying or have and be stored thereon The executable instruction of calculation machine or data structure.This computer-readable medium can be any can be deposited by universal or special computer The usable medium taken.Nonrestrictive mode by way of example, this computer-readable medium (can be used to can perform with computer Instruction or the form of data structure carry or store desired procedure code device, and can be by universal or special computer access) RAM, ROM, EEPROM, CD-ROM or other disk storage, disk memory or other magnetic storage apparatus or any can be included Other medium.When by network or other communication connection (for rigid line, wireless or rigid line or wireless combination), information being passed Defeated or when being supplied to computer, this connection is suitably considered as computer-readable medium by computer.Therefore, can be suitably by any One this connection is referred to as computer-readable medium.Combinations of the above also should be included in the range of computer-readable medium. Computer executable instructions includes, such as, make general purpose computer, special-purpose computer or dedicated treatment facility perform some function or The instruction and data of function group.
Following discussion aims to provide the brief, general description of a computing environment being adapted for carrying out the present invention.Although being not required , by the present invention described in the general environment of computer executable instructions, such as, performed in a network environment by computer Program module.It is said that in general, program module include perform particular task or realize the routine of particular abstract data type, program, Object, assembly, data structure etc..Computer executable instructions, related data structures and program module represent for performing herein The example of the program code devices of the step of disclosed method.The particular order table of this executable instruction or related data structures Show the example of respective action for implementing the function that these steps describe.
Those skilled in the art are it will be appreciated that present invention can be implemented in and have polytype computer system configurations (bag Include personal computer, hand portable equipment, multicomputer system, based on microprocessor or programmable consumer electronics, net Network PC, minicomputer, mainframe computer etc.) network computing environment in.The present invention also may be implemented in distributed computing environment In, wherein task is by being connected (combining by rigid line connection, wireless connections or by rigid line or wireless connections) by communication network Local and remote processing equipment perform.In a distributed computing environment, program module can be placed in local and remote memorizer In storage device.
The present invention can be embodied as other particular form, without deviating from its spirit or essential characteristics.Described embodiment All aspects are only illustrative and not restrictive.Therefore, by appended claims rather than by explanation described above this Bright scope.In the range of all changes in the implication and scope of claim equivalent are all contained in it.

Claims (22)

1., for the method preserving the data from the first client, described first client is included in and includes and server In the system of the one or more clients communicated, the data from the one or more client are held by described server Row backup operation, described data are grouped in backup groupings, and the method comprises the following steps:
Sending signal, this signal designation should generate single snap shot;
Receive the list of one or more backup groupings;
According to the list of one or more backup groupings received, create the backup groupings list revised, described revised Backup groupings List Identification goes out the backup groupings used in the establishment of snapshot, wherein, the described backup groupings list revised Including starting backup groupings and terminating backup groupings;
The backup groupings list revised described in transmission;And
Receive instruction snapshot and create the most successfully signal, wherein, when received signal instruction snapshot creates successfully, described Method includes following additional step:
Send the request of the backup groupings identified in the backup groupings list revised described in preserving;
Send the request preserving described termination backup groupings;And
Receive described termination backup groupings.
The most the method for claim 1, wherein the list of the one or more backup groupings is that all of client can The list of the backup groupings of energy, receives the list of the one or more backup groupings from this client.
3. the method for claim 1, further comprising the steps of: to suspend the backup revised described in be sent to The client of group list sends backup request.
The most described startup backup groupings can perform to start snapshot manager.
The most the method for claim 1, wherein instruction snapshot creates successful signal as having revised described in should starting The instruction of the preservation process of the backup groupings of backup groupings list.
The most the method for claim 1, wherein receive instruction snapshot to create successful signal to include receiving described startup standby Part packet and the snapshot document name revised.
7. the method for claim 1, further comprising the steps of: to be marked in the described backup groupings list revised The each backup groupings known, sends and individually preserves request.
8. the method for claim 1, further comprising the steps of: send instruction should preserve described in the backup groupings revised The single of all backup groupings identified in list preserves request.
The most the method for claim 1, wherein the backup groupings list will revised described in described preservation is identified The request of backup groupings sends together with the snapshot document name revised.
The most the method for claim 1, wherein described startup backup groupings and the snapshot document name revised are being received Afterwards, the request of the described backup groupings of preservation is sent.
11. 1 kinds for storing the service of the backup copy of the data from the one or more clients included in systems Device, the one or more client communicates with described server, and described server includes:
The server component of backup/restoration application program, wherein, described server component is configured to:
Sending signal, this signal designation should generate single snap shot;
Receive the list of one or more backup groupings;
According to the list of one or more backup groupings received, create the backup groupings list revised, described revised Backup groupings List Identification goes out the backup groupings used in the establishment of snapshot, wherein, the described backup groupings list revised Including starting backup groupings and terminating backup groupings;
The backup groupings list revised described in transmission;
Receive instruction snapshot and create successful signal;
Send the request of the backup groupings identified in the backup groupings list revised described in preserving;
Send the request preserving described termination backup groupings;And
Receive described termination backup groupings.
12. servers as claimed in claim 11, wherein, described server component is configured to apply with described backup/restoration The client component of program communicates.
13. servers as claimed in claim 11, wherein, described server configures becomes to communicate with backup storage device.
14. servers as claimed in claim 11, wherein, it is described to being sent to that described server is configured to time-out The client of the backup groupings list revised sends backup request.
15. servers as claimed in claim 11, wherein, described server is configured in response to receiving revised fast According to filename and described startup backup groupings, the preservation of the backup groupings in the backup groupings list revised described in startup Journey.
16. servers as claimed in claim 11, wherein, described server be configured to perform in following steps one or Two steps:
For each backup groupings identified in the described backup groupings list revised, send and individually preserve request;And
Send instruction should preserve described in the single of all backup groupings that identified in the backup groupings list revised preserve please Ask.
17. servers as claimed in claim 11, wherein, described server component is configured to deposit with backup with client cooperation Storage data on the client.
18. servers as claimed in claim 11, wherein, described backup/restoration application program exists only in described server On.
19. servers as claimed in claim 11, wherein, described server component be configured to instruct client utilize described soon According to the preservation performing one or more backup groupings.
20. servers as claimed in claim 11, wherein, described server component is used for starting the application of described backup/restoration The client component of program.
21. servers as claimed in claim 11, wherein, described revised backup groupings row indicate to process selected The order of backup groupings.
22. servers as claimed in claim 11, wherein, described server component is configured to receive instruction snapshot and creates unsuccessfully Signal.
CN201210206505.4A 2005-06-29 2006-06-29 Server is utilized to preserve method and the server of client data Active CN103559100B (en)

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
US11/169,418 US7716185B2 (en) 2005-06-29 2005-06-29 Creation of a single client snapshot using a client utility
US11/169,418 2005-06-29
US11/170,015 US7523278B2 (en) 2005-06-29 2005-06-29 Backup and restore operations using a single snapshot
US11/169,853 US7549028B2 (en) 2005-06-29 2005-06-29 Backup and restore operations using a single snapshot driven by a server job request
US11/170,015 2005-06-29
US11/169,419 US8024292B2 (en) 2005-06-29 2005-06-29 Creation of a single snapshot using a server job request
US11/169,419 2005-06-29
US11/169,853 2005-06-29
CN2006800314676A CN101253484B (en) 2005-06-29 2006-06-29 Method for storing data from client and the client

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2006800314676A Division CN101253484B (en) 2005-06-29 2006-06-29 Method for storing data from client and the client

Publications (2)

Publication Number Publication Date
CN103559100A CN103559100A (en) 2014-02-05
CN103559100B true CN103559100B (en) 2016-12-28

Family

ID=50013352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210206505.4A Active CN103559100B (en) 2005-06-29 2006-06-29 Server is utilized to preserve method and the server of client data

Country Status (1)

Country Link
CN (1) CN103559100B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733675B (en) * 2016-08-12 2022-05-24 中兴通讯股份有限公司 License authentication method and system
CN110413444B (en) * 2018-04-27 2023-05-09 伊姆西Ip控股有限责任公司 Snapshot set to enable consistency groups for storage volumes
CN114564450B (en) * 2022-03-04 2023-02-28 北京宇信科技集团股份有限公司 Processing method, device, system, medium and equipment of distributed file system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028736A1 (en) * 2001-07-24 2003-02-06 Microsoft Corporation System and method for backing up and restoring data
CN1567262A (en) * 2003-06-10 2005-01-19 联想(北京)有限公司 On-line data backup method based on data volume snapshot
CN1575568A (en) * 2000-12-14 2005-02-02 七层股份公司 Method for operating an ad-hoc network for the wireless data transmissions of synchronous and asynchronous messages
US20050028022A1 (en) * 2003-06-26 2005-02-03 Hitachi, Ltd. Method and apparatus for data recovery system using storage based journaling
US20050081099A1 (en) * 2003-10-09 2005-04-14 International Business Machines Corporation Method and apparatus for ensuring valid journaled file system metadata during a backup operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1575568A (en) * 2000-12-14 2005-02-02 七层股份公司 Method for operating an ad-hoc network for the wireless data transmissions of synchronous and asynchronous messages
US20030028736A1 (en) * 2001-07-24 2003-02-06 Microsoft Corporation System and method for backing up and restoring data
CN1567262A (en) * 2003-06-10 2005-01-19 联想(北京)有限公司 On-line data backup method based on data volume snapshot
US20050028022A1 (en) * 2003-06-26 2005-02-03 Hitachi, Ltd. Method and apparatus for data recovery system using storage based journaling
US20050081099A1 (en) * 2003-10-09 2005-04-14 International Business Machines Corporation Method and apparatus for ensuring valid journaled file system metadata during a backup operation

Also Published As

Publication number Publication date
CN103559100A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN101253484B (en) Method for storing data from client and the client
US8024292B2 (en) Creation of a single snapshot using a server job request
US7523278B2 (en) Backup and restore operations using a single snapshot
US7549028B2 (en) Backup and restore operations using a single snapshot driven by a server job request
US8103829B2 (en) Hierarchical systems and methods for performing storage operations in a computer network
US7734578B2 (en) System and method for performing integrated storage operations
JP3957278B2 (en) File transfer method and system
US8346826B2 (en) Switch device, system, backup method and computer program
US7689597B1 (en) Mirrored storage architecture using continuous data protection techniques
JP4712816B2 (en) System and method for restoring data
US7509358B1 (en) Performing replication operations on continuous data protection systems using pseudosnapshots
US7584339B1 (en) Remote backup and restore operations for ISB protocol systems
US7725669B1 (en) Backup and restore operations using coherency groups for ISB protocol systems
CN103026343A (en) Schedule based data lifecycle management
US7487310B1 (en) Rotation policy for SAN copy sessions of ISB protocol systems
CN103620580A (en) System and method for migration of data clones
EA005000B1 (en) Virtual tape storage system and method
JP2005031716A (en) Method and device for data backup
US7765190B1 (en) Pseudosnapshot creation and implementation using continuous data protection
US20110282843A1 (en) Method and system for data backup and replication
US7587565B1 (en) Generating automated and scheduled SAN copy sessions for ISB protocol systems
US7685460B1 (en) Multiple concurrent restore using same user interface
CN103559100B (en) Server is utilized to preserve method and the server of client data
JP4712873B2 (en) Creating a single client snapshot using the client utility

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant