CN103559100B - Using the server saves the client server data and methods - Google Patents

Using the server saves the client server data and methods Download PDF

Info

Publication number
CN103559100B
CN103559100B CN 201210206505 CN201210206505A CN103559100B CN 103559100 B CN103559100 B CN 103559100B CN 201210206505 CN201210206505 CN 201210206505 CN 201210206505 A CN201210206505 A CN 201210206505A CN 103559100 B CN103559100 B CN 103559100B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
backup
packet
list
server
snapshot
Prior art date
Application number
CN 201210206505
Other languages
Chinese (zh)
Other versions
CN103559100A (en )
Inventor
黛安娜·C·汤普森
卡罗莱娜·P·乌尔曼
珍妮特·L·施奈德
埃里克·A·赫尔曼
帕特里克·M·西蒙尼奇
内森·A·克里热
Original Assignee
伊姆西公司
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
Grant date

Links

Abstract

本发明公开了一种利用服务器保存客户端数据的方法及服务器。 The present invention discloses a method for the server and the client utilizing the server data is stored. 用于保存来自第一客户端的数据的方法,所述第一客户端包括在包括与服务器相通信的一个或多个客户端的系统中,所述服务器对来自所述一个或多个客户端的数据执行备份操作,所述数据被组编在备份分组中,该方法包括以下步骤:发送信号,该信号指示应生成单次快照;接收一个或多个备份分组的列表;根据接收的一个或多个备份分组的列表,创建已修改的备份分组列表,所述已修改的备份分组列表标识出在快照的创建中使用的备份分组,其中,所述已修改的备份分组列表包括启动备份分组和终止备份分组;发送所述已修改的备份分组列表;以及接收指示快照创建是否成功的信号。 A method for storing data from the first client, the first client comprises comprises one or more servers in communication with the client system, the server performs data from the one or more clients backup operation, the backup data is set in the encoding packets, the method comprising the steps of: transmitting a signal indicating a single snapshot should be generated; receiving one or more backup list of packets; one or more backup according to the received list packet, to create a modified packet backup list, the modified list of backup packet identifies a packet used in the creation of backup snapshots, wherein the modified packet comprises a list of backup to start the backup and packet termination backup packet ; transmitting the modified list of backup packet; and receiving a snapshot creation success indication signal.

Description

利用服务器保存客户端数据的方法及服务器 Using the server saves the client server data and methods

[0001 ] 本申请是申请日为2006年6月29日、申请号为200680031467.6、发明名称为"利用客户端应用程序的单次客户端快照的创建"的中国专利申请的分案申请。 [0001] This application is filed June 29, 2006, Application No. 200680031467.6, entitled "Creating client applications use a single client snapshot" as a divisional application Chinese patent application.

技术领域 FIELD

[0002] 本发明涉及用于备份数据的系统及方法。 [0002] The present invention relates to systems and methods for backing up data. 更具体地,本发明的实施例涉及利用单次客户端快照备份及恢复数据的系统及方法。 More particularly, embodiments of the present invention relates to a client with a single snapshot of data backup and recovery system and method.

背景技术 Background technique

[0003] 在当今很多个人及企业的相互作用行为是数据驱动的社会中,数据可由于例如系统故障、病毒、断电等各种事件而变得容易被丢失或破坏。 [0003] In the interaction behavior of many of today's personal and corporate data-driven society, the data may be due to various events such as system failure, viruses, power outages, etc. it becomes easy to be lost or destroyed. 由于对利用计算机和网络执行重要的企业和个人活动的依赖性日益增加,数据备份变成计算机网络的重要特征。 Due to the implementation of important business and personal activities dependent on the increasing use of computers and networks, data backup becomes an important feature of computer networks. 任何访问计算机和/或网络的人都期望可以轻易、精确并可靠地存取数据。 Any access to computers and / or networks are desired to be easily, accurately and reliably access data. 当计算机或网络必须"停机(down)"以备份或恢复丢失的数据时,停机时间可严重影响个人和企业的业务处理。 When a computer or network must "stop (down)" when to back up or restore lost data, downtime can seriously affect the individual and the enterprise business process. 对无中断存取数据的需求相当于对可满足这种提供数据和服务需求的软件和硬件的需要。 Demand for uninterrupted access to data is equivalent to providing the hardware and software required data and services to meet the demand for this.

[0004] 传统上通过利用软件来实现数据备份和恢复,其中该软件备份数据并从备份拷贝中恢复数据。 [0004] The data backup and recovery is achieved conventionally by using software, the software data backup and restore data from a backup copy. 随着数据量持续增加,数据的备份和恢复变得越来越复杂。 With the continued increase in the amount of data, data backup and recovery is becoming increasingly complex. 当前无法将千兆字节的数据从一个目录快速转移至另一个目录,并且出于备份目的使数据目录离线也不是一个有吸引力的选择。 Currently no way to quickly transfer gigabytes of data from one directory to another directory, and the data directory for backup purposes offline is not an attractive option.

[0005] 除了备份文件系统之外,备份例如应用程序和服务程序的其它类型数据变得更有必要。 [0005] In addition to the backup file system, such as other types of data backup applications and services procedures become more necessary. 然而,应用程序和服务程序通常在备份启动时已打开文件。 However, applications, and services programs are usually open files when the backup starts. 利用传统的系统一般无法有效地备份已打开的文件,并且往往在备份操作中跳过已打开的文件。 Using a conventional backup system is generally not effectively open files, and often skip the open file backup operations. 因此,往往需要额外的应用程序来帮助处理已打开文件的备份,并管理在备份中被跳过的文件的备份日志。 Therefore, it often requires additional applications to help deal has been open file backup, management and backup log files in the backup skipped.

[0006] 操作系统对备份数据的软件和系统提出另一挑战。 [0006] Another challenge presented to the operating system software and data backup systems. 操作系统的复杂性通常需要操作系统被备份成逻辑单元以保存系统或客户端的状态。 Operating systems typically require complex operating system to be backed up or logic unit to save the state of the client system. 如果从部分或不完全的备份中恢复操作系统,则操作系统的部分备份可能导致不一致性或系统故障。 If you restore the operating system from a partial or incomplete backup, partial backup of the operating system may result in inconsistencies or system failure. 换句话说,备份文件系统本身并不会有效备份系统的状态,并可能导致恢复时的错误。 In other words, backup file system itself is not an effective backup system state and may result in errors during recovery. 操作系统通常与数据库或其它数据目录一起被使用,其中在保存系统状态时必须备份数据库和其它数据目录。 The operating system is often used together with database directory or other data, which must be backed up database directory and other data when saving the system state. 另外,操作系统与应用程序和服务程序一样通常是跨计算机系统分布的,这个事实使得数据的有效备份和恢复变得复杂。 In addition, operating systems and applications and services across the program as is usually distributed computer system, the fact that the effective data backup and recovery becomes complicated.

[0007] 对提供无中断服务的期望与增加的存储需求相结合产生了对用于快速备份数据并最低限度地中断应用程序和服务程序的系统和方法的需要。 [0007] to provide uninterrupted service expectations combined with increased storage requirements created a need for fast data backup and minimally interrupt system and method of applications and services of the program.

发明内容 SUMMARY

[0008] 本发明提供一种利用服务器保存客户端数据的方法及服务器,以利用单次客户端快照快速备份及恢复数据,并最低限度地中断应用程序和服务程序。 [0008] The present invention provides a method and a server utilizing server keeps the client data to the client with a single snapshot backup and restore data fast and minimally interrupt applications and services program.

[0009] 本发明提供一种用于保存来自第一客户端的数据的方法,所述第一客户端包括在包括与服务器相通信的一个或多个客户端的系统中,所述服务器对来自所述一个或多个客户端的数据执行备份操作,所述数据被组编在备份分组中,该方法包括以下步骤: [0009] The present invention provides a method for storing data from the first client, the first client comprises including communication with a server or a plurality of client systems, said server from said one or more client data backup operation, the backup data is set in the encoding packets, the method comprising the steps of:

[0010] 发送信号,该信号指示应生成单次快照; [0010] The transmission signal, which should generate a signal indicative of a single snapshot;

[0011] 接收一个或多个备份分组的列表; [0011] receiving one or more packets of the list of backup;

[0012]根据接收的一个或多个备份分组的列表,创建已修改的备份分组列表,所述已修改的备份分组列表标识出在快照的创建中使用的备份分组,其中,所述已修改的备份分组列表包括启动备份分组和终止备份分组; [0012] The list of one or more backup received packet to create a modified packet backup list, the modified list of backup packet identifies a packet used in the creation of backup snapshots, wherein said modified backup group list including start and stop backup backup grouping grouping;

[0013]发送所述已修改的备份分组列表;以及 [0013] transmitting the modified list of backup packet; and

[0014] 接收指示快照创建是否成功的信号。 [0014] receiving a signal indicative of whether to create a snapshot of success.

[0015] 本发明提供一种服务器,在包括与服务器相通信的一个或多个客户端的系统中, 所述服务器存储来自所述一个或多个客户端的数据的备份拷贝,服务器包括: [0015] The present invention provides a server comprising a server in communication with one or more client systems, said server stores said backup copy from one or more client data server comprising:

[0016] 备份/恢复应用程序的服务器组件,其中,所述服务器组件配置成: [0016] The backup / restore application server component, wherein the server component is configured to:

[0017]发送信号,该信号指示应生成单次快照; [0017] The transmission signal, which should generate a signal indicative of a single snapshot;

[0018]接收一个或多个备份分组的列表; [0018] receiving one or more packets of the list of backup;

[0019] 根据接收的一个或多个备份分组的列表,创建已修改的备份分组列表,所述已修改的备份分组列表标识出在快照的创建中使用的备份分组,其中,所述已修改的备份分组列表包括启动备份分组和终止备份分组; [0019] The list of one or more backup received packet to create a modified packet backup list, the modified list of backup packet identifies a packet used in the creation of backup snapshots, wherein said modified backup group list including start and stop backup backup grouping grouping;

[0020] 发送所述已修改的备份分组列表;以及[0021 ]接收指示快照创建成功的信号。 [0020] transmitting the modified list of backup packet; and [0021] receiving a signal indicating successful snapshot creation.

[0022] 通过使用相同的快照基于相同的时间点执行备份,本发明使得跨客户端系统的已备份数据是一致并同步的,从而能够有效实现快速备份数据并最低限度地中断应用程序和服务程序。 [0022] based on the same perform the backup point in time, the invention enables the backed up data across the client system by using the same snapshot is a consistent and synchronized, which can effectively achieve fast backup data and minimally interrupt applications and services program .

附图说明 BRIEF DESCRIPTION

[0023] 为了进一步阐述本发明的上述和其它特征,将参考图解于附图中的特定实施例提供本发明的详细描述。 Embodiment [0023] To further clarify the above and other features of the present invention will be illustrated with reference to specific embodiments in the accompanying drawings a detailed description of the invention. 需要理解的是,这些附图仅描绘本发明的典型实施例,并不因此被认为限制本发明的范围。 Is to be understood that these drawings depict only typical embodiments of the present invention, it is not therefore to be considered limiting the scope of the present invention. 将通过利用附图的附加说明和细节描述和解释本发明,其中: The present invention will be described and explained with additional explanation and detail using the drawings, wherein:

[0024]图1说明用于实施本发明实施例的示例性环境; [0024] Figure 1 illustrates an exemplary environment for implementing embodiments of the present invention;

[0025] 图2说明用于执行备份和/或恢复操作的示例性系统; [0025] Figure 2 illustrates for performing backup and / or restore operation of an exemplary system;

[0026] 图3A说明用于组编备份分组的示例性用户界面; [0026] FIG. 3A illustrates an exemplary set of packet encoding backup user interface;

[0027]图3B说明用于组编备份分组的另一示例性用户界面; [0027] Figure 3B illustrates a set of backup packet encoding another exemplary user interface;

[0028]图3C说明恢复操作的示例性用户界面; [0028] Figure 3C illustrates an exemplary recovery operation of the user interface;

[0029]图3D说明恢复操作的另一示例性用户界面; [0029] Figure 3D illustrates another exemplary user interface of the restore operation;

[0030] 图4A说明用于创建并使用单次快照的示例性流程图; [0030] Figure 4A illustrates an exemplary flow chart for creating and using a single snapshot;

[0031] 图4B说明基于图3A所说明的备份分组选择的备份分组的示例性已修改列表; [0031] Figure 4B illustrates an exemplary list based on the modified packet backup backup packet illustrated in FIG. 3A selection;

[0032]图4C说明基于图3B所说明的备份分组选择的备份分组的示例性列表; [0032] FIG. 4C illustrates an exemplary list of backup packet-based backup packet illustrated in FIG. 3B selection;

[0033] 图5说明用于生成快照的系统的实施例; [0033] FIG 5 illustrates an embodiment of a system for generating a snapshot;

[0034] 图6是用于生成快照的示例性流程图; [0034] FIG. 6 is an exemplary flowchart for generating a snapshot;

[0035]图7是用于备份数据的示例性流程图;以及 [0035] FIG. 7 is an exemplary flow diagram for backing up data; and

[0036] 图8是用于恢复数据的示例性流程图。 [0036] FIG 8 is an exemplary flowchart for recovering data.

具体实施方式 Detailed ways

[0037] 本发明的实施例涉及用于选择性备份和/或恢复数据的系统及方法。 Example [0037] The present invention relates to a selective backup and / or restore a system and method for data. 如在此使用的,术语"数据"可包括但不限于可存储于客户端的一个或多个存储设备上的目录(例如卷、 文件系统等)、用户数据、系统数据、应用程序、服务程序、操作系统等。 As used herein, the term "data" may include, but are not limited to, may be stored in a directory (e.g. volumes, file systems, etc.) on one or more storage devices clients, user data, system data, application programs, service program, operating system. 备份或恢复操作系统可包括备份或恢复在此定义或本领域技术人员可理解的任何数据。 Backup or restore the operating system may comprise any data backup or restore defined herein or understood by those skilled in the art. 可将数据组编在不必对应特定存储设备的逻辑目录中。 Data can be set without having to compile a specific directory corresponding logical storage device. 即使数据可存在于多个不同的存储设备上,仍可将数据组编在逻辑目录和子目录中,从而使得用户可轻易定位信息。 Even though the data may be present in a plurality of different storage devices, and data to be set in the programmed logic directories and subdirectories, so that the user can easily positioning information. 在一个示例中,在Windows⑯ 操作系统中,主目录被称为卷(volume)。 In one example, the Windows⑯ operating system, the main directory is called volume (volume). 卷包括例如C驱动器和D驱动器的位于客户端上的典型存储卷,即使C或D驱动器本身可包括多个硬盘。 Volume includes, for example, the C drive and D drive typical storage volume on the client, even if the drive C or D may itself comprise a plurality of hard disks. 用户不必知道从哪个特定磁盘获得信息。 Users do not have to know which specific information obtained from the disk. 因此,存在目录以帮助用户完全漫游客户端上的数据。 Therefore, there is a directory to help users complete roaming data on the client. 可存在客户端可通过网络访问的其它目录。 There may be other clients can access the directory over a network. 另外,将进一步描述如下,目录和子目录可组编在备份分组(backup grouping) 中,可选择备份分组来执行备份或恢复与该备份分组相对应的数据。 Further, as will be further described, directories and sub-groups may be compiled in packet backup (backup grouping), the backup packets be selected to perform a backup or restore the backup data corresponding to the packet. 还可存在特别针对客户端特定功能的其它目录。 There may also be other special directory for client-specific functions. 例如,在Windows®操作系统中,可将涉及保存客户端操作系统状态的特定数据组编在操作系统状态卷(在此被称为VSS卷)。 For example, the Windows® operating system, a client may be directed to save the state of a particular operating system sets the data compiled in the operating system state volumes (herein referred to as VSS volume). 进一步,VSS卷可包括可用于恢复客户端数据的其它应用程序和/或服务程序。 Further, VSS volume may include other applications that can be used to restore and / or the client service program data. 对于VSS卷,可涉及多于一个的存储设备,且VSS卷的数据可存在客户端计算机的不同存储设备中,例如C驱动器、D驱动器和/或其它驱动器。 For VSS volume, it may involve more than one storage device, and the data volume VSS presence of different storage devices may be a client computer, such as drive C, D drive, and / or other drivers. 因此,VSS卷仅仅是用于定位数据的逻辑组织,而并不表示存储设备的实际设定。 Therefore, the VSS is only logical volume data for positioning tissue, but does not indicate the actual set of storage devices. 然而,在一个实施例中,可将属于VSS卷的所有数据置于单个独特的存储设备中,而不是分布在客户端上的多个存储设备中。 All data, however, in one embodiment, may be placed in a single volume belonging VSS unique storage device, instead of being distributed over the plurality of client storage devices. 在此利用Windows®操作系统作为示例来描述本发明。 As an example of the present invention will be described herein using the Windows® operating system. 然而,需要理解的是,用于备份及恢复客户端的系统和方法也可应用于其它操作系统。 However, it is to be understood that, for backup and recovery systems and methods are also applicable to clients other operating systems. 例如,其它操作系统可能典型地期望备份操作系统状态的一些或所有方面。 For example, other operating systems may typically desired, some or all aspects of the backup operating system state. 另外,其它操作系统利用目录或文件系统来帮助用户完全漫游存在于客户端的数据。 In addition, other operating systems use directory or file system to help users complete roaming data exist on the client. 因此,术语"目录"可与术语"卷"或"文件系统"交换使用,以表示逻辑上组织客户端上数据的任何方式。 Thus, the term "directory" with the term "volume" or "file system" are used interchangeably to represent logically organize the client end of the data in any way.

[0038] 本发明的系统和方法利用单次快照来实现客户端数据在单个时间点(point-in-time) 的时间点拷贝。 [0038] The system and method of the present invention is achieved with a single snapshot copies of client data in a single time point (point-in-time) time point. 快照是一个或多个卷的原始数据或内容的只读时间点复制或表示,从而可在另一个本地或远程存储设备上做出实际拷贝。 A snapshot is a read-only volumes or more time points in the original data or content copied or represent, may be made so that the actual copy on another local or remote storage device. 单次快照允许在单个时间点同时备份跨多个卷和/或子目录的客户端中的一些或所有数据,从而确保当用户恢复或存取备份数据时,客户端的备份数据均同步至特定的时间点。 A single snapshot at a single point in time while allowing the backup across multiple volumes and / client subdirectory or some or all of the data, to ensure that when the user access or restore the backup data, the backup data of the client are synchronized to a specific point in time. 本地或远程存储设备上的时间点拷贝包括先前已打开文件的有用备份,同时还提供对操作系统状态的备份。 Point in time copy of the local or remote storage device comprising a file previously opened useful backup, while also providing a backup of the operating system state. 这使得操作系统可被恢复为逻辑单元,而不破坏系统的操作系统状态。 This enables the operating system can be restored to a logic unit, without disrupting the operating system status of the system. 本发明的实施例还使得可选择性备份和/ 或恢复客户端或系统组件。 Embodiments of the invention also makes it selectively backup and / or restore a client or system components.

[0039] 典型地,用户将选择涉及待备份的客户端或计算机的卷的所有备份分组。 [0039] Typically, the user will select all the backup packets be directed to the backup volume or client computers. 在此情形下,单次快照捕获客户端或计算机的卷的所有数据在单个时间点的表示,从而使得,例如,操作系统状态还与单个时间点一致。 In this case all of the data, a single volume or snapshot captures client computer representation of a single point in time, so that, for example, the operating system is also consistent with the state of single point in time. 然而,指定不是所有客户端数据需要被备份的用户可选择所有备份分组中部分。 However, not all clients to specify the user data needs to be backed up to the backup of all selectable packet portion. 这对用户知道改变仅出现在某些备份分组中的情形非常有用,而不必执行整个客户端数据系统的备份。 It knows the user to change the situation occurs only in certain backup packet is useful, without having to perform a backup of the entire client data systems. 通过访问与备份/恢复应用程序通信的用户界面,用户可选择一个或多个备份分组。 By accessing the backup / restore application user interface program to communicate, the user may select one or more backup packets. 备份分组可包括标识出待备份项的信息。 Backup packets may include information identifying the items to be backed up. 因为标识在备份分组中的项可分布在多个卷中,本发明的实施例可确保在单次快照中包括对应的卷并适当备份对应的数据,将进一步描述如下。 Because the packet identification in the backup entries may be distributed in a plurality of volumes, embodiments of the present invention may include corresponding ensure a single snapshot volume and the backup data corresponding to the appropriate will be further described below.

[0040]当执行备份时,处理或控制待备份数据的存储的系统请求客户端暂时冻结或暂停操作。 [0040] When performing backups, the stored data to be backed processing or control system requesting client temporarily freeze or pause operation. 在暂停操作期间,创建数据的单次快照。 During the pause operation to create a single snapshot of data. 在创建单次快照之后,应用程序和/或服务程序被指向恢复操作,同时从单次快照执行备份。 After you create a single snapshot, applications, and / or service program is directed to a recovery operation, and perform backups from a single snapshot. 暂停操作使得已打开的文件被捕获并反映在单次快照中。 Suspend operation allows open files are captured and reflected in a single snapshot. 因此在备份时并没有跳过已打开的文件。 And therefore did not skips open files during backup. 此外,在创建单次快照之前,通知待备份的服务程序或应用程序,并给出暂停和准备备份的时间。 In addition, before creating a single snapshot, notification services or applications to be backed up, and gives pause and time to prepare backup. 这样,备份/恢复应用程序确保已暂停业务且待备份的数据处于一致状态。 In this way, backup / recovery application ensures data backup has suspended business Judai in a consistent state.

[0041 ] 1、概述用于备份数据的示例性环境 [0041] 1, an overview of an exemplary environment for backup of data

[0042] 图1说明可适用于本发明的用于创建网络数据快照及备份/恢复网络数据的示例性系统。 [0042] Figure 1 illustrates a network adapted to create a snapshot of data and backup / restore an exemplary system for network data in the present invention. 虽然根据本发明可用图1的系统来备份数据,但本发明的实施例也可在具有待备份的数据的其它网络中实现。 Although the data backup system according to the present invention can be used in FIG. 1, embodiments of the present invention can also be implemented in other network having the data to be backed up. 图1示出了服务器102,其与由客户端104、106和108表示的客户端关联。 FIG 1 shows a server 102, which represented the client associated with the client 104, 106 and 108. 各客户端104、106和108可具有在存储卷(storage volume)上的数据,所述存储卷相对于各自客户端是本地和/或远程的。 Each client 104, 106 and 108 may have data on a storage volume (storage volume) of the storage volume each client with respect to the local and / or remote. 存储卷表示客户端以及应用程序和服务程序的一个或多个卷或者驱动器。 Indicates that the client storage volume and one or more drives or volumes application and service procedures. 例如,客户端108具有包含数据(包括应用程序、服务程序、和/或卷)的存储器(st 〇rage)109。 For example, client 108 has a memory (st 〇rage) 109 contains data (including application programs, services, programs, and / or volumes). 此外,服务程序表示一种应用程序类型,并因此在此可被称为应用程序。 Further, the service program represents an application type, and thus may be referred to herein application.

[0043] 各客户端104、106、和108表示具有待备份数据的系统。 [0043] Each client 104, 106, and 108 represents a system having the data to be backed up. 各客户端可相对简单(例如台式计算机)或相对复杂(例如大型数据库服务器或服务器群中之一)。 Each client may be relatively simple (e.g., a desktop computer) or a relatively complex (e.g., large database servers, or one server farm). 客户端还可是网络上的节点或存储区域网络(SAN)上的存储设备。 The client device may also be stored on the node or storage area network (SAN) on the network. 各客户端104、106、和108还可在不同于服务器102的操作系统或平台下操作。 Each client 104, 106, and 108 may also operate in a server different from the operating system or platform 102. 在备份操作的环境中,客户端可在服务器102的控制下操作。 In the backup operation environment, the client may operate under the control server 102.

[0044] 如在此所使用的,术语"用户"指的是操作服务器102的人(例如管理员)。 [0044] As used herein, the term "user" refers to a person's operation of the server 102 (e.g., administrator). 或者,用户可能指的是在客户端104、106和/或108处的人。 Alternatively, the user may refer to a client / or at 104, 106 and 108 people. 这两种用户都有能力启动请求备份或恢复,即使可以理解的是,服务器102可具有不适用于客户端104、106或108的附加功能。 Both users have the ability to request to start a backup or restore, even if it can be understood that the server 102 may have additional features not available for the client 104, 106 or 108. 用户可建立时间表,用于定义服务器102自动对客户端104、106、和/或108的数据执行备份操作的时间。 Users can schedule established for the server 102 to automatically define the client 104, 106, and time data backup operations and / or 108. 不过客户端上的用户还可启动专门的备份操作和恢复操作。 But the user on the client can also start a special backup and restore operations. 在图1的示例中,服务器102已访问存储客户端数据的一个或多个拷贝的备份存储器110。 In the example of FIG. 1, the server 102 has access to data stored in the client one or more copies of the backup memory 110. 备份存储器110可位于服务器102中,或者与服务器102不同且相互分开。 The memory 110 may be located on the backup server 102 or the server 102 and different from each other. 数据114表示已由服务器102备份在备份存储器110上的数据。 Data 114 represents data that has been backed up on the backup server 102 to the memory 110.

[0045] 服务器102-般控制和指导所有服务器启动的备份操作或进程。 [0045] server 102--like control and guidance of all backup operations or processes server-initiated. 客户端控制专门的备份和恢复操作。 Client control dedicated backup and recovery operations. 在一个实施例中,利用备份分组来备份数据。 In one embodiment, the backup data from backup packet. 然而,即使在使用备份分组的情形下,仍利用客户端系统的单次快照来执行备份分组的备份。 However, even in the case of using the backup packets still use a single snapshot of the client system to perform a backup of a backup group.

[0046] 在希望将操作系统状态的关键组件(critical component)备份并恢复为一致单元的情形下,单次快照是有用的。 [0046] The key components in the desired operating state of the system (critical component) to back up and restore the case to the same unit, it is useful to a single snapshot. 换句话说,操作系统可包括在任何指定时间定义操作系统状态的文件或数据。 In other words, the operating system may include a file or data defining the operating state of the system at any given time. 当服务器102执行系统备份时,确保利用相同的快照来备份与操作系统有关的适当备份分组,以确保在客户端的一致时间点备份操作系统。 When the server 102 executes a backup system, to ensure the use of same snapshot backup and backup operating system appropriate packets relating to ensure that the backup system is operating at a point of time consistent client. 除了具有应被备份成一致单元的组件的操作系统特定应用程序和服务程序之外,客户端还可包括其它应用程序或服务程序。 In addition to having to be backed up as a component of the operating system consistent unit-specific services and applications programs, client applications may also include other programs or services. 例如,如上所述,在Windows⑩操作系统中,这些应用程序和服务程序连同操作系统状态组件可被置于VSS卷中。 For example, as described above, in Windows⑩ operating system, those applications and service programs together with the operating system components may be placed in a state VSS volume. 然而,可以以任何决定于设计考虑的合适方式组编和/ 或分组客户端数据。 However, any suitable manner may be determined by design considerations set of encoding and / or client data packet.

[0047] 再次参考图1,服务器102还存储并管理同时存在服务器本身和备份存储器110上的客户端文件索引112和介质卷116。 [0047] Referring again to FIG. 1, the server 102 also stores and manages the client file index exist on the server itself and the backup storage media roll 116 and 110,112. 客户端文件索引112是备份数据项的索引。 The client file index 112 is an index backup data items. 介质卷116 是备份卷的索引。 Media roll 116 is an index of the backup volume. 在此,客户端文件索引112和介质卷116统称为"联机索引"。 Here, the client media file index 112 and volume 116 are collectively referred to as "online index." 联机索引一般在备份操作完成之后存储于备份存储器110上。 After the online index is generally stored on the backup operation is completed backup memory 110. 然而,将能理解的是,为了在恢复期间能够恢复目录和项,其它操作系统可使用类似的用于保持被备份的目录和项的数据结构。 However, it will be appreciated that, during the recovery can be restored to the directory entry and, other operating systems may use similar structure for holding data and a directory entry is backed up.

[0048] 2、用于创建单次快照的示例性系统 [0048] 2, an exemplary system for creating a single snapshot

[0049] 简要参考图2,其示出了一种用于创建单次快照并执行备份和恢复操作的示例性系统。 [0049] Referring briefly to FIG. 2, which illustrates an exemplary system for creating a snapshot and a single backup and restore operations. 如其所示,备份/恢复应用程序202启动备份/恢复操作。 As shown, the backup / restore application program 202 starts the backup / restore operations. 如在此所使用的,该备份/恢复应用程序也可被称为请求装置(requestor),或换句话说是请求备份或恢复操作的应用程序。 As used herein, the backup / restore application may also be referred to as a requesting device (Requestor), or in other words a request for a backup or restore operation of the application. 通过备份/恢复应用程序202,用户可选择所有或特定备份分组来进行备份或恢复。 By the backup / restore application program 202, a user may select all or specific backup packets be backed up or restored. 例如,在图2的实施例中,备份/恢复应用程序202可具有服务器组件202A和客户端组件202B, 服务器组件202A和客户端组件202B相互通信以实现备份或恢复功能。 For example, in the embodiment of FIG. 2, the backup / restore application program 202 may have a server component and a client component 202A 202B, 202A server component and the client component 202B communicate with each other to implement a backup or restore function. 虽然服务器组件202A 和客户端组件202B是整个备份/恢复应用程序202的组成部分,但将能理解的是,为了使得服务器102和客户端108能够执行各自的功能,服务器组件202A和客户端组件202B必要时是不同的。 Although the server component 202A and the client component 202B is integral part of the backup / restore application program 202, it will be understood that, in order to make the server 102 and the client 108 can perform the respective functions, the server component 202A and the client component 202B if necessary, it is different. 在备份/恢复应用程序202的组成部分被分成两部分或甚至三部分的情形下,将能理解的是,图2所示组件的排列可以不同,且图2的系统是以示例性而不是限制性的方式被提供。 The case is divided into two portions or three portions even in the backup / restore application part 202 at, it will be understood that the arrangement of the components shown in FIG. 2 may be different and the system of Figure 2 is exemplary rather than limiting of way it is provided. 在不太典型的实施例中,备份/恢复应用程序202可仅存在于服务器(在此情形下,月艮务器可具有客户端的特性)或仅存在于客户端(在此情形下,客户端可具有服务器的特性)。 In a less typical embodiment, the backup / restore application program 202 may be present only in the server (in this case, may have a month that works to client characteristics), or present only in client (in this case, the client It may have characteristics of the server). 如图2所示,备份/恢复应用程序202与该备份/恢复应用程序访问的备份存储器204相互通信,以执行备份和/或恢复功能。 As shown, two backup / restore application 202 communicate with each other the backup / restore application program accesses backup memory 204 and to perform backup and / or restore function.

[0050] 客户端组件202B与在一个实施例中置于客户端的快照管理器206相互通信。 202B communicate with each other [0050] The client component on the client side and the snapshot manager 206 in one embodiment. 快照管理器206启动快照生成器208,以此启动单次快照的创建。 Snapshot Manager 206 starts snapshot generator 208, in order to start to create a single snapshot. 必要时,快照生成器208请求暂停发生备份的系统(例如客户端108)上的操作,直到创建了快照。 If necessary, the snapshot request generator 208 Pause backup occurred on the system operation (e.g., client side 108), until the snapshot is created. 快照生成器208与包含物理数据212的存储器210通信,从物理数据212创建单次快照214。 Snapshot generator 208 and memory 210 containing the physical data communications 212, 212 to create a single snapshot 214 from the physical data.

[0051 ] 3、用在备份/恢复数据中的示例性备份分组 [0051] 3, with the backup / restore backup data packets Exemplary

[0052]如上所述,待备份的客户端数据或项可包括但不限于卷、用户数据、系统数据、应用程序、服务程序、操作系统、和/或诸如此类。 [0052] As described above, the client or the data items to be backed up may include but are not limited to volume, user data, system data, applications, services, programs, operating systems, and / or the like. 可将客户端数据组编在目录或卷中,所述卷还具有子目录层级并显示在与备份/恢复应用程序通信的用户界面上。 Client data set may be compiled in a directory or volume, the volume level and further having a sub-directory is displayed on the backup / restore application in communication with the user interface. 另外,所述层级使得用户易于指定特定的卷或子目录来备份。 Further, the hierarchy so easy for the user to specify a specific volume or subdirectory to back. 还可将所述卷和子目录组编在术语"备份分组" 中,所述备份分组在此被定义为数据或项的集合,其中所述数据或项在服务器102和特定客户端(例如客户端108)之间的备份对话中被备份。 The volume may also be compiled in a group of subdirectories and the term "backup packet", the backup is defined herein as a packet data or a collection of items, wherein the items in the data server 102 and or a particular client (e.g., client the backup dialogue is backed up 108). 因此备份分组可包括整个卷、整个卷的部分、或分布于一个或多个卷上的数据,所述备份分组包括但不限于文件组、整个文件系统、 例如数据库或操作系统信息的应用程序生成数据等。 Thus the packet may include the entire backup volume, the volume of the whole, or distributed data on one or more volumes, the packet backup file group including but not limited to, the entire file system, such as an operating system or a database application information is generated data. 备份分组还可包括应用程序,或服务程序,或应用程序、服务程序的组件,和/或分布在一个或多个卷上的操作系统。 Packet may further include a backup application, the program or service, or application service program components, and / or operating system distributed across one or more volumes. 为了说明其中备份分组包括位于多于一个卷的信息的示例,备份分组可包含涉及操作系统状态的信息,但该信息位于不同的卷上。 To illustrate an example wherein a backup packet comprising information in more than one volume, the backup packet may contain information relating to the operating state of the system, but the information is located on a different volume. 因此,术语备份分组被用作编制工具,用于标识并定位可逻辑上归属在一起的文件。 Thus, the term packet is used as a backup program tool, for locating and identifying files attributable logically together.

[0053] -些操作系统包括与应用程序或服务程序一起操作的写入组件,以在存储设备上存储信息。 [0053] - some operating system includes a writing unit or service application program operating together to store information on the storage device. 例如,在WiMows⑩操作系统中,写入组件被称为"写入程序"。 For example, the operating system WiMows⑩, writing unit called "writer." 因此,术语"写入程序"和"写入组件"将可交替地用来指示提供此功能的任何组件。 Thus, the term "writer" and "writing unit" will be used interchangeably to indicate any component that provides this functionality. 进一步,写入组件可与包括快照生成硬件和软件的备份/恢复硬件和软件相互作用。 Further, the writing unit may include hardware and software snapshot generation backup / restore software and hardware interaction. 一般而言,写入程序与至少一个待备份的应用程序或服务程序相对应。 Generally, the application program written at least one program or service corresponding to be backed up. 备份分组中与写入程序相关的数据可进一步设置于不同的卷、子目录等。 Backup data packet associated with the write procedure may be further provided to different volumes, directories, and so on. 例如,写入程序可存储数据至多于一个的卷。 For example, a program can be written to more than one data storage volume. 另外,一些卷并与任何写入程序无关。 In addition, some volume and is independent of any writer. 因此,有可能备份分组可与这样的信息相对应,该信息存储于与写入程序相关的卷上、与任何写入程序无关的卷上、或这两者上。 Thus, it is possible to back up a packet may correspond to such information, the information is stored in the volume associated with the write process, the write program independent of any volume, or both. 客户端的一个或多个文件可能涉及操作系统状态。 Client files may involve one or more of the operating system state. 在一个实施例中,如上所述,可将备份分组用来组编涉及客户端的操作系统状态的文件。 In one embodiment, as described above, packets may be used to group backup file compiled state relates to the operating system of the client. 例如,Microsoft®提供的卷映射拷贝服务程序(Volume Shadow Copy Service), 并可配置VSS卷结构用来备份运行在WindowsO上的客户端的操作系统状态。 For example, Microsoft® provided Volume Shadow Copy Service Program (Volume Shadow Copy Service), and can be configured to back up the VSS volume structure on the operating state of the operating system WindowsO client. 另外,如上所述,VSS卷包括其它应用程序和/或服务程序,所述应用程序和/或服务程序包括写入程序。 As described above, the VSS volume includes other applications and / or service program, the application and / or service programs include programs written. VSS卷提供编制工具以备份涉及操作系统状态的数据。 VSS prepare tools for providing the backup volume data relates to the operating system state. 保存关于客户端的操作系统状态的备份分组,使得用户能够恢复他们的操作系统且需要的话将其返回至先前的状态,这在用户丢失操作系统驱动器或整个机器的情况下是重要的。 Save backup group on the operating system state of the client, so that users can restore their operating system and needed to return it to its previous state, which is important in case a user loses operating system drive or the entire machine. 否则,用户将必须重建他们的系统, 重新配置服务程序并重新安装和重新配置应用程序。 Otherwise, the user will have to rebuild their systems to reconfigure the service and reinstall and reconfigure the application.

[0054] 在此描述的实现与逻辑VSS卷结合的卷映射拷贝服务程序的Windows_®操作系统,仅为组编涉及客户端数据的备份分组的示例性方式。 [0054] Windows_® operating systems implement logical volume VSS described herein bind Volume Shadow Copy Service program, merely exemplary embodiment relates to a packet group eds backup client data. 其它操作系统平台可使用类似或不同的方法来为涉及客户端的数据组编备份分组。 Other operating systems or platforms can use a similar method to compile different packets to the backup data set relates to the client. 然而,利用Windows®操作系统的示例,图3A和3B示出了两个用户界面示例302A和302B,各自具有不同的组编客户端的备份分组的方式。 However, using the example of the Windows® operating system, Figures 3A and 3B illustrate two exemplary user interface 302A and 302B, each having a different mode groups compiled client backup packet. 用户界面302A、302B可与备份/恢复应用程序相关,这在下面将进一步描述。 The user interface 302A, 302B with the backup / restore application related, as will be further described below. 用户可与用户界面302A或302B交互,以选择待保存的特定备份分组。 302A 302B or user may interact with the user interface, to select a particular backup packets be stored. 或者,用户可简单列出待备份的备份分组,而不使用用户界面。 Alternatively, the user may simply list the backup packets be backed up, without the use of the user interface. 进一步,也有可能用户选择"所有"备份分组需备份。 Further, it is also possible that the user selects "all" backup group to be backed up. 实际上,在用户考虑一致的备份操作系统状态的情况下,用户将可能选择所有备份分组(至少选择涉及VSS卷的那些)需备份。 In fact, in consideration of the user operating system consistent backup state, the user may choose to backup all packets (at least those volume option involves VSS) to be backed up.

[0055]图3A说明包括多个卷的界面302A,各卷由特定的字母数字字符标识并通常被称为驱动器(例如,A:驱动器,C:驱动器,D:驱动器等等)。 [0055] Figure 3A illustrates a plurality of volumes comprises interfaces 302A, each identified by a specific volume of alphanumeric characters and is generally referred to as a driver (e.g., A: drive, C: drive, D: drive, etc.). 还配置多个VSS备份分组328用于备份/ 恢复功能。 A plurality of further packets VSS backup 328 for backup / restore features. 如图3A所示,涉及系统的某些卷的备份分组326和涉及操作系统状态的备份分组328在相同的树中。 3A, the system involving certain backup roll 326 and the packet status relates to the operating system 328 in the same packet backup tree. 与此对比,在图3B中,涉及主VSS卷的备份分组354被安排在树350下。 In contrast, in Figure 3B, the primary backup involves VSS volume 354 packets 350 are arranged in a tree. [0056] 参考图3A作为示例,但该示例也可应用于图3B,备份分组328包括备份分组306、 308、310、312、314、和316,这些是系统备份分组并可包括操作系统写入程序和写入程序组件。 [0056] Referring to FIG 3A, as an example, but the example is also applicable to Figure 3B, the backup backup packet 328 includes packet 306, 308,310,312,314, and 316, which are system backup write packet may include an operating system and writers components. 由于系统备份分组328的很多组件可具有相关性,因此优选地,用户选择所有备份分组328(8卩,涉及保存客户端的操作系统状态的那些备份分组),从而可为所有备份分组创建单次快照,并可利用单次快照执行对每一个备份的保存。 Since the backup packet number assembly 328 may have an associated resistance, and therefore preferable, the user selects all backup packet 328 (8 Jie, those involving the backup packet holding client operating system state), thereby creating a single snapshot of all backup packets , and can use a single snapshot saved for each backup. 利用相同的快照可实现对所有系统备份分组的备份。 May backup system backups of all packets with the same snapshot. 这确保可以以与恢复所需一致的方式来恢复客户端的操作系统状态。 This ensures that the recovery may be required in a manner consistent with the operating system to restore the state of the client. 然而,如上所述以及如图3A所反映的,用户可选择涉及客户端的操作系统状态的部分备份组需备份,并利用单次快照备份这些被选择的备份分组。 However, as described above and reflected in FIG. 3A, a user may select group involving partial backup operating system status of the client to be backed up, and back up with a single snapshot backup of these selected packets.

[0057]在一个实施例中,备份分组328、354是动态构成的,且可部分基于哪些写入程序在客户端上运行来动态确定备份分组328、354的内容。 [0057] In one embodiment, the backup configuration is dynamic packet 328,354, and may be part of the program which is written based on the contents of the packet to dynamically determine the backup 328,354 running on the client. 当列举或标识出客户端的写入程序时, 相同类型的写入程序变成特定备份分组中的写入程序。 When the client identified include or write procedure, the same type of program is written into a particular backup program is written in the packet. 因此,与特定备份分组相关的写入程序具有相同的类型。 Thus, packets associated with a particular backup write procedure of the same type. 例如在图3A中,写入程序324均具有相同的类型并被包括在备份分组310中。 For example, in FIG. 3A, the write program 324 and has the same type of packet 310 included in the backup. 如果特定应用程序或服务程序的写入程序不可用(即,不运行或不存在的),则适当的文件可在为备份选择对应的卷时经由文件系统而被备份。 If a particular application program to write a program or service is not available (i.e., not running or not present), then the appropriate file via the file system is backed up when selecting the corresponding backup roll. 对于给定的备份操作,备份分组中的一些可包括运行中的写入程序,而其它可能不包括任何写入程序。 For a given backup operation, the backup packet may include some of the write operation of the program, while others may not include any write procedure.

[0058]上述关于写入程序的讨论不应被解释为要求写入程序与每一个卷或备份分组相关。 [0058] The above discussion of the write procedure should not be construed associated with each packet of a backup roll or claim writer. 有可能卷与任何写入程序无关。 Volume is likely not related to any writer. 如果与备份分组相对应的信息位于与写入程序无关的卷上,则还有可能备份分组与任何写入程序无关。 If the packet corresponding to the backup information is located on the writer independent of volume, there may be independent of any backup packet writer. 卷也可与写入程序相关,但与任何涉及操作系统状态的备份分组无关。 Volume may also be associated with the write process, but independent of any packets directed to the backup operating system state.

[0059] 将能理解的是,本发明并不要求每个单次时间实际备份全部备份分组。 [0059] It will be understood that the present invention does not require real time for each single full backup a backup packet. 也就是说, 用户可指定某些备份分组需备份。 In other words, the user can specify that certain groups need to back up the backup. 因此,在用户选择所有备份分组中部分需备份的情况下, 图3A和3B的逻辑结构可能最终不同。 Thus, the user selects all backups in the packet part to be backed up, the logical structure of FIGS. 3A and 3B may ultimately differ. 例如,图3A的结构提供某些涉及操作系统状态的待组编备份分组作为主目录,使得它们可被选择。 For example, the structure of FIG. 3A afford certain group to be directed to the operating system state backup encoding packet as the home directory, so that they can be selected. 如图3A所示,如果用户想要的话,用户可选择或列出系统驱动器D、VSS系统引导程序、和VSS用户数据需备份。 , If the user desired, the user may select or drive D systems listed in FIG. 3A, a system boot program VSS, and VSS user data to be backed up. 与此对比,在图3B中,将所有VSS备份分组组编成一个主VSS卷下的子目录,使得用户可选择整个VSS卷。 In contrast, in Figure 3B, all packets VSS backup group compiled a subfolder of the main volume VSS, VSS so that the user can select the entire volume. 例如,如图3B 所示,根据具体情况而定,用户可选择或列出系统C驱动器、系统D驱动器、和VSS卷需备份。 For example, as shown in Figure 3B, as the case may be, the user may select or C listed drive system, the drive system D, the volume to be backed up and VSS. 通过选择VSS卷,包括涉及操作系统状态的所有备份分组的整个操作系统状态目录将在每次选择VSS卷时被备份。 When selecting VSS by volume, including all packets directed to the backup operating system state of the entire operating system directory in the state of each backup volume is selected VSS. 图3B的结构更方便用户易于利用单次选择(即VSS:)标识出涉及操作系统状态的所有备份分组,因为在一些情况下希望确保操作系统状态在每次发生操作系统状态数据备份时是一致的。 Structure of FIG. 3B is more easily with a single user selection (i.e., VSS :) identify all packets directed to the backup operating system state, because it is desirable in some cases to ensure that the operating system each time the operating system state at the state of the consistent data backup occurs of. 然而,如果想要的话,用户还可选择涉及操作系统状态的子分组,而不必选择所有操作系统状态子分组。 However, if desired, the user can select sub-group involving the operating system state, without having to select sub-state grouping all operating systems.

[0060] 不管用户是选择所有备份分组需备份或是仅选择一些备份分组需备份,都可从与所选择的备份分组相对应的卷创建单次快照。 [0060] Whether the user is required to select all the backup or the backup group to select only some backup group to be backed up, can create a single snapshot from the backup packets corresponding to the selected volume. 因此,对于图3A的示例,可从C驱动器卷和D驱动器卷创建单次快照。 Thus, for the example of FIG. 3A, a single snapshot may be created from the C drive and D drive volume roll. 另外,在单次快照中包括与VSS系统引导程序备份分组、VSS系统文件集备份分组和VSS系统服务程序备份分组相对应的卷。 Further, a single snapshot in the VSS includes a system boot program backup packet, the packet collection backup file system VSS and VSS system services backup volume corresponding packet. 在一个实施例中,与VSS备份分组相对应的卷可实际上为C驱动器卷和D驱动器卷,从而在单次快照中不必包括附加的卷。 In one embodiment, the VSS backup volume corresponding to the packet may actually be the C drive and D drive volume roll, so that a single snapshot need not include an additional roll. 在另一个实施例中,还可指示除了与所选择的VSS备份分组相对应的那些卷之外的卷,使得在单次快照中可包括附加的卷。 In another embodiment, the addition may also indicate those volumes than VSS backup volume corresponding to the selected packet, so that in a single snapshot may include additional volumes. 对于图3B,可从C驱动器卷、D驱动器卷、以及与VSS卷备份分组相关的卷(再次,其可对应位于例如C驱动器卷和D驱动器卷的已包括在单次快照中的卷的信息)创建单次快照。 For 3B, the can from the C drive volume, D drive volume, and volume associated with VSS volume backup packet (again, which may correspond located e.g. C drive roll and the D drive volume have included information volume in a single snapshot ) to create a single snapshot. 在任一情况下,在创建单次快照之后,各备份分组的备份进程可使用相同的快照,以从该快照形成备份操作。 In either case, after creating a single snapshot, the backup process each packet may use the same backup snapshots to form the snapshot from the backup operation. 因此,所选择的备份分组(或整个客户端系统,如果期望的话)的备份可反映在单个时间点的备份。 Thus, the backup of the selected packet (or the entire client systems, if desired) may be reflected in the backup to the backup single point in time.

[0061] 如前述示例性流程所述,快照管理器206和快照生成器208启动单次快照,用于执行任何备份分组的保存进程。 [0061] As the foregoing exemplary process, Snapshot Manager 206 and snapshot generator 208 starts a single snapshot, for performing a saving process of any backup packet. 相比传统备份程序提供的恢复,这提供了更一致的恢复。 Compared to traditional backup program to provide recovery, which provides a more consistent recovery. 例如,当安装一个新硬件时,通常还需要安装新的驱动器。 For example, when installing a new hardware, typically you need to install a new drive. 一般说来,新的驱动器包含涉及其操作的信息。 Generally, the new drive contains information relating to its operation. 该信息的一些存储在一个操作系统写入程序内,而另外的数据存储在可属于其它写入程序的硬盘驱动器上的一个或多个文件中。 Some of the information stored in the operating system to write a program, and additional data may be stored in one or multiple files on the hard drive in another writer. 该信息在需要时由操作系统存取,且对于驱动器正确工作是必需的。 This information is accessed by the operating system when required, and for the proper operation of the driver is necessary. 那些写入程序中存储驱动器数据的那个可在一个备份分组中,而包含具有驱动器数据的文件的另一个写入程序可在不同的备份分组中。 Another writer who writes a program stored in the drive data packet may be a backup, but with a driver include files may be in different data packets of the backup. 如果两个备份分组均没有从相同的快照被保存,则该信息的一部分将可能不与其它部分同步。 If two packets are not saved backup from the same snapshot, a part of the information may not be synchronized with other parts.

[0062] 与此对比,本发明提出:对于在单个时间点创建与所选择的备份分组相对应的卷的单次快照的情况,服务器102指导客户端108利用单次快照执行各备份分组的保存操作。 [0062] In contrast, the present invention provides: in the case of a single snapshot creation and selected in a single point in time backup packet corresponding to the volume, the server 102 direct the client 108 with a single snapshot stored in each backup packet operating. 进一步,共享文件的备份分组确保在相同的时间点更新所共享的文件,这使遗漏重要信息的可能性达到最小。 Further, the backup files to ensure file sharing groups at the same time updating shared, which makes the possibility of missing important information to a minimum. 因此,本发明提出,备份数据是基于由单次客户端快照提供的单一时间点基准,从而使得实际上被备份的所选择的数据是从相同的时间点基准形成的。 Accordingly, the present invention proposes, based on a single data backup time provided by a single client snapshot reference point, such that the selected data is actually backed up is formed from the same reference time. 备份类型可改变。 Backup type can be changed. 例如,可对某些备份分组执行递增的备份。 For example, the packet may be some backup perform incremental backups. 或者,可执行全备份。 Or, perform a full backup.

[0063] 然而,在1Windows®操作系统实施例中,当包含写入程序的备份分组正被备份时, 通常执行备份分组中所有写入程序的全备份,以保存客户端的操作系统状态或保存正被备份的应用程序或服务程序的状态。 [0063] However, the operating system in 1Windows® embodiment, when the backup program which includes a write packet is being backed up, is typically performed in the full backup a backup of all the packet written programs, operating system to save the state of a client or saved n the state of the application or service program is backed up. 在一些示例中,备份分组的写入程序之一可能不被备份。 In some examples, one of the backup program may not write the packet to be backed up. 这可发生在,例如,当与该写入程序相关的数据未改变时。 This may occur, for example, when the write data associated with the program is not changed. 这样可改善备份的性能,尤其是如果由该写入程序标识的应用程序大时。 This improves the performance of the backup, especially if the application program identified by the large writes. 换句话说,避免备份未改变的大应用程序可改善备份性能。 In other words, to avoid backup unaltered large application can improve backup performance. 然而,如果应用程序的数据已改变,则通常执行应用程序的全备份。 However, if the application data has changed, it is usually to perform a full backup of the application.

[0064] 图3C和3D进一步说明了用于选择性恢复在Windows®操作系统上运行的客户端上数据的示例性用户界面。 [0064] Figures 3C and 3D illustrate a further exemplary user interface for selective recovery client running on the Windows® operating system on the data side. 在图3C中,界面302C显示备份分组310和314已被选择用于恢复。 In Figure 3C, an interface 310 and 302C displays the backup packet 314 have been selected for recovery. 进一步,子分组例如在备份分组310中的写入程序324和组件313,可被选择用于恢复,而不必选择整个备份分组310需备份。 Further, for example, the backup sub-packet 310 in the packet 324 and the writer component 313, may be selected for recovery, without having to select the entire backup packet 310 to be backed up. 图3D说明与图3B的逻辑结构相对应的恢复界面302D,但实质上具有与图3C的界面302C相同的功能和用途。 3D illustrates the logical structure of FIG. 3B corresponding recovery interface 302D, but having substantially the same function and use of the interface of FIG. 3C 302C.

[0065] 4、用于创建单次快照的示例性方法 [0065] 4, an exemplary method for creating a single snapshot

[0066] 参考图4A,现在将详细描述利用图2的示例性系统创建用于备份客户端数据的单次快照的示例性流程。 [0066] Referring to Figure 4A, will now be described in detail an exemplary process for creating a single snapshot backup client data using the exemplary system of FIG. 图4A说明在一个实施例中客户端和服务器如何交互,以创建单次客户端快照。 4A illustrates an example of how to implement the client and server interaction in a, in order to create a single client snapshot. 在步骤402,备份/恢复应用服务器组件202A在服务器102上启动。 In step 402, the backup / restore application server component 102 on the server 202A starts. 在步骤404,服务器组件202A在客户端上启动备份/恢复应用客户端组件202B。 In step 404, the server component 202A on the client starts a backup / restore application client component 202B. 在步骤406,客户端组件202B为该客户端生成所有可能的备份分组的列表,并将该列表发送回服务器组件202A。 In step 406, the client for the client component 202B may generate a list of all backup packet, and send the list back to the server component 202A. [0067] 在步骤408,服务器组件202A接收备份分组的列表,从而用户可选择一个或多个可用的备份分组需备份。 [0067] In step 408, the server component receives the list of backup packet 202A, so that the user may select one or more of the available backup packet to be backed up. 如上所述,用户可选择所有备份分组或仅选择特定备份分组需备份。 As described above, the user may select all backups packets or select only specific backup packet to be backed up. 如在此所使用的,术语"用户"是指做出哪些备份分组需备份的选择的任何人。 As used herein, the term "user" refers to any person choose which packets to be backed up to make a backup. 因此,用户可指操作客户端计算机的人,或经由服务器或其它图形用户界面操作客户端计算机的管理员。 Accordingly, the user may be a person operates the client computer, via a server or other graphical user interface operation or the administrator of the client computer. 用户可在备份前的任何时间点选择待保存的备份分组。 The user may select the backup packets be stored at any point in time before backup. 例如,用户可决定选择预先配置的备份组选择,相同的选择被用于一系列预先调度的备份。 For example, the user may decide to select a backup preconfigured group selected, for selecting a same series of pre-scheduled backup. 在一个实施例中,配置客户端组件202B,使得所有备份分组被预先配置为在每次执行备份时进行保存。 In one embodiment, the client component 202B arranged, such that all packets be pre-configured backup to save the backup at every execution. 该实施例可确保,每次执行备份时,在一致的基准点备份操作系统状态。 This embodiment ensures that, each time a backup executed, a reference point in a consistent state of the backup operating system. 然而,如上所述,还有可能用户仅选择某些备份分组需备份,并在每次执行备份之前执行该选择进程。 However, as noted above, it is also possible to select only certain user groups need to back up backup, and execute the selection process before each perform a backup.

[0068] 在步骤409,服务器组件202A可创建包括由用户选择的已选择备份组的备份分组的已修改的列表。 [0068] In step 409, the server component 202A may include creating a list of the selected backup modified backup group of packets selected by the user. 已修改的列表还包括在列表开始处的启动备份分组512以及在列表结束处的终止备份分组514。 The modified list 514 further includes a packet start at the beginning of the backup list packet 512 and terminating at the end of the list of backup. 已修改的列表简单说明了所选择的备份分组的处理顺序,且本发明并不限于创建实际的备份分组列表。 Brief Description of the modified list of backup processing sequence of the selected packet, and the present invention is not limited to creating a list of backup actual packet. 在另一个实施例中,用户可首先基于可能在客户端可用的潜在备份分组列表来选择备份分组,然后将该选择与在客户端可用的实际备份分组列表进行比较。 Embodiment, the user may first select the backup packets based on the packet back up the list of potential clients may be available in another embodiment, and then select the actual backup list available to the client packets are compared. 其它变化也是可能的。 Other variations are also possible.

[0069] 图4B示出了备份分组的已修改列表500的一个示例,该已修改的列表500在你incbws®操作系统的示例性实施例中可利用标识在图3A中的选择创建于服务器组件202A处。 [0069] FIG. 4B shows an exemplary list of backup packet 500 has been modified, the modified list 500 in the exemplary embodiment of the operation of the system you incbws® be created in the server using the identifier selection component in Figure 3A at 202A. 在一个实施例中,备份分组的已修改列表总是包含在列表开始处的启动备份分组512和在列表结束处的终止备份分组514。 In one embodiment, the backup of the packet is always included in the list has been modified to start at the beginning of a list of backup packet 512 and the packet is terminated at the end of backup list 514. 例如,如图3A所示,用户已选择备份分组502、504、 506、508、和510用于备份。 For example, as shown in FIG. 3A, the user has selected a backup group 502, 506, 508, and 510 for backup. 除了所选择的备份分组502、504、506、508、和510之外,还在列表的开始处和结束处包括启动备份分组512和终止备份分组514。 In addition to the selected backup packet 502,504, 506,508, and 510, also at the beginning and end of the list at 512 and comprises a start packet backup backup packet 514 terminates. 需要注意的是类似地,图4C 示出了可利用图3B的用户界面302B上所示的选择来创建备份分组的已修改列表516。 Note that similarly, FIG. 4C shows a modified select list 516 shown on FIG. 3B may utilize a user interface to create a backup packet 302B. 在此情形下,已修改的列表516可包括启动备份分组512,所选择的备份分组518、520和522,以及终止备份分组514。 In this case, the modified list 516 may include a backup start packet 512, the selected packets 518, 520 and 522 of the backup, and a backup packet 514 terminates. 当然,已修改的列表可根据特定操作系统如何组编备份分组而改变。 Of course, how a modified list of backup sets compiled packet vary depending on the particular operating system.

[0070] 启动备份分组512和终止备份分组514是伪备份分组,因为它们是待发送给客户端组件202B的第一个和最后一个备份分组,但并不依赖于任何特定的卷。 [0070] 512 to start the backup and packet 514 is a packet termination backup backup dummy packet, because they are to be sent to the client component 202B of the first packet and the last backup, but not dependent on any particular volume. 它们被用来创建和删除单次快照以及保持所创建的快照。 They are used to create and delete a single snapshot and keep the snapshot was created. 将能理解的是,优选地,已修改列表500的创建对用户是透明的。 It will be understood that, preferably, has been modified to create a list of 500 transparent to the user.

[0071]在任何情况下,在步骤410,服务器组件202A将备份分组的已修改列表发送给客户端组件202B。 [0071] In any event, at step 410, the backup server component 202A has been modified packet transmission list to the client component 202B. 在步骤412,通过发送已修改列表中的启动备份分组512,服务器组件202A知道不发送任何其它备份请求至特定的客户端,而是等待直到从客户端组件202B接收到单次客户快照的生成是成功还是失败的信号。 In step 412, the modified packet 512 starts a backup list by sending, the server component 202A knows not to transmit any other backup request to a particular client, but waits until the client component 202B from receiving the snapshot generation is CPA the success or failure of the signal. 如果单次快照的生成失败,则备份/恢复应用程序202可使用缺省进程,用于分别生成每一个所选择的备份分组的快照,而并不是将它们集合在单次快照中。 If a single snapshot generation fails, the backup / restore application 202 can use the default process to generate a backup of a snapshot of each of the selected packet, and not to set them in a single snapshot.

[0072]在步骤414,客户端组件202B接收包含启动和终止备份分组512、514的已修改的列表。 [0072] comprising a list of backup initiation and termination of the modified packet in step 512, 514 414, received in the client component 202B. 在步骤416,通过启动备份分组512的执行来启动位于客户端的快照管理器206。 In step 416, for booting the client to the Snapshot Manager 206 starts by performing a backup of the packet 512.

[0073] 在步骤418,客户端组件202B将已修改的列表传送至快照生成器208。 [0073] The generator 208 is transmitted to the snapshot at step 418, the client component 202B of the modified list. 在步骤420, 快照生成器208被启动,这将开始单次快照的创建。 In step 420, the snapshot generator 208 is activated, it will begin to create a single snapshot. 在等待来自快照生成器208的快照创建完成的信号时,快照管理器206保持运行状态。 While waiting for the completion of the snapshot 208 is created from the signal generator snapshot, the snapshot manager 206 to keep running.

[0074]在步骤422,通过根据标识在已修改列表中的备份分组项管理所有卷的标识,快照生成器208统筹单次快照的创建。 [0074] In step 422, the packet according to the identifier Backup Manager in the modified list of all the volume, the snapshot generator 208 to create a single integrated snapshot. 在一个实施例中,快照生成器208可包括拷贝集中的所有已标识的卷并请求快照的创建。 In one embodiment, the generator 208 may include a snapshot of all the volumes identified copyset and snapshot creation request. 术语拷贝集用于指称待包括在单次快照中的卷的分组。 The term used to refer to the copy sets in a single packet volume to be included in the snapshot. 拷贝集可为应包括在单次快照中的卷的列表或其它标识。 Copysets may include a list or other identification of the volume in a single snapshot. 因为各操作系统不同地创建快照, 在此并不描述创建快照的细节,但利用示例性系统描述如下。 Because creating a snapshot of each of the operating systems differently, not described here creates a snapshot of the details, but with an exemplary system are described below. 一旦快照被创建,则快照与路径名相关,从而使得备份/恢复应用程序可随后定位该快照。 Once the snapshot is created, the snapshot associated with the path name, so that the backup / restore application can then locate the snapshot. 将进一步讨论如下,在创建单次快照时,客户端组件202B暂停客户端108上的写入程序操作。 Will be further discussed below, when creating a single snapshot, the client component 202B writing is suspended on the client program 108 operates. 另外,在一个实施例中,元数据也与单次快照一起生成。 Further, in one embodiment, the metadata is also generated with a single snapshot.

[0075]如果快照是成功的,则在步骤423,快照生成器208将在创建单次快照时生成的元数据添加至快照,以包括对执行保存或备份进程有用的附加信息。 [0075] If the snapshot is successful, then in step 423, the snapshot generator 208 will be generated when you create a single snapshot metadata is added to the snapshot to include useful to perform a save or backup process additional information. 另外,为定位已修改的快照文件创建文件名,无论该已修改的快照文件存储在客户端202B的任何地方。 In addition, in order to locate the file has been modified to create a snapshot of the file name, regardless of whether the modified snapshot file stored anywhere on the client end 202B. 这将在以下详细描述。 This will be described in detail below. 在步骤424,将快照创建成功的信号发送至服务器组件202A。 In step 424, the snapshot is created successfully send a signal to the server component 202A. 这指示服务器组件202A启动保存进程。 This indicates that the server component 202A start the save process. 在步骤425,该快照生成器设定一事件,该时间将被用于接收何时可删除快照的信号。 In step 425, the snapshot generation setting an event, the time when it can be used to receive a signal to delete the snapshot. 在步骤426,快照管理器206退出,而快照生成器208保持运行状态。 In step 426, the snapshot manager 206 exits, and the snapshot 208 is generated to keep running. 快照生成器208保持运行状态,直到所选择的备份分组的所有保存进程都完成,以及直到该快照被删除。 Snapshot generator 208 to keep running, all save the backup process until the selected packet are completed, and until the snapshot is deleted.

[0076]在步骤426,在退出之前,快照管理器206将已修改的快照文件名连同启动备份分组512-起返回给服务器组件202A,且在步骤428由服务器组件202A接收所述已修改的快照名和启动备份分组。 [0076] In step 426, before exiting, Snapshot Manager 206 The modified snapshot backup boot file name along with the packet back to the server from 512- assembly 202A, and a snapshot at step 428 the server receives the modified assembly 202A name and start the backup group. 在一些实施例中,该动作可用于通知服务器组件202A单次快照创建成功,而不创建单独的动作424。 In some embodiments, the action can be used to inform the server components 202A single snapshot is created, without creating a separate operation 424. 在任何情况下,已修改的快照文件名和启动备份分组512的接收指示服务器组件202A现在可开始保存进程。 In any case, modified snapshot file name and start a backup group receiving 512 instructs the server component 202A can now start saving process.

[0077]在步骤429,服务器组件202A开始发送请求给客户端组件202B,以保存标识在已修改的列表中的备份组。 [0077] In step 429, the server component 202A sends a request to start the client component 202B, to identify stored in the modified list of backup sets. 服务器组件202A还根据各保存请求发送已修改的快照文件的文件名。 Server component 202A also requests the file name to send the snapshot file has been modified in accordance with each save. 在步骤430,客户端组件202B利用所选择的备份组和已修改的快照文件名开始各备份分组的保存进程。 In step 430, the client component 202B use the backup group selected and modified snapshot file name starts saving the backup process each packet. 执行各备份分组的保存进程(即备份)可根据备份/恢复应用程序而改变,因此下面将详细描述示例性流程。 Performing a backup of each packet save process (i.e., backup) may be changed backup / restore application program according to the exemplary flow will therefore be described in detail below. 然而,一般而言,备份/恢复应用程序利用已修改的列表来标识应保存哪些备份组。 However, in general, backup / restore application uses the modified list to identify which should save the backup group.

[0078] 决策框431表示服务器组件202A随后移动通过用户选择的其它备份分组。 [0078] Decision block 431 represents a server component 202A is then moved back up other packets selected by the user. 在一个实施例中,决策框431查询目前的备份分组是否是最后的备份分组。 In one embodiment, decision block 431 queries whether the current packet is the last backup backup group. 如上所述,用户可指定所有备份分组需备份或可仅选择特定的备份分组需备份。 As described above, the user can specify that all packets to be backed up or the backup may select only a specific backup packet to be backed up. 在任一情况下,服务器组件202A 顺序移动通过备份组列表,根据各备份分组保存请求发送已修改的快照文件名,从而使得客户端组件202B知道从何处存取快照以恢复所需的数据。 In either case, the server component 202A by sequentially shifting the list of backup sets, snapshot request has been modified according to the file name of each backup packet holding, so that the access client component 202B know where to restore the desired snapshot data.

[0079]因此,服务器组件202A通过发送针对各所选择的备份分组的特有保存请求至客户端组件202B来指导备份分组的保存。 [0079] Thus, by sending a request to the server component 202A for each unique save the backup of the selected packet to the client component 202B to guide the packet back up saved. 可选地,服务器组件202A可发送一个单独的保存请求至客户端组件202B,以执行标识在已修改的列表中的所有备份分组的保存。 Alternatively, the server component 202A may send a separate request to the stored client component 202B, in order to perform backup save all packets identified in the modified list. 在任一情况下, 快照生成器208在处理所有的保存备份分组的期间保持运行状态。 In either case, the snapshot generator 208 is stored in the backup process during all packets remain running. 在一个实施例中,在完成对所选择的备份分组的保存之后,在步骤432,服务器组件202A发送请求至客户端组件202B,以保存在步骤433接收到的终止备份分组514。 In one embodiment, after completion of backup to save the selected packet, at step 432, the server component 202A sends a request to the client component 202B, step 433 terminates to save the received packet 514 to the backup. 接收终止备份分组514对于客户端组件202B来说是这样的信号,即在步骤434,需要再次启动快照管理器206。 For client component 202B is a signal, i.e., at step 434, manager 206 need to start a snapshot backup packet 514 again receives the termination. 在步骤435,快照管理器206以信号表示由快照生成器208最初在步骤425设定的事件。 In step 435, the snapshot manager 206 to an event represented by a snapshot signal generator 208 is initially set in step 425. 在步骤436,设定该事件使得快照生成器208删除当前快照。 In step 436, the event is set to make a snapshot generator 208 to delete the current snapshot.

[0080] 在步骤438,快照生成器208退出。 [0080] In step 438, the snapshot generator 208 exits. 在步骤439,快照管理器206发送终止备份分组514至服务器组件204A。 In step 439, the snapshot backup manager 206 transmits the packet termination assembly 514 to the server 204A. 然后,在步骤440,快照管理器206退出并完成保存进程。 Then, in step 440, the snapshot manager 206 to exit and save to complete the process. 在步骤442, 客户端组件202B退出。 In step 442, the client component 202B exit. 在步骤444,当服务器组件202A接收终止备份分组514时,这以信号表示了备份进程的完成。 In step 444, when the server receives the termination assembly 202A when the backup packet 514, which indicates the completion of the backup process to the signal. 在步骤446,服务器组件202A退出。 In step 446, the server component 202A exit.

[0081]本领域技术人员应能理解,上述示例性流程是以说明性而不是限制性方式提供的,所述处理步骤和/或动作可依序重排以及组合或删除,并且,可由于决定于运行在客户端上的操作系统平台和/或备份/恢复应用程序的设计考虑而添加其它动作。 [0081] Those skilled in the art should appreciate that the above-described exemplary illustrative and not restrictive flow is provided by way of said processing steps and / or actions may be sequentially rearranged and combined or deleted, and can be determined since the operating system platform running on the client and / or backup / restore application design considerations and add other actions. 例如,不删除单次快照,而可将现有的快照用作第二快照的基础。 For example, a single snapshot is not deleted, and may be used as the basis for the existing second snapshot in the snapshot. 也就是说,在指针列表中保持针对在获得第一快照和第二快照的时间之间产生的变化的指针。 In other words, keep the needle for the change between the time of obtaining the first snapshot and the second snapshot generated in the pointer list. 新的指针列表被用来更新第一快照,从而创建第二快照。 The new list pointer is used to update the first snapshot to create the second snapshot.

[0082]如上所述,各种操作系统利用不同的系统和方法创建快照,同时还执行备份和恢复。 [0082] As noted above, a variety of operating systems use different systems and methods for creating a snapshot, while also performing backup and recovery. 再次简要参考图2,快照214是,在精确的时间点包含于物理存储器212中的至少一部分的精确表示。 Referring briefly again to FIG 2, a snapshot 214 is at a precise point in time comprise an accurate representation of at least a portion of the physical memory 212. 不同于可读取及写入的物理存储器212,快照214是只读的。 Unlike can read and write to a physical memory 212, snapshot 214 is read-only.

[0083] 在另一个实施例中,利用例如写时拷贝(copy on write)方法,快照214是物理存储器212在两个时间点之间产生的变化的微分表示(differential representation)。 [0083] In another embodiment, for example, using a copy (copy on write) method write, snapshot 214 is the differential between the physical memory 212 to produce two time points represents a change (differential representation). 在第一时间点的原始拷贝包含物理存储器212在被新的变化重写之前的拷贝。 A first time point in the original copy of the physical memory 212 contains a copy is rewritten before the new changes. 当物理存储器212 发生变化时,可将指针置于变化的区域上,并将该指针保持在存储于物理存储器212的指针列表中。 When a change occurs on a physical memory 212, the pointer can be placed in the region changes, and keeps the list of pointers stored in the memory 212 of the physical pointer. 利用该指针列表和原始拷贝,可创建快照214,其表示物理存储器212在创建该快照的时间点的至少一部分。 Using this list and the original copy of the pointer, can create a snapshot 214, which represents at least a portion of the physical memory 212 of the created snapshot time point. 可利用系统提供装置(provider)、软件提供装置和/或硬件提供装置生成单次快照。 Means may be provided by the system (provider), software and / or hardware providing apparatus produces a single snapshot. 在此提供装置被广泛定义为创建并保持快照的硬件或软件。 Here it is broadly defined as providing means to create and maintain hardware or software snapshot. 系统提供装置的示例是具体用于特定操作系统的软件提供装置。 The system provides exemplary apparatus is specifically for a particular operating system software means. 例如,Windows®操作系统具有缺省的用于创建快照的预安装的软件提供装置,但其它具有类似功能的操作系统也可置于其上。 For example, Windows® operating system software for creating a snapshot of the default pre-installed providing apparatus, other operating systems having similar functions can also be placed thereon. 软件提供装置在文件系统和备份/恢复卷管理器之间的软件层(software level)拦截I/O请求。 Software means provided in the file system and backup / restore software layers (software level) to intercept I / O requests between the volume manager. 因此,软件提供装置可为特别被保持以创建和/或保持快照的软件应用程序。 Thus, means may be provided to create the software and are held to be particularly / or holding a snapshot of software applications. 硬件提供装置通过与硬件存储适配器(例如,专用存储阵列)或控制器一起工作来在硬件层管理快照。 It means provided by hardware storage adapter hardware (e.g., dedicated storage arrays) or controller to work with the hardware snapshot management layer. 根据本发明的教导,任何合适的系统提供装置、软件提供装置、和/或硬件提供装置可被用来执行单次快照。 According to the teachings of the present invention, any suitable system provides apparatus, software means, and / or hardware providing means may be used to perform a single snapshot. 另外,系统提供装置、软件提供装置、和/或硬件提供装置可为备份/ 恢复应用程序的代码部分,从而使得可由相同的应用程序进行执行单次快照的请求和单次快照的实际执行。 Further, the system provides apparatus, software means, and / or may be a hardware device to provide a backup / restore application program code portions, such that the same application can be actually executed and a single snapshot request performs a single snapshot. 据此看来,其它结构在该教导的启发下也是可能的。 According to this view, other structures in light of the teachings are also possible.

[0084] 现在参考图5和6,描述了用于创建快照的示例性系统和方法,其为利用Windows®操作系统实现的系统的代表。 [0084] Referring now to FIGS. 5 and 6, an exemplary system and method for creating a snapshot, which is a system using the Windows® operating system implemented representatives. 将能理解的是,将以相同的附图标记指称与图2 中所描述相同的一些组件以及相同的元件。 It will be understood that the same reference numerals will be alleged some of the same components and the same elements depicted in FIG. 进一步,其它操作系统可使用类似或等效的组件或者不同的组件来执行快照。 Further, other operating systems may use similar or equivalent components or different components to perform the snapshot. 在图5中,请求装置218启动操作系统的组件以创建快照。 In FIG. 5, the request component 218 to start the operating system to create a snapshot of the apparatus. 请求装置218通常为请求获得快照的任何应用程序。 Any application requesting device 218 is typically a snapshot request. 在一个实施例中,请求装置218可为备份/ 恢复应用程序202、快照管理器206、和/或快照生成器208。 In one embodiment, requesting device 218 may be a backup / restore application program 202, the snapshot manager 206, and / or snapshot generator 208. 由于定义请求装置218是什么并不是关键性的,而仅在于直接或间接地请求创建快照,因此将为了描述用于创建快照和备份/恢复操作的示例性实施例而使用术语请求装置。 Since the definition of what the requesting device 218 is not critical, but only in direct or indirect request to create a snapshot, and thus will be described for an exemplary embodiment for creating the snapshot and backup / restore operations and the use of the term requesting device.

[0085]请求装置218(其在一个实施例中可以是快照生成器208)与映射拷贝(shadow copy)服务程序220通信,其中映射拷贝服务程序220是参与生成客户端的单次快照的操作系统服务程序。 [0085] The requesting device 218 (which in one embodiment may be a snapshot generator 208) the operating system a single snapshot mapped copy (shadow copy) serving program 220 is in communication Shadow Copy Service program 220 is involved in generating client service program. 在映射拷贝服务程序的情况下,快照有时也可被称为映射拷贝或虚拟卷。 In the case of Shadow Copy service program, snapshots sometimes be referred to as shadow copies or virtual volumes. 拷贝服务程序220为请求装置218标识与所选择的备份分组相对应的数据位于哪些卷上。 Copy service request program 220 identifies 218 the packet to the selected backup data corresponding to the volume which is located on the apparatus. 如上所述,例如VSS卷可包括位于一个或多个卷上的数据,所述卷可包括或不包括在已修改的列表中。 As described above, for example, may include data volume VSS located on one or more volumes, the volumes may or may not include in the modified list. 拷贝服务程序220识别出所有应包括在单次快照中的卷。 Copy program 220 to identify all service should be included in a single volume snapshot. 然后,请求装置218在拷贝集中标识这些卷。 Then, the request means 218 focus on identifying those volumes in the copy.

[0086] 在一个示例中,假设VSS卷的数据位于C驱动器和D驱动器上,且用户请求备份C驱动器(与写入程序相关)、D驱动器(与写入程序相关)、G驱动器(与写入程序无关)、以及VSS 卷(与写入程序相关)。 [0086] In one example, assume that the data VSS volume is located on the C drive and D drive, and a user requests a backup C drive (associated with the write procedures), the D drive (associated with the write procedures), G drive (write independent of the program), and VSS volume (related to the writer). 所产生的拷贝集将包括C驱动器卷、D驱动器卷和G驱动器卷。 Copysets generated will include a drive roll C, D and G drive roll drive volume. 由于VSS 的信息已包含在C驱动器卷和D驱动器卷中,因此不要求在拷贝集中包括其它的卷。 VSS is because the information included in the C drive and D drive coil volume, and therefore does not require further comprises a copy volume concentration. 在另一个示例中,假设用户仅选择D驱动器、G驱动器和VSS卷需备份。 In another example, assume that the user selects only drive D, G and VSS drive volume to be backed up. 拷贝集将包括C驱动器卷、D驱动器卷和G驱动器卷。 Copyset includes the drive volume C, D and G drive roll drive volume. 在该示例中,在拷贝集中包括C驱动器卷,这是因为涉及VSS卷的信息包含在C驱动器上。 In this example, the C drive copyset includes the volume, since the information related to the volume contained in the VSS on the C drive. 进一步,在另一个示例中,用户可简单地选择VSS卷(或其中的子分组)需备份。 Further, in another example, the user may simply select VSS volume (or sub-packet) to be backed up. 该拷贝集将包括包含涉及VSS卷分组的信息的任何卷,例如C驱动器卷和D驱动器卷。 The copy contains no set includes information relating to the volume of the VSS roll group, such as C drive and D drive volume roll. 最后,在一个实施例中,可在VSS卷中包括任何具有写入程序的应用程序。 Finally, in one embodiment, may include any application program written with the VSS volume. 然而,将能理解的是,VSS卷并不必然包括所有包括写入程序的应用程序和/或服务程序,它们可包括在其它卷中。 However, it will be appreciated that, the volume does not necessarily include all of the VSS includes writing a program application and / or service program, they may include other volume. 在这种情形下或在其中具有写入组件的应用程序或服务程序不被组编在VSS卷等价物内的其它操作系统中,用户有可能仅选择以下备份分组,所述备份分组可与任何写入程序相关或无关,但与任何VSS备份分组无关。 In this case, or in a component having the writing or application service program is not compiled in a group in the other operating system VSS volume equivalents, the user may choose to backup only packet, the packet may be backed with any write the program related or unrelated, but it has nothing to do with any VSS backup group. 拷贝集将因此仅包括与这些备份分组相对应的这些卷。 Copyset will thus include only those backup volumes corresponding to the packets.

[0087] 因此,前述示例被提供以说明可包括在拷贝集中的卷,即使该卷不是由用户最初选择待备份的,这是因为另一个备份分组(例如VSS卷)可能为了被备份而需要涉及该卷的信息。 [0087] Thus, the foregoing examples are provided to illustrate the concentration may be included in the copy volume, even if the volume is not initially selected by the user to be backed up, the backup because another packet (e.g., VSS volume) may need to be directed to the backup the volume of information. 另外,与写入程序相关的卷(例如C和D驱动器)和与写入程序无关的卷(例如G驱动器) 均可包括在拷贝集中。 Moreover, the volume associated with the write program (e.g. C and D drive), and volume independent of the writer (e.g., G-drive) can be included in a copy. 仅以举例的方式提供C、D和G驱动器与写入程序相关或无关或者具有VSS信息存储于其上的示例,且应能明白的是,在其它设计结构中,C和D驱动器不必与写入程序相关、而被描述为与写入程序无关的G驱动器实际上可与写入程序相关,或者它们可能不具有操作系统状态信息存储于其上。 Provided way of example only C, D and G with a write driver or exemplary procedures related or unrelated information on the VSS having stored thereon, and should be understood that, in other design structure, C and D and the write driver does not have to the relevant program, to be described may actually be associated with the write procedure for the writer independent of G-drive, or they may not have the operating system state information stored thereon. 进一步,虽然到目前为止已将拷贝集描述为包括整个卷或主目录的指示,但应能理解的是,只要保存备份分组所需的信息包含在拷贝集或单次快照中,可在拷贝集中并从而在单次快照中包括整个卷或主目录中的部分。 Further, although so far been described as including an indication copyset whole or master directory, but it should be understood that, as long as information required to save the backup packets contained in a single copy or snapshot set, the copy may be concentrated and thus includes a main part of the overall volume or directory in a single snapshot.

[0088] 标识与备份分组相对应的卷可要求拷贝服务程序220列举出涉及各备份分组的写入程序,以确定哪些写入程序在客户端上是运行状态的。 [0088] The packet identifying the backup volume corresponding to the copy may request service routine 220 each include a backup relates writer packet, to determine which write program running on the client status. 拷贝服务程序220与多个写入程序222-224通信。 Service program 220 copies 222-224 communicate with a plurality writer. 写入程序222-224与至少一个应用程序或服务程序以及至少一个备份分组相关。 Writer 222-224 packets associated with at least one application or service program and at least one backup. 写入程序222-224提供元数据,其中该元数据包括写入程序的名称、项或数据,例如待备份的文件和组件、哪些项或数据需要从备份中排除、和/或在备份和恢复期间用于处理组件和应用程序的方法。 222-224 writer providing metadata, wherein the metadata includes the name of the writer, or data items, such as files to be backed up and components, or data items which need to be excluded from backup and / or restore and backup the method of processing components and for the application period. 写入程序222-224还标识正备份的应用程序或服务程序的类型。 222-224 writer also identify the type of regular backup application or service program.

[0089] 写入程序可与例如邮件服务器、数据库、操作系统组件、或其它应用程序或数据存储相关。 [0089] The write procedure may be associated with, such as mail servers, databases, operating system components, or other applications or data storage. 虽然可连同其它提供写入程序或类似功能的操作系统和计算机来实施本发明的实施例,使用写入程序的操作系统的一个示例是Windows®。 Although the embodiments may be implemented in conjunction with other embodiments of the present invention to provide a program writing function, or the like and the computer operating system, the operating system using the example of a written procedure is Windows®. 通过这种方式,拷贝服务程序200可从在客户端上运行的各写入程序接收元数据,这反过来帮助拷贝服务程序220标识涉及VSS卷的卷或任何其它与写入程序相关的卷。 In this manner, program copy services 200 may receive metadata from each writing program running on the client, which in turn helps the service program 220 copies of a volume identifier relates to VSS or any other volume associated with the write process.

[0090] 一旦标识了拷贝集,则拷贝服务程序220随后与客户端上的存储器210通信。 [0090] Upon identification of a copy set, the communication service program 220 then copies the memory 210 on the client. 存储器210中的物理卷212包含与至少一个备份分组相对应的数据。 Physical volumes 212 in memory 210 contains data with the at least one packet corresponding to the backup. 在将一致的数据集存储于物理卷212之后,创建快照214,用于反映物理卷中一致数据的表示或复制。 In the same set of data stored in the physical volumes 212, after creating snapshot 214, to reflect or represent the physical volume consistent copy of data. 请求装置218也可与存储器210通信,以存取保存在存储器210中的单次快照214。 Single snapshot request device 218 may be, stored in the memory 210 to access memory 210 and the communication 214.

[0091] 参考图6,将描述利用例如图5所示的系统创建快照的示例性方法。 [0091] Referring to FIG 6, an exemplary method of using the system shown in FIG. 5, for example, to create a snapshot will be described. 在步骤602,请求装置218典型地通过与拷贝服务程序220交互而开始,其中拷贝服务程序220在从与所选择的备份分组相对应的卷生成拷贝集的过程中帮助请求装置218。 In step 602, the requesting device 218 typically begins by interacting with the program 220 copies the service, wherein the service program 220 copies help request means 218 during the generation of the backup copy set from the packet corresponding to the selected volume. 将与不包括写入程序的备份分组相对应的卷添加到拷贝集。 Add the writer does not include a backup volume corresponding to the packet copy set. 当一个或多个所选择的备份分组具有写入程序时,通过查询备份分组中各写入程序有关描述应如何备份相关数据以及标识哪些数据需备份的信息来标识与这些备份分组相对应的卷。 When one or more selected backup write packet having program, by querying each of the write packet backup procedures should describe how to back up data and information which identifies the data to be backed up to identify packets corresponding to these backup roll . 关于图6,拷贝服务程序220列举出目前在客户端上运行的写入程序222-224,以标识与写入程序相关的卷。 Respect to FIG. 6, the program 220 include a copy services currently running program is written on the client 222-224, to identify a writing program related volumes. 可动态地发现在客户端上运行的写入程序222-224。 It can dynamically discover write programs that run on the client 222-224. 在这种情形下,可基于所发现的写入程序动态构成备份分组的内容。 In this case, the program may be written based on the contents of the backup configuration dynamic discovery packet. [0092]因此,在步骤604,通过标识出需被包括作为客户端的快照部分的卷而生成拷贝集。 [0092] Thus, at step 604, by identifying the volume it needs to be included as part of a client to generate a snapshot copy set. 因此,拷贝集可包括但不限于标识不具有写入程序的备份分组的卷和/或标识具有写入程序的备份分组的卷,或者这两者。 Accordingly, the copy volume backup set may include, but packet volume backup is not limited to identifying the packet does not have a writer and / or identification with the write procedure, or both. 在生成拷贝集之后,请求装置218准备创建快照。 After generating the copy set, the requesting device 218 to prepare to create a snapshot. 由于拷贝集将标识与备份分组相对应的卷,因此单次快照将包含对所有与为特定客户端备份的备份分组相对应的卷的精确表示。 Since the backup copy of the set will identify the packet corresponding to the volume, and therefore a single snapshot backup comprise an accurate representation of all packets for a particular client with a corresponding backup roll.

[0093]在步骤606,执行标识在拷贝集中的相关卷的快照。 [0093] In step 606, the snapshot copy identifies clusters of related volumes. 同时处理与备份操作相关的备份分组,以标识待包括在单次快照中的卷。 Simultaneously processing packets associated with the backup of the backup operation, to identify the volume to be included in a single snapshot. 然而,在执行快照之前,映射拷贝服务程序220通知写入程序222-224将要发生快照,且随后所述写入程序被指示暂停或冻结对应的应用程序或服务程序,从而通过例如暂停新业务、结束当前业务、转储缓存至磁盘等等使得客户端的数据可达到一致的状态。 However, before taking a snapshot, the mapping service program 220 notifies the copy writer 222-224 snapshot to occur, and then writing the program is paused or frozen indicate corresponding application or service program, so that by new services such as pause, the end of the current business, dump the cache to disk and so on so that data clients can reach a consistent state. 然后,请求装置218指示映射拷贝服务程序220创建快照。 Then, the request means 218 indicates Shadow Copy Service program 220 creates a snapshot. 在达到了一致的状态之后,可执行快照。 After reaching a consistent state, perform a snapshot. 在快照完成之后,写入程序222-224可恢复运行。 After the snapshot is complete, writer 222-224 resume operation. 因为快照是对一个或多个卷存储于客户端的数据的表示,因此包含在被执行的快照中的数据也被称为"快照数据"。 Because the data to the client A snapshot is a representation of one or more storage volumes, the data included in the snapshot is performed is also referred to as "snapshot data."

[0094]当快照正在被生成时,在步骤608,从自拷贝集获得的信息生成元数据文件。 [0094] When the snapshot is being generated, in step 608, metadata is generated from the file copy set information obtained from. 元数据文件是地图,该地图标识待备份的项或数据以及在一些示例中标识需从备份中排除的项或数据。 Metadata file is a map, the map data or item to be identified and the backed up data identifying items or should be excluded from the backup in some examples. 元数据文件通常包括用于适当恢复操作的指令。 The metadata file typically includes instructions for proper recovery operation. 在拷贝集上的卷和快照与写入程序相关的情况下,元数据文件包括在创建快照之前收集的写入程序数据。 A case where in the snapshot volume and the copy set is associated with the write process, the metadata file includes a write program data collected before taking the snapshot. 写入程序数据直到创建单次快照成功之后才被写入文件。 Writer create a single snapshot of the data until after the success was only written to the file. 在拷贝集中的卷以及从而快照不与任何写入程序相对应时,元数据文件不包括写入程序数据。 Copying set and thus the volume snapshot does not correspond to any program to write, write the metadata file does not include the program data.

[0095]在步骤610,客户端组件202B将元数据文件添加到快照数据,形成已修改的快照文件。 [0095] 202B adds, in step 610, the client component metadata snapshot data file to form a modified snapshot file. 这包括添加各写入程序文件(如果存在的话)、被选为待保存的备份分组、物理卷至快照卷的映射以及挂载点(mount points)。 This includes adding each file write (if present), is selected as the backup packets be stored in the physical volume to the snapshot volume mount point and mapping (mount points). 根据设计考虑,可修改附加的数据或增加其它的数据。 The design considerations, additional data may be modified to increase or other data. 客户端组件202B为已修改的快照文件生成文件名。 Client component 202B generates a file name for the modified snapshot file.

[0096] 5、示例性备份和恢复进程 [0096] 5, exemplary backup and restore processes

[0097] 现在将进一步详细描述备份和恢复客户端数据的进程。 [0097] will now be further described in detail the process of backing up and restoring client data. 再次,将利用Windows® 操作系统提供示例性描述。 Again, using the Windows® operating system provides an exemplary description. 然而,此处的教导可同样应用于其它操作系统。 However, the teachings herein are equally applicable to other operating systems. 参考图7,示出了示例性备份进程。 Referring to Figure 7, there is shown an exemplary backup process. 如上所讨论的,本发明的一个方面涉及创建单次快照,该单次快照包含快照数据连同涉及已修改的快照文件中所选择的备份分组的元数据。 As discussed above, one aspect of the invention relates to creating a single snapshot, the snapshot comprises a single metadata backup snapshot data packet relates, together with the modified snapshot file is selected. 将该已修改的快照文件存储在例如客户端108上,为了在保存涉及存储在客户端108上的数据的备份分组时使用。 On the client 108, for example, in order to save memory relates to the use of the backup data packet on the client 108. The modified snapshot file is stored. 该已修改的快照文件可包括快照数据和恢复方法的XML描述。 The modified snapshot file can include XML data describing snapshot and recovery methods.

[0098] 在步骤702,当做出保存特定备份分组的请求时,请求装置218标识与待保存的所请求备份分组相对应的已请求数据对象或写入程序。 [0098] In step 702, when making a particular backup storage request packet requesting identification device 218 to be stored in the backup request packet corresponding to the requested data has been written or program objects. 请求装置218收集元数据,以从涉及所请求的数据对象或已标识的写入程序的已修改的快照文件保存分组。 Collecting apparatus 218 requests metadata to save the snapshot file from the modified data relating to the requested object identified program or write a packet. 在一个实施例中,已修改的快照文件仅标识运行的写入程序。 In one embodiment, the modified snapshot file identifier runs only write procedure. 已修改的快照文件可包括涉及写入程序组件的单独选择能力的信息。 Modified snapshot file may include information relating to the ability to select individual writer assembly. 例如,已修改的快照文件可指示,一些写入程序组件应被一起选择用于备份或恢复。 For example, modified snapshot file may indicate that some of the writing program components should be selected together for backup or restore. 在另一个示例中,一些写入程序组件可被单独选择用于恢复,但不可被单独选择用于备份。 In another example, some of the program components can be written individually selected for recovery, but may not be individually selected for backup.

[0099]在步骤706,备份应用程序随后对标识在已修改的快照文件中的项和元数据进行备份拷贝,为特定的备份分组从单次快照保存文件。 [0099] In step 706, the backup application metadata items and subsequently identifies modified snapshot file backup copy of a particular packet from a single backup files saved snapshot. 如上参考图4A所述,客户端参考相同的快照,以定位与特定备份分组相对应的快照部分。 Described above with reference to Figure 4A, the same reference snapshots of the client to locate a particular backup snapshot corresponding to the packet portion. 备份存储于备份存储器204中。 The backup stored in the backup memory 204. 因此,关于各备份分组的已保存数据仅包含与该备份分组相对应的快照和元数据,关于各备份分组的已保存数据仅包含快照数据和与该备份分组而不是也包括在单次快照上的其它备份组相对应的元数据。 Thus, with respect to the saved data of each backup packet contains only the backup packet corresponding snapshots and metadata about each backup packet saved data contains only snapshot data and the backup packet instead be included on a single snapshot other backup group corresponding metadata. 为了存取客户端数据的特定版本,可将备份存储器配置成存储客户端数据的多种表示。 To access a particular version of the client data, backup memory may be configured to store multiple representations of client data. 换句话说,可重建客户端数据的时间点表示。 In other words, the client may be reconstructed data point represents time. 在步骤708,在备份完成之后,可删除单次快照。 In step 708, after the backup is complete, you can delete a single snapshot.

[0100] 图3C和3D中说明的界面302C或302D也可用来启动恢复操作。 [0100] FIGS. 3C and 3D illustrate an interface 302C or 302D can also be used to initiate a recovery operation. 由于操作系统一般被备份成逻辑单元,因此操作系统通常被恢复成单元。 Because the operating system is typically backed up into logical units, so the operating system is restored to cells generally. 如之前所说明的,作为备份操作的组成部分,保存各写入程序的元数据。 As explained before, as part of a backup operation, the metadata stored for each write procedure. 元数据可用来确定恢复是否涉及快照备份操作。 Metadata can be used to determine whether recovery involves snapshot backup operation.

[0101] 图8说明利用Windows®操作系统的示例性恢复操作方法。 [0101] FIG 8 illustrates an exemplary use of the recovery method of operating a Windows® operating system. 在步骤802,请求装置218-般通过恢复所谓的恢复元数据而开始。 In step 802, the requesting device starts by restoring 218- like a so-called restoring metadata. 一般而言,恢复元数据同时包括从运行的写入程序收集的特定元数据和从已修改的快照文件收集的已保存的元数据,最终包括包括在单次快照中的特定写入程序/组件。 In general, restoring metadata includes both specific metadata collected from the write programs that run and metadata collected from the saved snapshot file has been modified, including the final, including a specific written procedures in a single snapshot / components . 由于用于恢复操作的恢复元数据来自在所选择的备份时间时的备份数据,因此恢复元数据有可能包括不再出现在客户端上或当前在客户端上不运行的写入程序。 Since the backup data to restore the recovery operation from the metadata in the selected backup time, thus restoring metadata is possible to include no longer appear on the client or write a program is not currently running on the client. 然而,由于客户端正被恢复成所选择的备份时间时的状态,因此通常这些写入程序也被恢复。 However, since the client is to be restored to the state when a selected backup time, it is often the writing program is also restored. 这还可能发生在灾难性恢复情形的环境中。 This may also happen in the case of disaster recovery environment.

[0102] 通常将恢复元数据传送给映射拷贝服务程序220,随后可在恢复操作期间查询该服务程序。 [0102] The restoring metadata is typically transmitted to the mapping program 220 copies the service, then the program can check the service during the restore operation. 如果挂载点存在于所保存文件的写入程序列表内,则在恢复任何写入程序数据之前,恢复包含挂载点以及挂载点指向的卷的挂载点文件。 Before the mount point list if the program is written to the save file exists, the program is written in the recovery of any data, the mount comprising a recovery point file points to the mount point and mount the volume. 挂载点可能是适当恢复或复原写入程序数据所必需的。 Mount point may be appropriate to restore or recover the necessary program data write.

[0103] 在步骤804,接着在继续恢复操作时查询恢复元数据。 [0103] In step 804, followed by the recovery operation to continue when the restoring metadata query. 查询恢复元数据以确定例如特定写入程序的恢复方法、使用类型、是否需要重新启动以恢复写入程序、以及任何可能的候选位置映射。 Restoring metadata query recovery method to determine, for example, using a specific type of program is written, if a restart is required to resume writing the program, and any possible candidate location mapping.

[0104] 接下来,在步骤806,恢复进程与映射拷贝服务程序交互并发出预恢复命令。 [0104] Next, at step 806, the recovery process and interaction Shadow Copy Service program and issue pre-restore command. 该预恢复命令通知写入程序恢复操作即将来临,其中该写入程序具有被选择用于恢复的写入程序组件。 The pre-writing program restore command notification approaching recovery operation, wherein the writing process to write the program has been selected for component restoration. 从而,写入程序和相关的应用程序有机会为恢复操作做准备。 Thus, the writer and the associated application a chance to prepare for the recovery operation.

[0105] 在步骤808,恢复进程接着实施标识在各写入程序的恢复元数据中的恢复方法。 [0105] In step 808, followed by the recovery process in the embodiment identifies the restoring metadata recovery method for each of the write procedure.

[0106] 在已在恢复操作中拷贝了文件之后,将后恢复通知发给受影响的写入程序。 [0106] After the file has been copied in the recovery operation, the recovery after the notification to the affected writer. 这些写入程序可随后在可应用时执行后恢复操作。 The write procedure may then be applied when performing the recovery operation. 在这一点上,服务器可建议重新启动客户端系统。 At this point, the server can be recommended to restart the client system.

[0107] 图3C和3D中图解的界面302C和302D是用于选择性标识用于恢复的备份分组、写入程序、和/或写入组件的方法示例。 [0107] 302C interface illustrated in FIG. 3C and 3D and 302D are selective for backup identification packet for recovery, writing programs, and / or exemplary method of writing assembly. 所选择的备份分组、写入程序、和/或写入组件是恢复项的示例。 Backup selected packet, writer, and / or writing unit is an example of the recovery item. 随后,基于包括在恢复项中的写入程序进行恢复操作。 Then, the recovery operation based on a program written in the recovery item. 例如,根据与各写入程序相关的恢复元数据对各写入程序实施恢复方法。 For example, the restoring metadata associated with each writer writes embodiments recovery method for each program. 如果写入组件已被取消选定,则可在恢复操作期间无效或忽略恢复元数据的相应部分。 If the writing component has been deselected, you can recover the corresponding part in restoring metadata is invalid or ignored during operation. 如果选择了操作特定备份分组被选择用于恢复,则恢复操作可提示用户没有选择所有合适的备份分组、写入程序、和/或写入组件,以遵守将操作系统恢复成逻辑单元的建议。 If a selecting operation is selected for a particular packet is restored backup, the restore operation may prompt the user does not select all the backup packet, writer, and / or writing unit to comply with the operating system to recover logical unit recommendations. 然而,即使没有选择被建议的备份分组,仍可继续进行恢复操作。 However, even if the backup is not selected packet is proposed, the recovery operation can continue.

[0108] 当写入程序的组件不被选择用于恢复时,当备份分组的写入程序不被选择用于恢复时,或者当备份分组不具有任何相关的写入程序时,恢复进程可忽略或无效恢复元数据中与不被选择的组件或写入程序相对应的部分。 [0108] When the program is not writing the component selected for recovery, when the backup program is not writing the packet is selected for recovery, or when the backup packet does not have any associated write procedure, the recovery process can be ignored invalid or restoring metadata component with or writer not selected corresponding portions.

[0109] 6、示例性计算系统 [0109] 6, exemplary computing system

[0110] 本发明延及用于备份数据的方法和系统。 [0110] The invention extends to a method and system for backing up data. 本发明的实施例可包括专用或通用计算机,所述计算机包括各种计算机硬件,下面将详细描述。 Embodiments of the invention may comprise a special purpose or general purpose computer, said computer including various computer hardware, will be described in detail below.

[0111] 本发明范围内的实施例还包括计算机可读介质,用于携带或具有存储于其上的计算机可执行的指令或数据结构。 Embodiments within the scope of the invention [0111] The present also includes a computer-readable media for carrying or having computer stored thereon executable instructions or data structures. 这种计算机可读介质可以是任何可被通用或专用计算机存取的可用介质。 Such computer-readable media can be any general purpose or special purpose computer that can be accessed usable medium. 通过举例而非限制性的方式,这种计算机可读介质(可用来以计算机可执行的指令或数据结构的形式携带或存储期望的程序码装置,并可被通用或专用计算机存取) 可包括RAM、R0M、EEPR0M、⑶-ROM或其它光盘存储器、磁盘存储器或其它磁存储设备、或任何其它介质。 By way of example and not limitation, such computer-readable media (program code means may be used to carry or store desired in the form of computer-executable instructions or data structures, and may be a general purpose or special purpose computer accessed) may comprise RAM, R0M, EEPR0M, ⑶-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium. 当通过网络或其它通信连接(为硬线的、无线的、或者硬线或无线组合)将信息传输或提供给计算机时,计算机适当地将该连接视为计算机可读介质。 When connected via a network or other communication (as hardwired, wireless, or a combination of hardwired or wireless) or the transmission of information to the computer, the computer properly views the connection as a computer-readable medium. 因此,可适当地将任何一个这种的连接称为计算机可读介质。 Thus, any connection is properly termed a computer-readable of such a medium. 上述的组合也应包括在计算机可读介质的范围内。 Combinations of the above should also be included within the scope of computer readable media. 计算机可执行指令包括,例如,使通用计算机、专用计算机或专用处理设备执行某些功能或功能组的指令和数据。 Computer-executable instructions comprise, for example, cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or functions and data groups.

[0112] 以下讨论旨在提供一个适于实施本发明的计算环境的简洁概述。 [0112] The following discussion is intended to provide a concise overview of a computing environment suitable for an embodiment of the present invention. 尽管不是必需的,将在计算机可执行指令的一般环境中描述本发明,例如由计算机在网络环境中执行的程序模块。 Although not required, the invention will be described in the general context of computer-executable instructions, such as program modules, being executed by a computer in a network environment. 一般而言,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、 对象、组件、数据结构等。 Generally, program modules that perform particular tasks or implement particular abstract data types routines, programs, objects, components, data structures, and the like. 计算机可执行指令、相关数据结构、和程序模块表示用于执行此处所公开方法的步骤的程序代码装置的示例。 Computer-executable instructions, associated data structures, and program modules represent examples of program code means for executing steps of the methods disclosed herein. 这种可执行指令或相关数据结构的特定顺序表示用于实施这些步骤描述的功能的对应动作的示例。 Particular sequence of such executable instructions or associated data structures represents examples of corresponding acts functions described embodiments for these steps.

[0113]本领域技术人员将能理解,本发明可实施在具有多种类型的计算机系统配置(包括个人计算机、手提式设备、多处理器系统、基于微处理器或可编程的消费者电子设备、网络PC、小型计算机、大型计算机等)的网络计算环境中。 [0113] Those skilled in the art will appreciate, may be implemented with many types of computer system configurations (including personal computers, hand-held devices, multiprocessor systems, microprocessor-based consumer electronic device or programmable in the present invention , a network PC, minicomputers, mainframe computers, etc.) of the network computing environment. 本发明还可实施在分布式计算环境中,其中任务由通过通信网络连接(通过硬线连接、无线连接、或通过硬线或无线连接组合) 的本地和远程处理设备执行。 Local and remote processing device to perform a further embodiment of the present invention in distributed computing environments where tasks are connected via a communication network (connected via hardwired, wireless connection, or by a combination of hardwired or wireless connection) a. 在分布式计算环境中,可将程序模块置于本地和远程存储器存储设备中。 In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

[0114]本发明可实施为其它特定形式,而不脱离其精神或本质特性。 [0114] The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. 所描述的实施例的所有方面仅为说明性而非限制性的。 All aspects of the described embodiments are merely illustrative and not restrictive. 因此,由所附权利要求书而不是由前述描述说明本发明的范围。 Therefore, by the appended claims rather than by the foregoing description illustrates the scope of the present invention. 在权利要求等效物的含义和范围内的所有变化均包含在其范围内。 All changes which come within the equivalent meaning and range of the claims are to be embraced within their scope.

Claims (22)

  1. 1. 一种用于保存来自第一客户端的数据的方法,所述第一客户端包括在包括与服务器相通信的一个或多个客户端的系统中,所述服务器对来自所述一个或多个客户端的数据执行备份操作,所述数据被组编在备份分组中,该方法包括以下步骤: 发送信号,该信号指示应生成单次快照; 接收一个或多个备份分组的列表; 根据接收的一个或多个备份分组的列表,仓il建已修改的备份分组列表,所述已修改的备份分组列表标识出在快照的创建中使用的备份分组,其中,所述已修改的备份分组列表包括启动备份分组和终止备份分组; 发送所述已修改的备份分组列表;以及接收指示快照创建是否成功的信号,其中,在所接收的信号指示快照创建成功时,所述方法包括以下附加步骤: 发送保存所述已修改的备份分组列表中所标识的备份分组的请求; 发送保存 1. A method for storing data from the first client, the first client comprises comprises one or more servers in communication with the client system, from the server to the one or more client data backup operation, the backup data is set in the encoding packets, the method comprising the steps of: transmitting a signal indicating a single snapshot should be generated; receiving one or more backup list of packets; received according to a a list of packets or a plurality of backup, the cartridge il modified packet list built in the backup, the backup list has been modified packet identifies a packet used in the creation of backup snapshots, wherein the modified packet comprises a list of backup start backup termination packet and backup packet; transmitting said backup list of modified packet; and receiving a snapshot creation success indication signal, wherein, when the received signal indicates the snapshot is created, the method comprising the additional steps of: transmitting stored the backup request packet has been modified packet identified backup list; save transmission 述终止备份分组的请求;以及接收所述终止备份分组。 Said backup packet termination request; backup terminating and receiving the packet.
  2. 2. 如权利要求1所述的方法,其中,所述一个或多个备份分组的列表为客户端的所有可能的备份分组的列表,从该客户端接收所述一个或多个备份分组的列表。 2. The method according to claim 1, wherein the list of all possible or a backup list of packets to a packet of a plurality of backup client, receiving the one or more packets from the list of backup client.
  3. 3. 如权利要求1所述的方法,还包括以下步骤:暂停向已向其发送过所述已修改的备份分组列表的客户端发送备份请求。 The method according to claim 1, further comprising the step of: stop sending the packet has been sent through the modified list of backup client backup request.
  4. 4. 如权利要求1所述的方法,其中,所述启动备份分组可执行以启动快照管理器。 4. The method according to claim 1, wherein said backup packet start executable manager to start the snapshot.
  5. 5. 如权利要求1所述的方法,其中,指示快照创建成功的信号作为应启动所述已修改的备份分组列表的备份分组的保存过程的指示。 5. The method according to claim 1, wherein the snapshot creation indication signal as an indication of successful storage of the backup process of the packet should start packet modified list of backup.
  6. 6. 如权利要求1所述的方法,其中,接收指示快照创建成功的信号包括接收所述启动备份分组和已修改的快照文件名。 6. The method according to claim 1, wherein receiving an indication of a successful snapshot creation signal comprises receiving the packet and start the backup modified snapshot file name.
  7. 7. 如权利要求1所述的方法,还包括以下步骤:针对所述已修改的备份分组列表中所标识的每个备份分组,发送单独保存请求。 7. The method according to claim 1, further comprising the step of: for each packet of the modified backup packet identified backup list, transmits a save request individually.
  8. 8. 如权利要求1所述的方法,还包括以下步骤:发送指示应保存所述已修改的备份分组列表中所标识的所有备份分组的单次保存请求。 8. The method according to claim 1, further comprising the step of: sending an indication single request for all backup should save the modified packet storing the backup list identified in the packet.
  9. 9. 如权利要求1所述的方法,其中,将所述保存所述已修改的备份分组列表中所标识的备份分组的请求和已修改的快照文件名一起发送。 9. The method as claimed in claim 1, wherein the backup request packet sent with the packet storing the modified list of backup identified and modified snapshot file name.
  10. 10. 如权利要求1所述的方法,其中,在收到所述启动备份分组和已修改的快照文件名之后,发送保存所述备份分组的请求。 10. The method according to claim 1, wherein, after receiving the packet and start the backup modified snapshot file name, storage request packet transmitted by the backup.
  11. 11. 一种用于存储来自包括在系统中的一个或多个客户端的数据的备份拷贝的服务器,所述一个或多个客户端与所述服务器进行通信,所述服务器包括: 备份/恢复应用程序的服务器组件,其中,所述服务器组件配置成: 发送信号,该信号指示应生成单次快照; 接收一个或多个备份分组的列表; 根据接收的一个或多个备份分组的列表,仓il建已修改的备份分组列表,所述已修改的备份分组列表标识出在快照的创建中使用的备份分组,其中,所述已修改的备份分组列表包括启动备份分组和终止备份分组; 发送所述已修改的备份分组列表; 接收指示快照创建成功的信号; 发送保存所述已修改的备份分组列表中所标识的备份分组的请求; 发送保存所述终止备份分组的请求;以及接收所述终止备份分组。 11. A method for storing a backup copy of data from a server comprising the system of one or more clients, said one or more clients communicate with the server, the server comprising: a backup / restore application application server components, wherein the server component is configured to: transmit a signal indicative of a single snapshot should be generated; receiving one or more backup list of packets; a list according to the received packet or a plurality of backup, the cartridge il modified packet list built in the backup, the backup list has been modified packet identifies a packet used in the creation of backup snapshots, wherein the modified packet comprises a list of backup start and stop packets backup backup packet; transmitting said the modified list of backup packet; receiving a signal indicating successful snapshot creation; backup request packet storing the modified transmission packets identified in the list of backup; transmitting the termination request to save a backup packet; and receiving the termination backup grouping.
  12. 12. 如权利要求11所述的服务器,其中,所述服务器组件配置成与所述备份/恢复应用程序的客户端组件相通信。 12. The server of claim 11, wherein the server component is configured to communicate with the client component and the backup / restore application.
  13. 13. 如权利要求11所述的服务器,其中,所述服务器配置成与备份存储装置相通信。 13. The server of claim 11, wherein said server configured to communicate with the backup storage device.
  14. 14. 如权利要求11所述的服务器,其中,所述服务器还配置成暂停向已向其发送过所述已修改的备份分组列表的客户端发送备份请求。 14. The server of claim 11, wherein the server is further configured to stop sending through which the client has been modified packet transmission list backup backup request.
  15. 15. 如权利要求11所述的服务器,其中,所述服务器还配置成响应于接收到已修改的快照文件名和所述启动备份分组,启动所述已修改的备份分组列表中的备份分组的保存过程。 15. The server of claim 11, wherein the server is further configured to respond, save the backup packet start packet of the modified list to the received backup modified snapshot backup boot file name and said packet process.
  16. 16. 如权利要求11所述的服务器,其中,所述服务器还配置成执行以下步骤中的一个或两个步骤: 针对所述已修改的备份分组列表中所标识的每个备份分组,发送单独保存请求;以及发送指示应保存所述已修改的备份分组列表中所标识的所有备份分组的单次保存请求。 16. The server of claim 11, wherein the server is further configured to perform the steps of one or two steps: for each packet of the modified backup packet identified in the list of backup, sent separately storage request; and a single transmission instruction of all backup storage request packet should save the modified packet identified in the list of backup.
  17. 17. 如权利要求11所述的服务器,其中,所述服务器组件配置成与客户端合作以备份存储在该客户端上的数据。 17. The server of claim 11, wherein the server component is configured to back up data stored on the client in cooperation with the client.
  18. 18. 如权利要求11所述的服务器,其中,所述备份/恢复应用程序仅存在于所述服务器上。 18. The server of claim 11, wherein the backup / restore application program is present only on the server.
  19. 19. 如权利要求11所述的服务器,其中,所述服务器组件配置成指导客户端利用所述快照执行一个或多个备份分组的保存。 19. The server of claim 11, wherein the server component is configured to direct the client using the snapshot stored packets of one or more backup execution.
  20. 20. 如权利要求11所述的服务器,其中,所述服务器组件用于启动所述备份/恢复应用程序的客户端组件。 20. The server of claim 11, wherein the server component for activating the backup / restore client component application.
  21. 21. 如权利要求11所述的服务器,其中,所述已修改的备份分组列指明要处理所选择的备份分组的顺序。 21. The server of claim 11, wherein said backup packet modified column indicates the sequence of copying a packet to be processed is selected.
  22. 22. 如权利要求11所述的服务器,其中,所述服务器组件配置成接收指示快照创建失败的信号。 22. The server of claim 11, wherein the server component is configured to receive a signal indicative of snapshot creation failed.
CN 201210206505 2005-06-29 2006-06-29 Using the server saves the client server data and methods CN103559100B (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
US11/169,419 2005-06-29
US11/169,853 2005-06-29
US11169419 US8024292B2 (en) 2005-06-29 2005-06-29 Creation of a single snapshot using a server job request
US11169418 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 2005-06-29
US11170015 US7523278B2 (en) 2005-06-29 2005-06-29 Backup and restore operations using a single snapshot
US11169853 US7549028B2 (en) 2005-06-29 2005-06-29 Backup and restore operations using a single snapshot driven by a server job request
CN 200680031467 CN101253484B (en) 2005-06-29 2006-06-29 Method for storing data from client and the client
CN200680031467.62006.06.29 2006-06-29

Publications (2)

Publication Number Publication Date
CN103559100A true 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
CN 201210206505 CN103559100B (en) 2005-06-29 2006-06-29 Using the server saves the client server data and methods

Country Status (1)

Country Link
CN (1) CN103559100B (en)

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 Type
CN103559100A (en) 2014-02-05 application

Similar Documents

Publication Publication Date Title
US8898112B1 (en) Write signature command
US7685171B1 (en) Techniques for performing a restoration operation using device scanning
US5684991A (en) Modification metadata set, abstracted from database write requests
US6594676B1 (en) System and method for recovery of multiple shared database data sets using multiple change accumulation data sets as inputs
US6714952B2 (en) Method for backup and restore of a multi-lingual network file server
US6857053B2 (en) Method, system, and program for backing up objects by creating groups of objects
US20050172093A1 (en) Systems and methods of information backup
US20050071390A1 (en) Systems and methods for backing up data files
US20060225065A1 (en) Using a data protection server to backup and restore data on virtual servers
US8082231B1 (en) Techniques using identifiers and signatures with data operations
US20020133512A1 (en) System and method for synchronizing a data copy using an accumulation remote copy trio consistency group
US20030182389A1 (en) System and method for performing an on-line check of a file system
US6820180B2 (en) Apparatus and method of cascading backup logical volume mirrors
US8095756B1 (en) System and method for coordinating deduplication operations and backup operations of a storage volume
US7103619B1 (en) System and method for automatic audit data archiving within a remote database backup system
US20060294421A1 (en) Isolating and storing configuration data for disaster recovery
US6647473B1 (en) Kernel-based crash-consistency coordinator
US7725704B1 (en) Techniques for performing a prioritized data restoration operation
US20120136832A1 (en) Incremental restore of data between storage systems having dissimilar storage operating systems associated therewith
US20050278382A1 (en) Method and apparatus for recovery of a current read-write unit of a file system
US7650341B1 (en) Data backup/recovery
US20030018657A1 (en) Backup of data on a network
US20030172157A1 (en) System and method for managing replication sets of data distributed over one or more computer systems
US6978282B1 (en) Information replication system having automated replication storage
US7707184B1 (en) System and method for snapshot full backup and hard recovery of a database

Legal Events

Date Code Title Description
C06 Publication
C14 Grant of patent or utility model