SAFETY ANOMALITY OBJECT DETECTION AND EXCLUSION RULE GENERATION

DE102024203256A1Pending Publication Date: 2024-10-17DELL PROD LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE102024203256
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-11
Filing Date
2024-04-10
Publication Date
2024-10-17

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A method, a non-transitory computer-readable medium, and a system for pre-backup anomaly object detection and exclusion rule creation. Enterprise information technology environments often comprise any number of repositories managing large amounts of data and states. Each repository may, in turn, be permeated with various anomalous objects that can cause backup failures. The embodiments described herein correct backup failures due to the presence of anomalous objects by examining any number of repositories in a pre-backup state to identify any anomalous objects contained therein. Once identified, the anomalous objects (or the metadata describing them) can be added to a list of data backups to be skipped and subsequently excluded from the current and / or any future data backup.The exclusion of the anomalous object(s) from the backup(s) can be enforced by automatically creating one or more exclusion rules that affect and thus adapt the backup policy(ies) associated with the inventory(s).
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND Every corporate IT environment often includes any number of assets (e.g., local storage, network-attached storage (NAS) shares, virtual machines, and database applications, etc.) that store large amounts of data and state relevant to the company's operations and / or services. Each object, in turn, can be interspersed with various anomalous objects, the presence of which leads to backup failures, reducing backup performance and leaving corporate data and state unprotected. SUMMARY In general, the embodiments described herein relate, in one aspect, to a method for exclusion rule creation. The method includes: identifying a target inventory; for at least one target inventory slice among a plurality of target inventory slices, partitioning the target inventory; identifying an anomalous target inventory slice object; adding object metadata for the anomalous target inventory slice object to a slice skip list; and creating a backup exclusion rule based on the slice skip list. In general, the embodiments described herein relate, in one aspect, to a non-transitory computer-readable medium (CRM). The non-transitory CRM comprises computer-readable program code that, when executed by a computer processor, enables the computer processor to perform a method of exclusion rule creation. The method comprises: identifying a target repository; for at least one target repository slice of a plurality of target repository slices, partitioning the target repository; identifying an anomalous target repository slice object; adding object metadata for the anomalous target repository slice object to a slice skip list; and generating a backup exclusion rule based on the slice skip list. In general, the embodiments described herein relate, in one aspect, to a system. The system comprises: a target asset; an asset source through which the target asset is accessible; and comprising: a first computer processor configured to, at least in part, perform a method of exclusion rule creation. The method comprises: identifying the target asset; for at least one target asset slice of a plurality of target asset slices, partitioning the target asset; identifying an anomalous target asset slice object; and adding object metadata for the anomalous target asset slice object to a slice skip list; and a backup service operatively connected to the asset source and comprising: a second computer processor configured to receive at least the slice skip list from the asset source and, at least in part, perform the method of exclusion rule creation.The method further comprises: for the at least one target inventory disk of the plurality of target inventory disks partitioning the target inventory: generating a backup exclusion rule based on the disk skip list. Other aspects described herein will be apparent from the following description and the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS Certain embodiments described herein are described with reference to the accompanying drawings. However, the accompanying drawings only illustrate certain aspects or implementations of the embodiments by way of example and are not intended to limit the scope of the claims. Fig. 1A shows a system in accordance with one or more embodiments described herein. Fig. 1B shows a backup service in accordance with one or more embodiments described herein. Fig. 1C shows an inventory source in accordance with one or more embodiments described herein. Figs. 2A-2C show flowcharts describing a method for pre-backup anomaly object detection in accordance with one or more embodiments described herein. Fig.3A-3C depict flowcharts describing a method for pre-fuse exclusion rule creation in accordance with one or more embodiments described herein. Figure 4 depicts an exemplary computer system in accordance with one or more embodiments described herein. DETAILED DESCRIPTION Specific embodiments will now be described with reference to the accompanying figures. In the following description, numerous details are set forth as examples of embodiments described herein. Those skilled in the art (and having this detailed description) will understand that one or more embodiments of the embodiments described herein may be practiced without these specific details, and that numerous variations or modifications are possible without departing from the scope of the embodiments described herein. Certain details known to those skilled in the art may be omitted to avoid obscuring the description. In the following description of the figures, each component described with respect to one figure in various embodiments described herein may correspond to one or more components of the same name described with respect to another figure. For brevity, the description of these components is not repeated for each figure. Therefore, each individual embodiment of the components of each figure is incorporated by reference and is considered optionally present in any other figure having one or more components of the same name.Additionally, in accordance with various embodiments described herein, any description of the components of a figure is to be understood as an optional embodiment that may be implemented in addition to, in conjunction with, or in place of the embodiments described with respect to a corresponding component of the same name in any other figure. Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as an adjective for an element (i.e., any noun in the application). The use of ordinal numbers is not intended to imply or create a particular order of the elements, nor is it intended to limit an element to being only a single element, unless expressly disclosed, such as by the use of the terms "before," "after," "single," and other such terms. Rather, ordinal numbers are used to distinguish between elements. For example, a first element is different from a second element, and the first element may include more than one element and may follow (or precede) the second element in a sequence of elements. In this application, elements of figures may be labeled A through N. As used herein, the foregoing labeling means that the element may comprise any number of elements and does not require that the element comprise the same number of elements as any other element labeled A through N. For example, a data structure may comprise a first element labeled A and a second element labeled N. A second data structure, also labeled A through N, may also comprise any number of elements. The number of elements of the first data structure and the number of elements of the second data structure may be the same or different. As used herein, the term "operatively connected" or "operative connection" means that a direct or indirect connection exists between elements / components / devices that allows the elements to interact with each other in some way. For example, the term "operatively connected" can refer to any direct (e.g., operating directly between two devices or components) or indirect (e.g., wired and / or wireless connections between any number of devices or components connecting the operatively connected devices) connection. Thus, any path over which information can be traveled can be considered an operative connection. In general, the embodiments described herein relate to pre-backup anomaly object detection and exclusion rule creation. In particular, any enterprise IT environment often comprises any number of assets (e.g., local storage, NAS shares, virtual machines and database applications, etc.) that contain large amounts of data and state relevant to the enterprise's operations and / or services. Each asset, in turn, may be riddled with various anomalous objects, manifesting, for example, in the form of irregular files (e.g., pipe, socket, or symbolic link files), corrupted or otherwise inaccessible files, cloud tier files, orphaned files, compressed files, and snapshot directories.When attempting to back up one or more of these assets, the presence of these anomalous objects typically causes backup failures, reducing backup performance and leaving enterprise data and state unprotected. Furthermore, existing technologies are unable to mitigate this problem, as many of them are unable to detect these anomalous objects, let alone filter them out to ensure a successful backup. Some existing technologies, when confronted with compressed or cloud-based files, rush to back up these files, which first require rehydration (e.g., decompression, migration, or other forms of data / state recovery to restore the data / state's accessibility prior to backup), thus unnecessarily prolonging the backup time. Other existing technologies, meanwhile, generate log files with details of backup failures but force administrators or users to manually comb through these log files to identify the cause(s) and / or anomalous objects behind the backup failures. The embodiments described herein solve the above problems through pre-backup detection of anomalous objects and exclusion rule creation. In particular, during a pre-backup state comprising any number of assets, the asset(s) may be examined to identify anomalous objects therein. Once identified, the anomalous object(s) (or the object metadata describing them) may be added to a backup skip list and subsequently excluded from the current backup and all future backups involving the asset(s) in which the anomalous object(s) have been identified.The exclusion of the anomalous object(s) from current and / or future backups can be achieved by automatically creating one or more exclusion rules that influence and thus adapt the backup policy(ies) associated with the asset(s). Fig. 1A illustrates a system in accordance with one or more embodiments described herein. The system (100) may include a backup service (102) and any number of inventory sources (104A-104N). Each of these components of the system (100) is described below. In one or more embodiments described herein, the backup service (102) may represent any enterprise IT infrastructure that is at least configured to initiate pre-backup anomaly object detection and perform pre-backup exclusion rule creation. To this end, the backup service (102) may include functionality to generate and submit a pre-backup job to any inventory source(s) (104A-104N) containing one or more target assets (e.g., assets (see, e.g., Fig. 1C ) designated for backup) provided to / from the inventory source(s) (104A-104N), wherein the pre-backup job may instruct the inventory source(s) (104A-104N) to detect any anomalous object within the target asset(s) and prior to backup. The backup service (102) may also include functions to perform the method illustrated and described in Figs. 3A-3C.However, one skilled in the art will understand that the security service (102) may also perform other services without exceeding the scope of the embodiments described herein. In one or more embodiments described herein, the backup service (102) may be implemented over a local infrastructure, a cloud computing infrastructure, or a hybrid infrastructure thereof. The backup service (102) may accordingly be implemented using one or more network servers (not shown), where each network server may represent a physical or a virtual network server. Additionally or alternatively, the backup service (102) may be implemented using one or more computer systems similar to the example computer system shown in Fig. 4. Furthermore, the backup service (102) is illustrated with reference to Fig. 1B and described in further detail below. In one or more embodiments described herein, each asset source (104A-104N) may represent any physical device or computing system configured to receive, generate, process, store, and / or transmit data (and metadata describing it), as well as to provide an environment in which any number of computer programs and / or assets (see, e.g., Fig. 1C) may be executed or maintained thereon. For example, the computer program(s) may implement large-scale and complex data processing or implement one or more services offered locally or over a network, while the asset(s) may store the large amounts of data and state relevant to the enterprise's operations and / or services. Furthermore, in one or more embodiments described herein, in providing an execution environment for one or more computer programs installed thereon, each asset source (104A-104N) may include and allocate various resources (e.g., computer processors, memory, storage, virtualization, network bandwidth, etc.) for the computer program(s) and / or the tasks (or processes) instantiated thereby, as needed. However, those of ordinary skill in the art will appreciate that each asset source (104A-104N) may also perform other functions without departing from the scope of the embodiments described herein. Examples of any asset source (104A-104N) include, but are not limited to, a desktop computer, a laptop computer, a network server, a network mainframe, a smartphone, a tablet computer, or another computer system similar to the example computer system depicted in Figure 4.Furthermore, each inventory source (104A-104N) is illustrated and described in further detail with reference to Fig. 1C, see below. In one or more embodiments described herein, the above-mentioned components (or subcomponents thereof) of the system (100) may communicate with each other via a network (not shown) (e.g., a local area network (LAN), a wide area network (WAN) such as the Internet, a mobile network, another network type, or any combination thereof). The network may be implemented using any combination of wired and / or wireless connections. Further, the network may include various interconnected, network-capable subcomponents (or systems) (e.g., switches, routers, gateways, etc.) that may facilitate communication between the above-mentioned components (or subcomponents) of the system (100).Furthermore, the components (or subcomponents) of the above-mentioned system (100) may use any combination of wired and / or wireless communication protocols when communicating with each other. While Fig. 1A shows one configuration of components and / or subcomponents, other configurations of the system (100) may be used without departing from the scope of the embodiments described herein. Fig. 1B shows a backup service in accordance with one or more embodiments described herein. The backup service (102) may include any number of backup service interfaces (110), a backup service controller (112), and a backup service store (114). Each of these components of the backup service (102) is described below. In one or more embodiments described herein, each backup service interface (110) may be network hardware (e.g., a network card or adapter), a computer program implementing a logical interface (e.g., an application programming interface (API)) and executing on the underlying hardware of the backup service (102), an interactivity protocol, or any combination thereof configured to enable or facilitate communication (or information exchange) between the backup service (102) and other entities (e.g., any number of inventory sources (see, e.g., Fig. 1A and Fig. 1C )). To this end, in one or more embodiments described herein, each backup service interface (110) may include functionality to receive any number of pre-backup jobs, each specifying any number of target assets, from the backup service controller (112); transmit the received pre-backup job(s) to any number of asset sources on which the target asset(s) specified in the received pre-backup job(s) is / are managed; receive, in response to the transmitted pre-backup job(s), target asset backup metadata for the target asset(s) from the asset source(s); provide the received target asset backup metadata for the target asset(s) to the backup service controller (112);Following processing the provided target inventory backup metadata for the target inventory(s) (see e.g., Fig. 3A-3C), obtain any number of target inventory backup objects for the target inventory(s) from the backup service controller (112); and transfer the obtained target inventory backup object(s) for the target inventory(s) to the inventory source(s) on which the target inventory(s) are managed. However, one of ordinary skill in the art will understand that each backup service interface (110) may also perform other functions without departing from the embodiments described herein. In one or more embodiments described herein, the backup service controller (112) may refer to instruction processing hardware (e.g., any number of integrated circuits for processing computer-readable instructions), a computer program executing on the underlying hardware of the backup service (102), or any combination thereof configured to monitor and / or manage the operations of the backup service (102).To this end, the backup service controller (112) may include functionality to: create any number of pre-backup jobs and provide them to the backup service interface(s) (110) for transmission to any number of asset sources, each job specifying any number of target assets managed in the asset source(s); obtain target asset backup metadata for the target asset(s) from the backup service interface(s) (110); process the obtained target asset backup metadata for the target asset(s), at least in part according to the method illustrated in Figs. 3A-3C, below, to create any number of target asset backup objects for the target asset(s); and provide the created target asset backup object(s) for the target asset(s) to the backup service interface(s) (110) for transmission to the source(s).However, one skilled in the art will understand that the backup service controller (112) may also perform other functions without departing from the scope of the embodiments described herein. In one or more embodiments described herein, the backup service store (114) may refer to a collection of one or more physical storage devices (not shown) on which various forms of digital information—e.g., any number of backup exclusion rules (116) (described below) and any number of source service policies (118A-118N) (described below)—may be managed. Each physical storage device may include non-transitory, computer-readable storage media on which the digital information may be stored, in whole or in part, and temporarily or permanently. Further, the backup service store (114) may be implemented at least in part using persistent (i.e., non-volatile) memory.Examples of non-volatile memory include, but are not limited to, optical memory, magnetic memory, NAND flash memory, NOR flash memory, magnetic random access memory (M-RAM), spin torque magnetic RAM (ST-MRAM), phase change memory (PCM), or any other memory defined as non-volatile storage class (SCM) memory. In one or more embodiments described herein, each backup exclusion rule (116) may refer to a rule (or filter) configured to exclude any number of specified directories and / or files from any current and / or future operation(s) related to a particular inventory source. The specified directory(s) and / or file(s) may accordingly reflect anomalous object(s) detected by the given inventory source during the processing of a pre-backup job(s) (see, e.g., Fig. 2A-2C) passed thereto by the backup service (102) and accordingly retained. Further, each backup exclusion rule (116) may be configured by the backup service controller (112) (see, e.g., Fig.3A-3C ) are created dynamically based, at least in part, on all received target inventory backup metadata from and for all target inventory(s) specified in a pre-backup request(s) directed to the given inventory source. In one or more embodiments described herein, any source protection policy (118A-118N) may refer to a set of rules and procedures outlining a strategy for protecting (e.g., over any number of operations) data, metadata, and / or state maintained in any asset source. The rules and procedures may specify, for example, which data, metadata, and / or state of the asset source should be protected, where (e.g., in one or more target stores) backup copies of the protected data, metadata, and / or state should be stored, how often an operation related to the asset source should be performed, and how long backup copies of the protected data, metadata, and / or state should be retained.The set of rules and procedures may further include any created backup exclusion rule(s) (116) relevant to the given inventory source, or may be customized based thereon. While Fig. 1B shows one configuration of components and / or subcomponents, other configurations of the backup service (102) may be used without departing from the scope of the embodiments described herein. Fig. 1C shows an inventory source in accordance with one or more embodiments described herein. The inventory source (104) may include any number of inventory source interfaces (120), a backup manager (122), an inventory slicer (124) (or inventory slicer (124)), an inventory analyzer (126), and any number of assets (128A-128N). Each of these components of the inventory source (104) is described below. In one or more embodiments described herein, each inventory source interface (120) may be network hardware (e.g., a network card or adapter), a computer program implementing a logical interface (e.g., an application programming interface (API)) and executing on the underlying hardware of the inventory source (104), an interactivity protocol, or any combination thereof, configured to enable or facilitate communication (or information exchange) between the inventory source (104) and other entities (e.g., the backup service (see, e.g., Fig. 1A and Fig. 1B)). To this end, in one or more embodiments described herein, each inventory source interface (120) may comprise the following functions: receiving any number of pre-assurance orders, each containing any number of target inventories (e.g., any number of target inventories (e.g.,specify any specified asset(s) (128A-128N) from the backup management service; providing the received pre-backup jobs to the backup manager (122) for processing; obtaining target asset backup metadata for the target asset(s) from the backup manager (122); transmitting the obtained target asset backup metadata for the target asset(s) to the backup manager; receiving any number of target asset backup objects for the target asset(s) from the backup manager; and providing the received target asset backup object(s) for the target asset(s) to the backup manager (122) for processing. However, one of ordinary skill in the art will recognize that each asset source interface (120) may perform other functions without departing from the scope of the embodiments described herein. In one or more embodiments described herein, the backup manager (122) may refer to instruction-processing hardware (e.g., any number of integrated circuits for processing computer-readable instructions), a computer program executing on the underlying hardware of the asset source (104), or any combination thereof, configured to monitor and / or manage backup operations on the asset source (104). To this end, the backup manager (122) may include functionality to: receive any number of pre-backup jobs, each of which may backup any number of target assets (e.g.,any specified inventory(s) (128A-128N)) from any inventory source interface (120); instruct or invoke the inventory slicer (124) to partition (or slice) each target inventory into multiple target inventory slices; for each target inventory slice (via one of multiple parallel threads) of any target inventory: (i) identify any number of target inventory slice objects (e.g., directories and / or files); (ii) instruct or invoke the inventory analyzer (126) (via the inventory slicer (124)) to evaluate the identified target inventory slice objects to detect any number of anomalous target inventory slice objects (e.g., anomalous directories and / or files); (iii) retrieve object metadata for both the detected anomalous target inventory slice object(s) and any number of regular (i.e., (iv) adding the acquired object metadata for the detected anomalous target inventory slice object(s) to one or more slice skip lists, while adding the acquired object metadata for the regular target inventory slice object(s) to one or more slice non-skip lists; creating target inventory backup metadata for the target inventory(s) based, at least in part, on any number of slice skip and non-skip lists; providing the created target inventory backup metadata for the target inventory(s) to any inventory source interface (120) for transmission to the backup service; and obtaining any number of target inventory backup objects for the target inventory(s) from any inventory source interface (120).However, one skilled in the art will understand that the backup manager (122) may also perform other services without exceeding the scope of the embodiments described herein. In one or more embodiments described herein, the inventory slicer (124) may refer to instruction-processing hardware (e.g., any number of integrated circuits for processing computer-readable instructions), a computer program executing on the underlying hardware of the inventory source (104), or any combination thereof, configured to partition or slice each of any number of target inventories (e.g., one or more particular inventories (128A-128N)) managed in the inventory source (104).To this end, the inventory analyzer (124) may include functionality to: create multiple target inventory slices from each of the target inventories based on instructions or a call received from the backup manager (122); and forward instructions to or invoke the inventory analyzer (126) from / by the backup manager (122), wherein the instructions or call may cause the inventory analyzer (126) to evaluate any number of target inventory slice objects (e.g., directories and / or files) for each target inventory slice of the target inventory(s) to detect any number of anomalous target inventory slice objects (e.g., anomalous directories and / or files). However, one of ordinary skill in the art will understand that the inventory slicer (124) may perform other functionality without exceeding the scope of the embodiments described herein. In one or more embodiments described herein, the inventory analyzer (126) may refer to instruction-processing hardware (e.g., any number of integrated circuits for processing computer-readable instructions), a computer program executing on the underlying hardware of the inventory source (104), or any combination thereof, configured to assess whether the directory(s) and / or files of any number of target assets managed on the inventory source (104) are anomalous. To this end, the inventory analyzer (126) may include functionality to analyze any number of target asset slice objects (e.g.,Directories and / or files) for each target inventory disk of the target facility(ies) to detect any number of anomalous target inventory disk objects (e.g., anomalous directories and / or files). However, one of ordinary skill in the art will understand that the inventory analyzer (126) may perform other functionalities without departing from the embodiments described herein. In one or more embodiments described herein, each asset (128A-128N) may refer to any physical or logical construct configured to access and / or maintain enterprise information (e.g., data, metadata, and / or state). The enterprise information may, for example, be relevant to the operations and / or services of the enterprise. Further, the enterprise information on each asset (128A-128N) may be organized and accessible via one or more file system implementations (e.g., disk file system(s), distributed file systems, etc.). Examples of any assets (128A-128N) may include local storage, network-attached storage (NAS) shares, virtual machines, and database applications. Further, each asset (128A-128N) is not limited to the specific examples above. While Fig. 1C shows one configuration of components and / or subcomponents, other configurations of the inventory source (104) may be used without departing from the scope of the embodiments described herein. 2A-2C show flowcharts describing a method for pre-security anomaly object detection in accordance with one or more embodiments described herein. The various steps described below may be performed by any inventory source (see, e.g., FIGS. 1A and 1C). Furthermore, while the various steps in the flowchart are presented and described sequentially, one of ordinary skill in the art will understand that some or all of the steps may be performed in different orders, combined, or omitted, and some or all of the steps may be performed in parallel. In Fig. 2A, in step 200, a pre-backup job is received from the backup service (see, e.g., Fig. 1A and Fig. 1B). In one or more embodiments described herein, the pre-backup job may specify a target inventory (e.g., an inventory to be backed up) accessible from / via the inventory source. Furthermore, the pre-backup job may instruct the inventory source to detect anomalous objects (e.g., irregular directories and / or files) within the specified target inventory and prior to backing it up. In step 202, the target inventory (specified in the pre-backup request received in step 200) is divided into a plurality of target inventory slices. In one or more embodiments described herein, the plurality of target inventory slices may be created using multiple concurrent or parallel threads. Furthermore, each target inventory slice may be created such that its target inventory slice size does not exceed a predefined target inventory slice size, expressed either in bytes (e.g., 200 GB) or in a number of files (e.g., 1 million files). Since the target inventory also contains corporate information (e.g.,data, metadata, and / or state) organized and accessible via one or more implementations of the file system, each target asset slice created therefrom may include a portion of the enterprise information and a corresponding portion of the file system implementation(s) that organize and provide access to the enterprise information portion. A subset of the remaining steps (i.e., steps 204, 206, 208, 210, 212, 218, 220, 222, 224, 226, and 228) presented and described below relate to, and are therefore performed on, each target inventory slice of the plurality of target inventory slices (created in step 202). Furthermore, any given instance of the aforementioned subset of remaining steps relating to a given target inventory slice may be executed concurrently or in parallel with any other instance(s) of the same corresponding target inventory slice(s). In step 204, following partitioning the target inventory (in step 202) or determining (in step 228) that not all target inventory disk objects of the target inventory disk have been visited / processed, the target inventory disk is crawled to identify a target inventory disk object. In one or more embodiments described herein, crawling the target inventory disk may, for example, consist of traversing the portion of the representative implementation(s) of the file system using a Depth First Search (DFS) traversal algorithm. Further, the identified target inventory disk object may represent either a directory or a file. In step 206, it is determined whether the target inventory disk object (identified in step 204) is a directory or a file. If, in one or more embodiments described herein, it is determined that the target inventory disk object represents a directory, the method proceeds to step 208. On the other hand, in one or more other embodiments described herein, if, alternatively, it is determined that the target inventory disk object represents a file, then the method proceeds to step 218 (see, e.g., Fig. 2B). In step 208, following the determination (made in step 206) that the target inventory slice object (identified in step 204) represents a directory, it is determined whether the target inventory slice object is an anomalous directory (described below) or a regular directory. If, in one or more embodiments described herein, it is determined that the target inventory slice object represents an anomalous directory, the method proceeds to step 210. On the other hand, in one or more embodiments described herein, if, alternatively, it is determined that the target inventory slice object represents a regular directory, then the method proceeds to step 228 (see, e.g., Fig. 2B). In one or more embodiments described herein, an anomalous or irregular directory may refer to any directory known to hinder the success of the backup operation. The anomalous directory(s) may be identified, for example, by analyzing a history of failed backup operations related to one or more target assets. Further, an example of an anomalous directory may include a snapshot directory. A snapshot directory may refer to any directory that includes one or more snapshots (i.e., copies) of the enterprise information (or at least a portion thereof) made accessible via at least the target asset disk.Furthermore, due to their snapshot content, these snapshot directories contain large amounts of redundant data, metadata, and / or state that, if not skipped, would be backed up and would therefore result in an unnecessarily extended backup window for the backup operation—where an extension of the backup window would / could increase the vulnerability of the backup operation to failure due to other factors (e.g., media failure, human error, software updates, cyberattacks, and / or infrastructure failure). Other examples of anomalous directories include hidden directories (e.g., any directories not displayed by default in a directory listing and which, for example, store user preferences or the state of utility programs) and corrupted directories (e.g., inaccessible or unreadable directories caused, for example, by malware or storage hardware defects).Furthermore, each anomalous directory is not limited to the specific examples mentioned above. Returning to the method, after determining in step 208 that the target asset disk object (identified in step 204) represents an anomalous directory, the following object metadata is collected for the target asset disk object in step 210. In one or more embodiments described herein, the object metadata may include: an object path indicating a file system location of the target asset disk object; a number or cardinality of sub-objects (e.g., subdirectories and / or files) (if any) contained in / by the target asset disk object; and at least one reason (as described below by way of example) justifying skipping the target asset disk object from one or more current / future backup operations. Examples of the above reason(s) justifying skipping a known anomalous directory may include identifying the directory as a snapshot directory, a hidden directory, or a corrupted directory. Furthermore, the reason(s) is / are not limited to the specific examples above. In step 212, the object metadata (collected in step 210) for the target inventory slice object (identified in step 204 and determined to be an anomalous directory in step 208) is added to a slice skip directory list. In one or more embodiments described herein, the slice skip directory list may refer to a document (e.g., a JavaScript Object Notation (JSON) file, a Comma Separated Values (CSV) file, a Yet Another Markup Language (YAML) file, etc.) configured to include the object metadata for any number of anomalous directories identified in the target inventory slice. Following step 212, the method proceeds to step 228 (see, for example, Fig. 2B). In Fig. 2B, in step 218, following the determination (in step 206) that the target inventory disk object (identified in step 204) represents a file, it is determined whether the target inventory disk object is an anomalous file (described below) or a regular file. If, in one or more embodiments described herein, it is determined that the target inventory disk object represents an anomalous file, the method proceeds to step 220. On the other hand, in one or more embodiments described herein, if, alternatively, it is determined that the target inventory disk object represents a regular file, then the method proceeds to step 224. In one or more embodiments described herein, an anomalous or irregular file may refer to any file known to hinder the success of the backup operation. Said anomalous file(s) may be identified, for example, by analyzing a history of failed backup operations relating to one or more target assets. Other examples of an anomalous file include, but are not limited to: any corrupted file (i.e., any file that cannot be opened); any irregular file, such as any file created for interprocess communication (IPC) purposes (e.g., pipe files, socket files, etc.) or any file created to point to other file system objects (e.g., symbolic link files, etc.); any inaccessible file due to missing access rights; any cloud tier file (i.e.,any file located in a cloud computing infrastructure that would need to be rehydrated); any orphaned file (e.g., any file that has become obsolete because a computer program it was once associated with was deleted or uninstalled); and any compressed or de-duplicated file. Returning to the method, in step 220, following the determination (made in step 218) that the target asset disk object (identified in step 204) represents an anomalous file, object metadata for the target asset disk object is collected. In one or more embodiments described herein, the object metadata may include: a target path indicating the locator of the target asset disk object in the file system; an object type (i.e., file type, format, and / or extension) associated with the target asset disk object; and at least one reason (see below) justifying skipping the target asset disk object in one or more current / future backup operations. Examples of the above-mentioned reason(s) justifying skipping a known anomalous file may include identifying the file as: a corrupted file; a pipe file; a socket file; a symbolic link file; a cloud tier file; an orphaned file; a compressed file; and a de-duplicated file. Furthermore, the reason(s) is / are not limited to the specific examples mentioned above. In step 222, the object metadata (collected in step 220) for the target inventory slice object (identified in step 204 and determined to be an anomalous file in step 218) is added to a slice skip file list. In one or more embodiments described herein, the slice skip file list may refer to a document (e.g., a JavaScript Object Notation (JSON) file, a Comma Separated Values (CSV) file, a Yet Another Markup Language (YAML) file, etc.) configured to include the object metadata for any number of anomalous files identified in the target inventory slice. Following step 222, the method proceeds to step 228 (as described below). In step 224, following the alternative determination (made in step 218) that the target asset disk object (identified in step 204) represents a regular file, object metadata for the target asset disk object is collected. In one or more embodiments described herein, the object metadata may include an object path that specifies a file system location of the target asset disk object. In step 226, the object metadata (collected in step 224) for the target asset slice object (identified in step 204 and determined to be a regular file in step 218) is added to a slice non-skip file list. In one or more embodiments described herein, the slice non-skip file list may refer to a document (e.g., a JavaScript Object Notation (JSON) file, a Comma Separated Values (CSV) file, a Yet Another Markup Language (YAML) file, etc.) configured to include the object metadata for any number of regular files identified in the target asset slice. In step 228, (i) following the alternative determination (determined in step 208) that the target inventory slice object (identified in step 204) represents a regular directory, (ii) following the addition of object metadata (in step 212) to a slice skip directory list, (iii) following the addition of object metadata (in step 222) to a slice skip file list, or (iv) following the addition of object metadata (in step 226) to a slice non-skip file list, it is determined whether all target inventory slice objects of the target inventory slice have been visited / processed. If, in one or more embodiments described herein, it is determined that at least one target inventory slice object remains to be visited and thus processed by crawling the target inventory slice, the method continues with step 204 (see, e.g., Fig. 2A).On the other hand, if in one or more embodiments described herein it is alternatively determined that zero target inventory slice objects need to be visited and thus processed via crawling the target inventory slice, then the method alternatively continues with step 234 (see, e.g., Fig. 2C ). Referring to Fig. 2C: In step 234, following the alternative determination (in step 228) that zero target inventory slice objects are to be visited by crawling each of the plurality of target inventory slices (created in step 202), target inventory backup metadata is created for the target inventory (specified in the pre-backup job received in step 200).In one or more embodiments described herein, the target asset backup metadata may comprise a set of lists - the set of lists, in turn, may comprise: the disc skip directory list (to which anomalous object metadata may have been added in step 212) (if any) for each target asset disk of the plurality of target asset disks created from the target asset; the disc skip file list (to which anomalous object metadata may have been added in step 222) (if any) for each target asset disk of the plurality of target asset disks created by the target asset; and / or the disc non-skip file list (to which regular object metadata may have been added in step 226) (if any) for each target asset disk of the plurality of target asset disks created by the target asset. In one or more embodiments described herein, anomalous directories and / or files may not be discovered in all of the multiple target inventory disks (created in step 202). Accordingly, in the embodiment(s), not all of the multiple target inventory disks may have a disk skip directory list and / or a disk skip file list associated therewith. In one or more other embodiments described herein, at least one anomalous directory and / or file may be discovered in all of the multiple target inventory disks. Accordingly, in the other embodiment(s), all of the multiple target inventory disks may have a disk skip directory list and / or a disk skip file list associated therewith. In step 236, the target inventory backup metadata (created in step 234) for the target inventory (specified in the pre-backup request received in step 200) is provided or otherwise transmitted to the backup service in response to the received pre-backup request. 3A-3C depict flowcharts describing a method for pre-backup exclusion rule creation in accordance with one or more embodiments described herein. The various steps depicted below may be performed by the backup service (see, e.g., FIGS. 1A and 1B). Furthermore, while the various steps in the flowchart are presented and described sequentially, one of ordinary skill in the art will understand that some or all of the steps may be performed in different orders, combined, or omitted, and that some or all of the steps may be performed in parallel. In Fig. 3A, in step 300, target asset backup metadata for a target asset accessible therethrough is received from an asset source (see, e.g., Figs. 1A and 1C). In one or more embodiments described herein, the target asset backup metadata may represent a response to a pre-backup job submitted to the asset source by the backup service. Further, the target asset backup metadata may set a set of lists—the set of lists may in turn include: a slice skip directory list (if any) for each of the plurality of target asset slices created from the target asset; a slice skip file list (if any) for each of the plurality of target asset slices created from the target asset; and / or a slice non-skip file list (if any) for each of the plurality of target asset slices created from the target asset. In step 302, the target asset backup metadata (received in step 300) for the target asset is analyzed to obtain the above-mentioned set of lists for each of the multiple target asset slices created from the target asset. A subset of the subsequent steps (i.e., steps 304, 306, 308, 310, 316, 318, 320, 322, and 324) relates to, and is therefore performed on, each target asset slice of the plurality of target asset slices created from the target asset (for which target asset backup metadata was received in step 300). In step 302, following parsing (in step 302) the target asset backup metadata (received in step 300), it is determined whether the set of lists for the target asset disc (obtained in step 302) includes a disc skip directory list (as described below). If, in one or more embodiments described herein, it is determined that the set of lists for the target asset disc includes a disc skip directory list, the method proceeds to step 306. On the other hand, in one or more other embodiments described herein, if, alternatively, it is determined that the set of lists for the target asset disc excludes a disc skip directory list, then the method proceeds to step 316 (see, e.g., Fig. 3B). In one or more embodiments described herein, the slice skip directory list may refer to a document (e.g., a JavaScript Object Notation (JSON) file, a Comma Separated Values (CSV) file, a Yet Another Markup Language (YAML) file, etc.) configured to include object metadata for any number of anomalous directories identified in the target inventory slice. Further, the object metadata for any anomalous directory may include: an object path indicating the file system location of the given anomalous directory; a number or cardinality of child objects (e.g., subdirectories and / or files) (if any) contained within the given anomalous directory; and at least one reason (see, e.g., Figs. 2A-2C) justifying skipping the given anomalous directory in current / future backup operation(s). Returning to the method, in step 306, following the determination in step 304 that the list set (set in step 302) for the target asset slice includes a slice skip directory list, a slice directory exclusion object is created for the target asset slice. In one or more embodiments described herein, the slice directory exclusion object may refer to a data container or data structure configured to maintain the slice skip directory list. In step 308, a backup exclusion rule is created based on the disk directory exclusion object (created in step 306). In one or more embodiments described herein, the backup exclusion rule may refer to a rule (or filter) configured to exclude the anomalous directory represented by the disk directory exclusion object from all current and / or future backup operations related to at least the target asset. In step 310, a source backup policy for an inventory source is adapted using the backup exclusion rule (created in step 308). In one or more embodiments described herein, the source backup policy may refer to a set of rules and procedures describing a strategy for protecting (e.g., across any number of backup operations) enterprise information (or at least a portion thereof) maintained in the inventory source, where the target inventory may be accessible via the inventory source. Further, the source backup policy may be adapted, for example, by incorporating the backup exclusion rule therein, which enforces the exclusion of the anomalous directory (associated with the backup exclusion rule) from all current and / or future backup operations that relate to at least the target inventory. Subsequently, after step 310, the method proceeds to step 316 (see, for example, Fig. 3B). Referring to Fig. 3B, in step 316, following the alternative determination (in step 304) that the list set for the target asset disc (obtained in step 302) excludes a disc skip directory list, or following the adaptation of a source backup policy (in step 310) for a source, it is determined whether the list set for the target asset disc includes a disc skip file list (as described below). If, in one or more embodiments described herein, it is determined that the list set for the target asset disc includes a disc skip file list, the method proceeds to step 318. If, in one or more embodiments described herein, it is alternatively determined that the list set for the target asset disc does not include a disc skip file list, the method proceeds to step 324 (described further below). In one or more embodiments described herein, the slice skip file list may refer to a document (e.g., a JavaScript Object Notation (JSON) file, a Comma Separated Values (CSV) file, a Yet Another Markup Language (YAML) file, etc.) configured to include the object metadata for any number of anomalous files identified in the target inventory slice. Further, the object metadata for any anomalous file may include: an object path specifying a file system location of the given anomalous file; an object type (i.e., file type, format, and / or extension) associated with the given anomalous file; and at least one reason (see, e.g., Figs. 2A-2C) justifying skipping the given anomalous file in current / future backup operation(s). Returning to the method, in step 318, following the determination (determined in step 316) that the list set for the target asset disc (obtained in step 302) includes a disc skip file list, a disc file exclusion object is created for the target asset disc. In one or more embodiments described herein, the disc file exclusion object may refer to a data container or data structure configured to maintain the disc skip file list. In step 320, a backup exclusion rule is created based on the slice file exclusion object (created in step 318). In one or more embodiments described herein, the backup exclusion rule may refer to a rule (or filter) configured to exclude the anomalous file represented by the slice file exclusion object from all current and / or future backup operations related to at least the target volume. In step 322, a source backup policy for an asset source is customized using the backup exclusion rule (created in step 320). In one or more embodiments described herein, the source backup policy may refer to a set of rules and procedures describing a strategy for protecting (e.g., across any number of backup operations) enterprise information (or at least a portion thereof) maintained in the asset source, where the target asset may be accessible via the asset source. Further, the source backup policy may be customized, e.g., by incorporating the backup exclusion rule therein, which would enforce the exclusion of the anomalous file (associated with the backup exclusion rule) from all current and / or future backup operations that relate to at least the target asset. Following step 322, the method proceeds to step 324 (described below). In step 324, a slice file inclusion object is created for the target inventory slice using the slice non-skip file list (contained in the list set obtained in step 302). In one or more embodiments described herein, the slice file inclusion object may refer to a data container or data structure configured to maintain the slice non-skip file list. Subsequently, after step 324, the method proceeds to step 330 (see, for example, Fig. 3C ). In Fig. 3C, in step 330, following the creation of a slice file inclusion object (in step 324) for each of a plurality of target asset slices of the target asset, a target asset backup object is created. In one or more embodiments described herein, the backup object for the target asset may refer to a container for storing any scalable amount of unstructured information relevant to a successful backup of the target asset.The unstructured information may accordingly include: the disk directory exclusion object (if created in step 306) for each target asset disk of the plurality of target asset disks of the target asset; the disk file exclusion object (if created in step 318) for each target asset disk of the plurality of target asset disks of the target asset; and the disk file inclusion object (created in step 324) for each target asset disk of the plurality of target asset disks of the target asset. In step 332, the target asset backup object (created in step 330) is provisioned or otherwise transferred to the target asset of the asset source (from which the target asset backup metadata was received in step 300). Fig. 4 shows an exemplary computer system in accordance with one or more embodiments described herein. The computer system (400) may include one or more computer processors (402), non-persistent memory (404) (e.g., volatile memory such as random access memory (RAM), cache memory), persistent storage (406) (e.g., a hard drive, an optical drive such as a compact disk drive (CD) or a digital variable disk drive (DVD), flash memory, etc.), a communications interface (412) (e.g., Bluetooth interface, infrared interface, network interface, optical interface, etc.), input devices (410), output devices (408), and numerous other elements (not shown) and functionalities. Each of these components is described below. In one or more embodiments described herein, the computer processor(s) (402) may be an integrated circuit for processing instructions. For example, the computer processor(s) may be one or more cores or microcores of a central processing unit (CPU) and / or a graphics processing unit (GPU). The computing system (400) may also include one or more input devices (410), such as a touchscreen, a keyboard, a mouse, a microphone, a touchpad, an electronic pen, or any other type of input device. Further, the communications interface (412) may include an integrated circuit for connecting the computing system (400) to a network (not shown) (e.g., a local area network (LAN), a wide area network (WAN) such as the Internet, a cellular network, or another type of network) and / or to another device, such as another computing device. In one or more embodiments described herein, the computing system (400) may include one or more output devices (408), such as a screen (e.g., a liquid crystal display (LCD), a plasma display, a touchscreen, a cathode ray tube (CRT) monitor, a projector, or other display device), a printer, external storage, or other output device. One or more of the output devices may be the same as or different from the input device(s). The input and output device(s) may be connected locally or remotely to the computer processor(s) (402), the non-persistent memory (404), and the persistent memory (406). There are many different types of computing devices, and the aforementioned input and output device(s) may take other forms. Software instructions in the form of computer-readable program code for carrying out the embodiments described herein may be stored, in whole or in part, temporarily or permanently, on a non-transitory computer-readable medium such as a CD, DVD, storage device, floppy disk, tape, flash memory, physical memory, or other computer-readable storage medium. In particular, the software instructions may correspond to computer-readable program code that, when executed by one or more processors, is configured to carry out one or more embodiments described herein. While the technology has been described with respect to a limited number of embodiments, those skilled in the art having this disclosure will recognize that other embodiments may be developed that do not depart from the scope of the embodiments described herein. Accordingly, the scope of the embodiments described herein should be limited only by the appended claims.

Claims

A method for exclusion rule creation, the method comprising: identifying a target inventory; for at least one target inventory slice of a plurality of target inventory slices, partitioning the target inventory: identifying an anomalous target inventory slice object; adding object metadata for the anomalous target inventory slice object to a slice skip list; and generating a backup exclusion rule based on the slice skip list. The method of claim 1, wherein the target inventory is selected from a group comprising local storage, a network attached storage (NAS) share, a virtual machine, and a database application. The method of claim 1, wherein the anomalous target inventory disk object is a directory. The method of claim 3, wherein the object metadata comprises an object path specifying a file system location of the directory in the target repository; a number of child objects within the directory; and a reason for justifying addition of the directory to the disk skip list. The method of claim 1, wherein the anomalous target inventory disk object is a file. The method of claim 5, wherein the object metadata comprises:an object path specifying a file system location of the file in the target repository;a file type of the file; anda reason for justifying addition of the file to the disc skip list. The method of claim 1, wherein the method further comprises:for the at least one target inventory slice of the plurality of target inventory slices, partitioning the target inventory:adapting, using the backup exclusion rule, a source backup policy associated with an inventory source through which the target inventory is accessible. A non-transitory computer-readable medium (CRM) comprising computer-readable program code that, when executed by a computer processor, enables the computer processor to perform a method of exclusion rule creation, the method comprising:identifying a target asset;partitioning the target asset for at least one target asset slice of a plurality of target asset slices;identifying an anomalous target asset slice object;adding object metadata for the anomalous target asset slice object to a slice skip list; andgenerating a backup exclusion rule based on the slice skip list. Non-transitory CRM according to claim 8 , wherein the target asset is selected from a group comprising local storage, a network attached storage (NAS) share, a virtual machine, and a database application. The non-transitory CRM of claim 8, wherein the anomalous target inventory disk object is a directory. The non-transitory CRM of claim 10, wherein the object metadata comprises: an object path specifying a file system location of the directory in the target repository; a number of child objects within the directory; and a reason justifying adding the directory to the disc skip list. The non-transitory CRM of claim 8, wherein the anomalous target inventory disk object is a file. The non-transitory CRM of claim 12, wherein the object metadata comprises: an object path specifying a file system location of the file in the target repository; a file type of the file; and a reason justifying adding the file to the disc skip list. The non-transitory CRM of claim 8, wherein the method further comprises:for the at least one target inventory slice of the plurality of target inventory slices partitioning the target inventory:adapting, using the backup exclusion rule, a source backup policy associated with an inventory source through which the target inventory is accessible. A system, the system comprising:a target repository;an repository source through which the target repository is accessible, and comprising:a first computer processor configured to perform, at least in part, a method of exclusion rule creation, the method comprising:identifying the target repository;for at least one target repository slice of a plurality of target repository slices, partitioning the target repository:identifying an anomalous target repository slice object; andadding object metadata for the anomalous target repository slice object to a slice skip list;anda backup service operatively connected to the inventory source and comprising:a second computer processor configured to receive at least the slice skip list from the inventory source and at least partially perform the exclusion rule generation method, the method further comprising:for the at least one target inventory slice of the plurality of target inventory slices partitioning the target inventory;generating a backup exclusion rule based on the slice skip list; The system of claim 15, wherein the target inventory is selected from a group comprising local storage, a network attached storage (NAS) share, a virtual machine, and a database application. The system of claim 15, wherein the anomalous target inventory disk object is a directory. The system of claim 17, wherein the object metadata comprises: an object path specifying a file system location of the directory in the target repository; a number of child objects within the directory; and a reason justifying adding the directory to the disc skip list. The system of claim 15, wherein the anomalous target inventory disk object is a file. The system of claim 19, wherein the object metadata comprises:an object path specifying a file system location of the file in the target repository;a file type of the file; anda reason justifying adding the file to the disc skip list.