Computing device, non-transitory machine-readable storage medium, and computer-implemented method

By using a processor and a filter in a computing device to identify snapshot changes in a storage device, the problem of time-consuming identification and updating of snapshot changes in the prior art is solved, and the efficiency of backup and recovery is improved.

CN113448917BActive Publication Date: 2024-09-03HEWLETT PACKARD ENTERPRISE DEV LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110291199.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-03-26
Filing Date
2021-03-18
Publication Date
2024-09-03
Estimated Expiration
2041-03-18

AI Technical Summary

Technical Problem

When the existing technology identifies and updates files and directories that change between snapshots in the storage device, it takes a lot of time and processing bandwidth, and is inefficient.

Method used

By using a processor and a machine-readable storage device in a computing device, execute instructions to access a block-based backup of the storage volume, determine the file system type, select appropriate filters to identify metadata, identify changed files and directories, and Update catalogs to reduce the need for snapshots to be loaded and traversed.

Benefits of technology

It improves the efficiency of identifying file system objects associated with snapshots, reduces the consumption of time and processing bandwidth, and enables efficient backup and recovery processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113448917B_ABST
    Figure CN113448917B_ABST
Patent Text Reader

Abstract

The present disclosure relates to cataloging files associated with snapshots. A backup system includes a processor and a machine-readable storage device storing instructions. The instructions are executable by the processor to: access a plurality of blocks included in a block-based backup of a first snapshot of a storage volume; determine a first file system stored on the storage volume based on the plurality of blocks of the block-based backup, the first file system being a first type of file system; select a first filter associated with the first type of file system from a plurality of filters; determine a changed file in the first file system based on the selected first filter; and update the catalog to indicate that the changed file is associated with the first snapshot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to computing devices. Background Art

[0002] Computing devices may include components such as processors, memory, cache systems, and storage devices. Storage devices may include hard disk drives that use magnetic media to store and retrieve blocks of data. Some systems may store or "back up" copies of important data for archival and recovery purposes. For example, in the event of a storage device failure, the backup copy may be used to restore the data stored on the failed system. In some examples, backups may be performed periodically to capture copies of data at different points in time. Summary of the invention

[0003] According to one aspect of the present disclosure, a computing device is provided, comprising: a processor, the processor comprising a plurality of processing engines; and a machine-readable storage device storing instructions, the instructions executable by the processor to: access a plurality of blocks in a block-based backup of a first snapshot of a storage volume; determine a first file system stored on the storage volume based on the plurality of blocks in the block-based backup, the first file system being a first type of file system; select a first filter associated with the first type of file system from a plurality of filters; execute the selected first filter to identify a set of blocks, the set of blocks including each block in a first snapshot, the first snapshot including metadata about files and directories of the first file system, wherein the selected first filter is executed to determine that each block in the identified set of blocks matches criteria associated with the metadata about files and directories of the first file system; identify a changed file in the first file system based on the identified set of blocks including metadata about files and directories of the first file system, wherein the changed file changes between the first snapshot and a previous snapshot; and in response to the identification of the changed file in the first file system, update a catalog to indicate that the changed file is associated with the first snapshot.

[0004] According to another aspect of the present disclosure, a non-transitory machine-readable storage medium is provided, storing instructions that, when executed, cause a processor to perform the following operations: access, by a backup system, a plurality of blocks included in a block-based backup of a first snapshot of a storage volume; determine, based on the plurality of blocks of the block-based backup, a first file system stored on the storage volume, the first file system being a file system of a first type; select, from a plurality of filters, a first filter associated with the first type of file system; execute the selected first filter to identify a set of blocks, the set of blocks including each block in a first snapshot, the first snapshot including metadata about files and directories of the first file system, wherein the selected first filter is executed to determine that each block in the identified set of blocks matches criteria associated with the metadata about files and directories of the first file system; identify, based on the identified set of blocks including metadata about files and directories of the first file system, a changed file in the first file system, wherein the changed file changed between the first snapshot and a previous snapshot; and in response to the identification of the changed file in the first file system, update a catalog to indicate that the changed file is associated with the first snapshot.

[0005] According to another aspect of the present disclosure, a computer-implemented method is provided, comprising: accessing, by a backup system, a plurality of blocks included in a block-based backup of a first snapshot of a storage volume; determining, based on the plurality of blocks of the block-based backup, a first file system stored on the storage volume, the first file system being a file system of a first type; selecting, from a plurality of filters, a first filter associated with the first type of file system; executing the selected first filter to identify a set of blocks, the set of blocks including each block in a first snapshot, the first snapshot including metadata about files and directories of the first file system, wherein the selected first filter is executed to determine that each block in the identified set of blocks matches criteria associated with the metadata about files and directories of the first file system; identifying, based on the identified set of blocks including metadata about files and directories of the first file system, a changed file in the first file system, wherein the changed file changed between the first snapshot and a previous snapshot; and in response to the identification of the changed file in the first file system, updating a catalog to indicate that the changed file is associated with the first snapshot. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The following figures describe some embodiments.

[0007] Figure 1 is a schematic diagram of an example system according to some embodiments.

[0008] Figure 2is a diagram of an example file system according to some embodiments.

[0009] Figure 3 is a schematic diagram of an example backup system according to some embodiments.

[0010] Figure 4 is an illustration of an example process according to some embodiments.

[0011] Figure 5 is an illustration of an example process according to some embodiments.

[0012] Figure 6 is a schematic diagram of an example machine-readable medium storing instructions according to some embodiments.

[0013] Figure 7 is a schematic diagram of an example computing device according to some embodiments. DETAILED DESCRIPTION

[0014] A backup process for a computing system may include copying data blocks stored in a storage device (e.g., a storage array) to a backup device, which may store the data blocks in a backup form. In the examples described herein, "backup" may refer to the form in which a backup device stores a collection of data, which may be different from the form in which the data blocks are stored on the storage device (e.g., a storage array) from which they are backed up. For example, a backup may include a deduplicated representation of the data blocks copied to a backup device for backup. In some examples, a backup process may copy a specified collection of data stored on a storage device in files and directories of a file system to a backup device.

[0015] In some examples, the specified data set to be copied to the backup device may include one or more volumes of the storage device, part or all of the contents of a file system in which data is stored on the storage device (e.g., all data is stored under a given directory, such as a root directory or one or more subdirectories), etc. When generating a full backup, the backup process may copy all data blocks of the specified data set to the backup device (which the backup device may store as a backup referred to herein as a "full backup"). When generating an incremental backup, the backup process may only copy data blocks of the specified data set that have changed since the previous backup, and the backup device may store these changed blocks in the form referred to herein as an "incremental backup."

[0016] In some examples, a backup may be generated based on a point-in-time snapshot of one or more volumes (or one or more other data sets) of a source storage device (e.g., a backup process may copy data to a backup device based on the contents of the snapshot on the source storage device). In some examples, changed blocks in a specified data set (e.g., for incremental backup) may be identified based on a point-in-time snapshot of one or more volumes (or one or more other data sets) containing the specified data set (e.g., one or more specified directories of a file system).

[0017] In the examples described herein, the backup process refers to a "block-based" backup process that copies data at the block level for backup. In the examples described herein, the block level is a data storage level that is lower than the file and directory level data storage. In such an example, the block level can be a level at which a block storage device (e.g., a hard disk drive (HDD), a solid-state drive (SSD), etc.) or a virtual volume can store data, and is a level at which a file system implements files and directories. In the examples described herein, although a data set to be backed up can be specified at the file system level (e.g., one or more directories, etc.), a block-based backup process can copy the data blocks constituting the data set as a data block stream to a backup device without providing separate file-level or directory-level information describing how the data of these data blocks is stored in the file system of the source device. However, a block-based backup may include embedded file system elements, metadata elements, and other structural elements in the content of the block itself. These elements may include inode information, volume management elements, format elements, and other items that are invisible to the user but are part of the storage format. In contrast to a file-level backup process, which may perform backups at the file level, a block-level backup process may be considered, in which data is provided to a backup device as a file stream along with, for example, file-level and directory-level information indicating the files being backed up and the directories in which the files are stored. However, in contrast to block-based backups, file-based backups may not include file system elements, metadata elements, and other structural elements embedded in the content being backed up. In the examples described herein, backups (e.g., full backups and incremental backups) refer to block-level backups that represent a stream of data blocks provided to a backup device, excluding separate file-level or directory-level information that describes how the data of the data blocks is stored in the file system of the source device.

[0018] Furthermore, as used herein, a "snapshot" is a representation of the data included in one or more storage volumes (or one or more other data sets) at a particular point in time. However, identifying new or changed files and / or directories (referred to herein as "file system objects") between snapshots may involve "mounting" the data represented in the snapshot, and then traversing or "walking" the file system included in the mounted data to find changes to the one or more files and one or more directories (e.g., based on the timestamps of interest). However, such techniques may involve a significant amount of time and processing bandwidth.

[0019] As referenced below Figure 1-7 As described, some embodiments may include analyzing the contents of blocks of a block-based backup (e.g., a snapshot), identifying from the contents of the blocks a file system in which the blocks are stored in a source storage device (i.e., separate from a backup device), and selecting a specific filter corresponding to the type of the identified file system. The selected filter may be used to identify blocks that include metadata for the file system. The metadata may be analyzed to determine any changes to objects in the file system (e.g., new files, changed directories, etc.). Such change information may be used to generate and / or update a catalog of changed objects associated with various snapshots without having to mount each snapshot and then traverse any included file systems. In this way, the amount of time and processing bandwidth required to identify file system objects associated with a snapshot may be reduced.

[0020] Reference now Figure 1 , a schematic diagram of an example system 100 according to some embodiments is shown. As shown, the system 100 may include a backup device 110 and a storage device 120. The backup device 110 may be a backup device (e.g., including one or more controllers and one or more storage devices) or any other type of computing device (e.g., a storage array, a server, etc.). The storage device 120 may include one or more storage devices, such as a non-volatile storage device (e.g., a HDD, an SSD, etc.). In some examples, the storage device 120 may be a storage array.

[0021] As shown, in some embodiments, the backup device 110 may include a processing resource 112 and a machine-readable storage device 114. The processing resource 112 may include one or more of a processor, a central processing unit (CPU), a processing core, etc. The processing resource 112 may include any number of processing engines or "cores" (not shown). The machine-readable storage device 114 may include one or more non-transitory storage media, such as HDD, SSD, flash memory, optical disk, etc.

[0022] In some embodiments, the machine-readable storage device 114 may include a backup module 115, a catalog module 117, and a backup storage area 119. Figure 3-7 Discussion of cataloging module 117 and backup storage area 119. In some examples, backup module 115 and / or cataloging module 117 may be implemented by instructions (e.g., software and / or firmware) that are executable by processing resource 112 and stored in machine-readable storage device 114. However, backup module 115 and / or cataloging module 117 may be implemented in any suitable manner. For example, part or all of backup module 115 and / or cataloging module 117 may be hard-coded as circuitry included in processing resource 112. In other examples, part or all of backup module 115 and / or cataloging module 117 may be implemented as a network (web) service on a remote computer (not shown), etc. In another example, backup module 115 and / or cataloging module 117 may be implemented in one or more controllers of computing device 110.

[0023] As shown, in some embodiments, storage device 120 can store volume 125, which includes any number of file systems 140A-140N (also referred to as "file systems 140") or corresponding portions thereof. File systems 140A-140N can use different file system types or formats (e.g., XFS, ZFS, etc.). In some embodiments, each file system 140 can be organized into files and directories. For example, referring to Figure 2 , shows a diagram of an example file system 200 including files and directories organized as nodes of a hierarchical tree structure. Referring again to Figure 1 , each file system 140 may include data representing a file (referred to herein as "file data"). In addition, the file system 140 may also include data about the file system and objects (referred to herein as "metadata"), such as parent-child relationships of files and directories, file permissions, timestamps, identifiers, size information, etc. For example, in some file systems, metadata may be stored in a specific object (e.g., inode).

[0024] In some embodiments, storage device 120 may generate snapshots 150A-150C (also referred to as "snapshots 150") of the data of volume 125 (including file systems 140A-140N) at different points in time when volume 125 (including file systems 140A-140N) exists. For example, snapshot 150A may represent the data of volume 125 at a first point in time, snapshot 150B may represent the data of volume 125 at a second point in time, and snapshot 150C may represent the data of volume 125 at a third point in time.

[0025] In some embodiments, the storage device 120 may perform a block-based backup process for each snapshot 150A-150C, including providing the data of the snapshots 150A-150C in data streams 160A-160C (also referred to as "data streams 160"), respectively, each of which may be a stream of data blocks. In such an example, the backup module 115 may generate a corresponding block-based backup based on each of the data streams 160A-160C and store it in the backup storage area 119. Each of the generated block-based backups may represent the data of a corresponding one of the snapshots 150A-150C in a block-based representation in a form different from that in which the snapshots 150A-150C are stored on the storage device 120. For example, the backup module 115 may perform deduplication on the received data streams 160A-160C and store the block-based backup in a deduplicated form. In some embodiments, data blocks of a given file of file system 140 are not necessarily stored together or contiguously in a backup of backup storage area 119, and thus data blocks corresponding to different files may be intermixed in a backup of backup storage area 119. Furthermore, in some embodiments, one or more data blocks in backup storage area 119 may include metadata of file system 140.

[0026] Reference now Figure 3 , shows a diagram of an example backup system 300. As shown, according to one or more embodiments, the backup system 300 includes Figure 1 1 and 119. As shown, in some examples, the catalog module 117 may include catalog logic 310, any number of filters 320A-320N (also referred to as "filters 320"), and any number of catalogs 330. Additionally, in some examples, the backup storage area 119 may include snapshot backups 350A-350C (also referred to as "snapshot backups 350"), which may be block-based backups of the data streams 160A-160C representing the snapshots 150A-150C described above. Figure 3 In the example of , snapshot backup 350A is a block-based backup of snapshot 150A (eg Figure 1 ). Similarly, snapshot backup 350B is a block-based backup of snapshot 150B, and snapshot backup 350C is a block-based backup of snapshot 150C. In some embodiments, backup storage area 119 may store backup data in a deduplicated form. In the examples described herein, backup data may be deduplicated by identifying "duplicate" blocks (or other data units) that have the same content as other blocks and replacing at least some of the duplicate blocks with pointers to the stored full copies of the blocks. In such examples, various data units may be shared between different backups of backup storage area 119.

[0027] In some embodiments, the catalog logic 310 may analyze the contents of the blocks of the snapshot backup 350 to identify from the contents of the blocks the file system in which the blocks of the associated snapshot 150 are stored on the storage device 120. For example, the catalog logic 310 may parse or read the contents of the blocks in the snapshot backup 350A and may identify the blocks that include a specific identifier or encoded value (e.g., a "magic number" associated with the file system) in the contents of the blocks. The specific identifier may be predefined to be uniquely associated with a given type of file system (e.g., an XFS file system). Therefore, in some embodiments, the catalog logic 310 may use the specific identifier in the blocks of the snapshot backup 350A to determine that at least some of the data of the associated snapshot 150A is stored in a given type of file system on the storage device 120. In some examples, the blocks that include the specific identifier may be referred to as "super blocks" that identify the file system. In some examples, the catalog logic 310 may identify the file system by analyzing the contents of the blocks of the snapshot backup 350 after they are stored in the backup storage area 119 (e.g., after they are stored in the backup storage area 119 in a deduplicated form). In other examples, catalog logic 310 may identify a file system by analyzing the content of blocks included in data stream 160 as backup device 120 receives and processes the content (e.g., consistent with backup device 110 receiving data stream 160 from storage device 120 and generating snapshot backup 350). In some embodiments, catalog logic 310 may search for a file system identifier (i.e., content identifying a particular file system) in one or more blocks at one or more specific locations in snapshot backup 350 (e.g., in the first block, in the second block, in the first ten blocks, etc.). Further, in some embodiments, catalog logic 310 may search for a file system identifier continuously or according to a pattern (e.g., in each block, in every other block, in every tenth block, etc.).

[0028] In one or more embodiments, the catalog logic 310 may select a specific filter 320 corresponding to the determined file system type. Each filter 320 may be a program code (i.e., executable instructions) and / or a data structure that locates and interprets metadata in blocks associated with the determined file system type. For example, the selected filter 320 may be used to analyze blocks in the snapshot backup 350 (or data stream 160) based on parameters associated with the file system type (e.g., block size, block format, field location and / or offset, field name, field value, identifier or encoded value, etc.), and identify any blocks that match criteria associated with metadata (e.g., a specific value located at a specific offset of the block). In some embodiments, where the snapshot 150 represents a difference from a previous snapshot, the snapshot backup 350 of the snapshot 150 (or the data stream 160 of the snapshot 150) may represent blocks that have changed since the previous snapshot, and the catalog logic 310 may use the selected filter 320 to identify metadata in those blocks represented in the snapshot backup 350 or data stream 160 that have changed. In such examples, the difference may also represent a difference from a previous backup (eg, a backup based on a previous snapshot).

[0029] In some embodiments, catalog logic 310 can analyze metadata in changed blocks to determine the names and locations of file system objects that may have changed since a previous backup. When objects are identified during metadata processing. Catalog logic 310 can track these objects in a list or other data structure, and can gradually determine a tree structure based on the tracked objects. For example, the determined tree structure can indicate that a first file is included in a first directory, and a first directory is included in a second directory.

[0030] In some embodiments, the cataloging logic 310 can identify differences between the determined tree structure and a previous tree structure (e.g., a previous tree structure corresponding to a previous snapshot or backup), and can use these differences to determine file system objects that have changed in the current snapshot or backup relative to the previous snapshot or backup. Note that when a file system object (e.g., a file or directory) changes prior to a given snapshot, metadata associated with the changed object will also change prior to the given snapshot. Thus, the corresponding one or more blocks storing the changed metadata will also change prior to the given snapshot and be represented in the block-based backup of the given snapshot (or the data stream 160 for such a block-based backup). In such an example, the cataloging logic 310 can analyze the changed blocks relatively efficiently by analyzing the blocks in the block-based backup of the given snapshot (or the corresponding data stream 160). In this way, limiting the metadata analysis to the changed blocks can allow the identification of changed objects in a more time-efficient and processing bandwidth-efficient manner.

[0031] In some embodiments, catalog logic 310 may generate or update catalog 330 to include information indicating objects associated with snapshots. For example, catalog 330 may include a list of files, directories, or any combination thereof found in a given snapshot (or in a given snapshot at a certain point in time). In addition, in some examples, catalog 330 may indicate files and / or directories that have changed between the time of a given snapshot and the time of a previous snapshot. In addition, catalog 330 may include additional information that can be derived from metadata, such as version numbers, timestamps, sizes, permissions, usage statistics, etc. In some examples, each catalog 330 may include only information about a single snapshot (e.g., a list of files that have changed between a particular snapshot and a previous snapshot). In other examples, each catalog 330 may include information about multiple snapshots. In some embodiments, catalog information about which objects have changed for each snapshot may be used to analyze the performance and / or problems of a storage system. For example, such information may be used to identify files that have undergone a relatively large number of changes, and further analyze the identified files (e.g., scanning for possible malware attacks, misconfigurations of applications that utilize these files, etc.).

[0032] In some examples, a catalog may be generated for an incremental backup (e.g., snapshot backup 350B) that lists files and directories that changed between the time of the incremental backup and the previous backup (e.g., snapshot backup 350A). In such examples, the catalog associated with the incremental backup and the catalog associated with the previous backup may be combined to generate a full catalog of all files and directories that includes changes captured by one or both of the incremental backup and the previous backup. In such examples, one or more incremental backups and the previous full backup may be used to generate a synthetic full backup that represents a point in time of one of the incremental backups, and in such examples, the corresponding catalogs of the previous backup and the one or more incremental backups may be combined together to generate a synthetic full catalog of all files and directories that includes changes captured by the synthetic full backup.

[0033] In some embodiments, the cataloging logic 310 may identify changed objects for multiple file systems, wherein the snapshot includes data from each file system. For example, assume that a given snapshot backup 350 (or data stream 160) includes blocks from two different types of file systems. In this case, the cataloging logic 310 may perform two cataloging operations using two filters 320 corresponding to the two different file systems. In some examples, the cataloging logic 310 may update a single catalog 330 to list the files and directories of the two file systems. In other examples, the cataloging logic 310 may update two separate catalogs 330 to list the files and directories of the two file systems, respectively. In the examples described herein, the cataloging logic 310 may be implemented via instructions (e.g., software and / or firmware) that may be executed by a processing resource (e.g., 112) and stored in a machine-readable storage medium (e.g., 114). However, the cataloging logic 310 may be implemented in any suitable manner.

[0034] Reference now Figure 4 , shows an example process 400 according to some embodiments. In some examples, some or all of the cataloging module 117 may be used to perform the process 400 (in Figure 1 and 3 4. Process 400 may be implemented in hardware or a combination of hardware and programming (e.g., machine-readable instructions executable by one or more processors). The machine-readable instructions may be stored in a non-transitory computer-readable medium (e.g., an optical, semiconductor, or magnetic storage device). The machine-readable instructions may be executed by a single processor, multiple processors, a single processing engine, multiple processing engines, etc. For illustration, reference may be made to Figure 1-3 To describe the details of process 400, Figure 1-3 Examples according to certain embodiments are given. However, other implementations are possible.

[0035] Block 410 may include accessing a plurality of blocks included in a block-based backup of a first snapshot of a storage volume. Figure 1-3 , catalog logic 310 may read or otherwise access blocks included in snapshot backup 350A (or data stream 160A). Snapshot backup 350A may be a block-based backup of snapshot 150A of volume 125. In some embodiments, snapshot backup 350A may be a block-based backup that stores blocks in a deduplicated form.

[0036] Block 420 may include determining a first block of the block-based backup, the first block identifying a first file system, blocks in the first file system being stored in a storage volume of the source storage device. Block 430 may include determining a file system type of the first file system based on the first block. For example, referring to Figure 1-3, the cataloging logic 310 can identify a block in the snapshot backup 350A (or the data stream 160A) that includes a specific identifier (e.g., a predefined hexadecimal value) at a specific position of the block, and thereby determine that the data included in the associated snapshot 150A is stored in a specific type of file system (e.g., an XFS file system) in the storage volume of the source storage device.

[0037] Block 440 may include selecting a first filter associated with a file system type from a plurality of filters. Block 450 may include identifying a set of blocks for a block-based backup that includes metadata of the first file system using the selected first filter. For example, referring to Figure 1-3 , the catalog logic 310 may select a filter 320 corresponding to the determined file system type. In some embodiments, the catalog logic 310 may use the filter 320 to locate and interpret metadata in blocks of the snapshot backup 350A (or data stream 160A) that are associated with the determined file system type. In some examples, the catalog logic 310 may use the filter 320 to identify metadata in blocks of a block-based backup, where the blocks of the block-based backup represent changed blocks between respective snapshots (represented by respective block-based backups). In some examples, the catalog logic 310 may use the filter 320 to identify metadata in all blocks of the block-based backup.

[0038] Block 460 may include determining changed files in the first file system based on metadata in a set of blocks using the selected first filter. Figure 1-3 , the cataloging logic 310 can analyze metadata in the blocks of the snapshot backup 350A (or data stream 160A) that represents changed blocks of the data set between different points in time to determine a list of files and / or directories that may have changed between these different points in time (e.g., between various snapshots or backups). In addition, the cataloging logic 310 can compare the determined list with a previous object list and can determine changed files based on the difference between the two lists.

[0039] Block 470 may include updating the catalog to indicate that the changed file is associated with the first snapshot. The catalog may include information about file system objects associated with one or more snapshots. For example, referring to Figure 1-3 , catalog logic 310 may update catalog 330 to include information about files and directories associated with snapshot 150A. For example, catalog 330 may list files and directories that have changed in each snapshot 150A-150C (relative to another snapshot, respectively). After block 470, process 400 may be complete. Note that process 400 may be repeated for each snapshot 150.

[0040] Reference now Figure 5 , shows an example process 500 according to some embodiments. In some examples, process 500 may be performed using part or all of catalog module 117 (in Figure 1 and Figure 3 ). Process 500 may be implemented in hardware or a combination of hardware and programming (e.g., machine-readable instructions that may be executed by one or more processors). The machine-readable instructions may be stored in a non-transitory computer-readable medium (e.g., an optical, semiconductor, or magnetic storage device). The machine-readable instructions may be executed by a single processor, multiple processors, a single processing engine, multiple processing engines, etc. For illustration, reference may be made to Figure 1-3 To describe the details of process 500, Figure 1-3 Examples according to some embodiments are given. However, other embodiments are also possible.

[0041] Block 510 may include accessing a plurality of blocks in a block-based backup of a first snapshot of a storage volume. Figure 1-3 , catalog logic 310 may read or otherwise access blocks included in snapshot backup 350A (or data stream 160A). Snapshot backup 350A may be a block-based backup of snapshot 150A of volume 125. In some embodiments, snapshot backup 350A may store blocks in a deduplicated form.

[0042] Block 520 may include determining (at least in part) a first file system stored on the storage volume based on the plurality of blocks of the block-based backup, the first file system being a first type of file system. Figure 1-3 , catalog logic 310 can identify blocks in snapshot backup 350A (or data stream 160A) that include a specific identifier at a specific location of the block, and can thereby determine that data of a specific type of file system (e.g., an XFS file system) is included in the associated snapshot 150A.

[0043] Block 530 may include selecting a first filter associated with a first type of file system from a plurality of filters. Figure 1-3 , the catalog logic 310 may select a filter 320 corresponding to the determined file system type. In some embodiments, the catalog logic 310 may use the filter 320 to locate and interpret metadata in blocks of the snapshot backup 350A (or data stream 160A) associated with the determined file system type. In some examples, the catalog logic 310 may use the filter 320 to identify metadata in only changed blocks of a block-based backup. In other examples, the catalog logic 310 may use the filter 320 to identify metadata in all blocks of a block-based backup.

[0044] Block 540 may include determining changed files in the first file system based on the selected first filter. Figure 1-3 , cataloging logic 310 can analyze metadata in changed blocks of snapshot backup 350A (or data stream 160A) to determine a list of files and / or directories that may have changed between different points in time (e.g., between snapshots or backups), can compare the determined list with a previous list of objects, and can identify changed files based on the differences between the two lists.

[0045] Block 550 may include updating the catalog to indicate that the changed files are associated with the first snapshot. Figure 1-3 , catalog logic 310 may update catalog 330 to include information about the files and directories associated with snapshot 150A. For example, catalog 330 may list, for each of snapshots 150A-150C, the files and directories that have changes represented in those snapshots. After block 550, process 500 may be complete. Note that process 500 may be repeated for each snapshot 150.

[0046] Reference now Figure 6 , shows a machine-readable medium 600 storing instructions 610-650 according to some embodiments. The instructions 610-650 may be executed by a single processor (e.g., Figure 1 The machine-readable medium 600 may be executed by the processing resource 112 shown), multiple processors, a single processing engine, multiple processing engines, etc. The machine-readable medium 600 may be a non-transitory storage medium, such as an optical, semiconductor, or magnetic storage medium.

[0047] Instructions 610 may be executed to access a plurality of blocks in a block-based backup of a first snapshot of a storage volume. For example, instructions 610 may read or otherwise access blocks included in snapshot backup 350A (or data stream 160A). Snapshot backup 350A may be a block-based backup of snapshot 150A of volume 125. In some embodiments, snapshot backup 350A may store blocks in a deduplicated form.

[0048] Instructions 620 may be executed to determine, based on the plurality of blocks of the block-based backup, a first file system in which data is stored on the storage volume, the first file system being a first type of file system. Figure 1-3 and Figure 6 , instructions 620 may identify a block in snapshot backup 350A (or data stream 160A) that includes a specific identifier at a specific location of the block, and thereby determine that data of a specific type of file system (eg, an XFS file system) is included in the associated snapshot 150A.

[0049] Instructions 630 may be executed to select a first filter associated with a first type of file system from a plurality of filters. Figure 1-3 and Figure 6 , instructions 630 may select a filter 320 corresponding to the determined file system type. In some embodiments, instructions 630 may use filter 320 to locate and interpret metadata in blocks of snapshot backup 350A (or data stream 160A) associated with the determined file system type. In some examples, instructions 630 may use filter 320 to identify metadata in only changed blocks of a block-based backup. In other examples, instructions 630 may use filter 320 to identify metadata in all blocks of a block-based backup.

[0050] Instructions 640 may be executed to determine changed files in the first file system based on the selected first filter. Figure 1-3 and Figure 6 , instructions 640 can analyze metadata in changed blocks of snapshot backup 350A (or data stream 160A) to determine a list of files and / or directories that may have changed between different points in time (e.g., between snapshots or backups), can compare the determined list to a previous list of objects, and can identify changed files based on the differences between the two lists.

[0051] Instructions 650 may be executed to update the catalog to indicate that the changed files are associated with the first snapshot. Figure 1-3 and Figure 6 , instructions 650 may update catalog 330 to include information about the files and directories associated with snapshot 150A. For example, catalog 330 may list the files and directories that have changes represented in each snapshot 150A-150C.

[0052] Reference now Figure 7 , which shows a schematic diagram of an example computing device 700. In some examples, computing device 700 may generally correspond to computing device 110 (eg, Figure 1 As shown, computing device 700 may include hardware processor 702 and machine-readable storage device 705 including instructions 710-750. Machine-readable storage device 705 may be a non-transitory medium. Instructions 710-750 may be executed by hardware processor 702 or by a processing engine included in hardware processor 702.

[0053] Instructions 710 may be executed to access a plurality of blocks in a block-based backup of a first snapshot of a storage volume. Figure 1-3 and Figure 7, instructions 710 may read or otherwise access blocks included in snapshot backup 350A (or data stream 160A). Snapshot backup 350A may be a block-based backup of snapshot 150A of volume 125. In some embodiments, snapshot backup 350A may store blocks in a deduplicated form.

[0054] Instructions 720 may be executed to determine (at least in part) a first file system stored on the storage volume based on the plurality of blocks of the block-based backup, the first file system being a first type of file system. Figure 1-3 and Figure 7 , instructions 720 may identify a block in snapshot backup 350A (or data stream 160A) that includes a specific identifier at a specific location of the block, and thereby determine that data of a specific type of file system (eg, an XFS file system) is included in the associated snapshot 150A.

[0055] Instructions 730 may be executed to select a first filter associated with a first type of file system from a plurality of filters. Figure 1-3 and Figure 7 , instructions 730 may select a filter 320 corresponding to the determined file system type. In some embodiments, instructions 730 may use filter 320 to locate and interpret metadata in blocks of snapshot backup 350A (or data stream 160A) associated with the determined file system type. In some examples, instructions 730 may use filter 320 to exclusively identify metadata in changed blocks represented by block-based backups. In other examples, instructions 730 may use filter 320 to identify metadata in all blocks of a block-based backup.

[0056] Instructions 740 may be executed to determine changed files in the first file system based on the selected first filter. Figure 1-3 and Figure 7 , instructions 740 can analyze metadata in changed blocks represented in snapshot backup 350A (or data stream 160A) to determine a list of files and / or directories that may have changed between different points in time (e.g., between different snapshots or backups), can compare the determined list with a previous list of objects, and can identify changed files based on the differences between the two lists.

[0057] Instructions 750 may be executed to update the catalog to indicate that the changed file is associated with the first snapshot. Figure 1-3 and Figure 7 , instructions 750 may update catalog 330 to include information about files and directories associated with snapshot 150A. For example, catalog 330 may list the files and directories that have changed in each of snapshots 150A-150C.

[0058] Note that although 1-7 show various examples, implementation is not limited thereto. Figure 1 , it is contemplated that system 100 may include additional devices and / or components, fewer components, different components, different arrangements, etc. In another example, it is contemplated that backup module 115 and cataloging module 117 may be combined into a single module, or may be included in any other module or software of backup device 110. In yet another example, it is contemplated that file system 140 and / or snapshot 150 may be included in any number of storage devices 120, and / or snapshot backup 350 may be stored in any number of backup devices (not shown). Other combinations and / or variations are also possible.

[0059] According to some embodiments, an example of a catalog of files associated with a snapshot is provided. Some embodiments may include analyzing blocks of a block-based backup of a snapshot, identifying a file system included in the blocks, and selecting a specific filter corresponding to the type of file system. The selected filter can be used to identify blocks that include metadata for the file system. The metadata can be analyzed to determine any changes to objects in the file system. The determined changes can then be used to generate and / or update a catalog of objects associated with various snapshots. Therefore, some embodiments can reduce the time and processing bandwidth required to identify file system objects associated with a snapshot.

[0060] Data and instructions are stored in corresponding storage devices, which are implemented as one or more computer-readable or machine-readable storage media. Storage media include different forms of non-transitory memory, including semiconductor storage devices (e.g., dynamic or static random access memory (DRAM or SRAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory); magnetic disks (e.g., fixed disks, floppy disks, removable disks); other magnetic media including magnetic tapes; optical media (e.g., compact disks (CDs) or digital video disks (DVDs)); or other types of storage devices.

[0061] Note that the instructions discussed above may be provided on one computer-readable or machine-readable storage medium, or alternatively may be provided on multiple computer-readable or machine-readable storage media distributed in a large system having possibly multiple nodes. Such computer-readable or machine-readable storage media are considered to be part of an article (or product). An article or product may refer to any manufactured single component or multiple components. The storage medium may be located in the machine running the machine-readable instructions, or at a remote site from which the machine-readable instructions may be downloaded over a network for execution.

[0062] In the foregoing description, many details are set forth to provide an understanding of the subject matter disclosed herein. However, these implementations may be implemented without these details. Other implementations may include modifications and variations to the above details. The appended claims are intended to cover such modifications and variations.

Claims

1. A computing device, comprising: a processor, the processor comprising a plurality of processing engines; as well as a machine-readable storage device storing instructions executable by the processor to: accessing a plurality of blocks in a block-based backup of a first snapshot of a storage volume; determining, based on the plurality of blocks in the block-based backup, a first file system stored on the storage volume, the first file system being a first type of file system; selecting a first filter associated with the first type of file system from a plurality of filters; executing the selected first filter to identify a set of blocks, the set of blocks including each block in a first snapshot, the first snapshot including metadata about files and directories of the first file system, wherein the selected first filter is executed to determine that each block in the identified set of blocks matches criteria associated with the metadata about files and directories of the first file system; identifying changed files in the first file system based on the identified set of blocks including metadata about files and directories of the first file system, wherein the changed files changed between the first snapshot and a previous snapshot; as well as In response to identifying the changed file in the first file system, a catalog is updated to indicate that the changed file is associated with the first snapshot.

2. The computing device of claim 1, wherein the instructions are executable by the processor to: determining a first block identifying the first file system in the storage volume; and A file system of the first type is determined based on the first block.

3. The computing device of claim 1 , the instructions being executable by the processor to: The plurality of blocks from the block-based backup of a first data stream received by a backup device from a storage system including the storage volume are accessed.

4. The computing device of claim 3, the instructions executable by the processor to: After the block-based backup is stored in a backup storage area of ​​the backup device, the plurality of blocks of the block-based backup are accessed.

5. The computing device of claim 1, wherein: The catalog includes only information about a plurality of files that changed between the first snapshot and the previous snapshot, and wherein the catalog is persistently stored on the machine-readable storage device.

6. The computing device of claim 1, the instructions executable by the processor to: analyzing metadata in the set of blocks to determine names and locations of a set of objects of the first file system; During analysis of the metadata, tracking the set of objects in a data structure; Based on the set of tracked objects, determining a tree structure; identifying differences between the tree structure and a previous tree structure; as well as Based on the identified differences, the changed files in the first file system are determined.

7. The computing device of claim 1, the instructions executable by the processor to: Based on the plurality of blocks, determining a second file system stored on the storage volume, the second file system being a file system of a second type; selecting a second filter associated with the second type of file system from a plurality of filters; as well as Based on the selected second filter, changed objects in the second file system are determined.

8. A non-transitory machine-readable storage medium storing instructions that, when executed, cause a processor to: accessing, by a backup system, a plurality of blocks included in a block-based backup of a first snapshot of a storage volume; determining, based on the plurality of blocks of the block-based backup, a first file system stored on the storage volume, the first file system being a first type of file system; selecting a first filter associated with the first type of file system from a plurality of filters; executing the selected first filter to identify a set of blocks, the set of blocks including each block in a first snapshot, the first snapshot including metadata about files and directories of the first file system, wherein the selected first filter is executed to determine that each block in the identified set of blocks matches criteria associated with the metadata about files and directories of the first file system; identifying changed files in the first file system based on the identified set of blocks including metadata about files and directories of the first file system, wherein the changed files changed between the first snapshot and a previous snapshot; as well as In response to identifying the changed file in the first file system, a catalog is updated to indicate that the changed file is associated with the first snapshot.

9. The non-transitory machine-readable storage medium of claim 8, comprising instructions for causing the processor to: determining a first block identifying the first file system in the storage volume; and Based on the first block, a file system of the first type is determined.

10. The non-transitory machine-readable storage medium of claim 8, comprising instructions that cause the processor to: The plurality of blocks from the block-based backup of a first data stream received by a backup device from a storage system including the storage volume are accessed.

11. The non-transitory machine-readable storage medium of claim 10, comprising instructions for causing the processor to: After the block-based backup is stored in a backup storage area of ​​the backup device, the plurality of blocks of the block-based backup are accessed.

12. The non-transitory machine-readable storage medium of claim 8, wherein: The catalog includes only information about a plurality of files that changed between the first snapshot and the previous snapshot, and wherein the catalog is persistently stored on the non-transitory machine-readable storage medium.

13. The non-transitory machine-readable storage medium of claim 8, comprising instructions that cause the processor to: analyzing metadata in the set of blocks to determine names and locations of a set of objects of the first file system; During analysis of the metadata, tracking the set of objects in a data structure; Based on the set of tracked objects, determining a tree structure; identifying differences between the tree structure and a previous tree structure; as well as Based on the identified differences, the changed files in the first file system are determined.

14. The non-transitory machine-readable storage medium of claim 8, comprising instructions that cause the processor to: Based on the plurality of blocks, determining a second file system stored on the storage volume, the second file system being a file system of a second type; selecting a second filter associated with the second type of file system from a plurality of filters; as well as Based on the selected second filter, changed objects in the second file system are determined.

15. A computer-implemented method comprising: accessing, by a backup system, a plurality of blocks included in a block-based backup of a first snapshot of a storage volume; determining, based on the plurality of blocks of the block-based backup, a first file system stored on the storage volume, the first file system being a first type of file system; selecting a first filter associated with the first type of file system from a plurality of filters; executing the selected first filter to identify a set of blocks, the set of blocks including each block in a first snapshot, the first snapshot including metadata about files and directories of the first file system, wherein the selected first filter is executed to determine that each block in the identified set of blocks matches criteria associated with the metadata about files and directories of the first file system; identifying changed files in the first file system based on the identified set of blocks including metadata about files and directories of the first file system, wherein the changed files changed between the first snapshot and a previous snapshot; as well as In response to identifying the changed file in the first file system, a catalog is updated to indicate that the changed file is associated with the first snapshot.

16. The computer-implemented method of claim 15, comprising: Determining a first block identifying the first file system in the storage volume, wherein determining the first block includes determining that a predetermined value is stored at a particular location of the first block; and Based on the first block, a file system of the first type is determined.

17. The computer-implemented method of claim 15, comprising: The plurality of blocks from the block-based backup of a first data stream received by a backup device from a storage system including the storage volume are accessed.

18. The computer-implemented method of claim 17, comprising: After the block-based backup is stored in a backup storage area of ​​the backup device, the plurality of blocks of the block-based backup are accessed.

19. The computer-implemented method of claim 15, wherein: The catalog includes only information about a plurality of files that have changed between the first snapshot and the previous snapshot, and wherein the catalog is persistently stored on the computer.

20. The computer-implemented method of claim 15, comprising: Based on the plurality of blocks, determining a second file system stored on the storage volume, the second file system being a file system of a second type; selecting a second filter associated with the second type of file system from a plurality of filters; as well as Based on the selected second filter, changed objects in the second file system are determined.