# US 2025/0328501 A1 · Techniques for block-order traversal of files

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0328501 A1
- Document ID: US20250328501A1
- Status: Published application
- Kind: A1
- Application number: 18/638,475
- Filed: 2024-04-17
- Published: 2025-10-23
- Earliest claimed: 2024-04-17
- Assignees: Rubrik, Inc.
- Applicants: Rubrik, Inc.
- Inventors: Abdullah Reza; Arjun Sinha; Ishaan Sang; Guilherme Vale Ferreira Menezes
- Web page: https://patentgrep.com/patent/US20250328501A1

## CPC

- G06F 16/1815: {Journaling file systems}
- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 16/148: {File search processing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and devices for data management are described. A data management system (DMS) may access a snapshot of a target client object to perform a block-order traversal of a set of files included in the snapshot. The DMS may generate an index file for the set of files based on a metadata associated with the snapshot, the index file including a mapping between a file path for each file and one or more properties of each file. The DMS may then read the set of files included in the snapshot using a sliding window in accordance with the mapping between the file path for each file and the one or more properties of each file, and may determine whether to generate an alert based on reading the set of files included in the snapshot.

## Claims

### Claim 1

A method by a data management system comprising:
accessing a snapshot of a target client object to perform a block-order traversal of a plurality of files included in the snapshot, wherein the plurality of files are stored to a computing disk of the data management system;
generating an index file for the plurality of files based at least in part on a metadata associated with the snapshot, the index file comprising a mapping between a file path for each file stored to a user-level file system and one or more properties of each file, the one or more properties comprising a physical extent map that maps one or more file blocks to a physical location of each file on the computing disk;
reading, from the computing disk and in accordance with performance of the block-order traversal, a plurality of sequentially-located physical extents for the plurality of files included in the snapshot using a sliding window in accordance with the mapping between the file path for each file and the one or more properties of each file that comprises the physical extent map; and
determining whether to generate an alert based at least in part on reading the plurality of files included in the snapshot.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
running an index job on one or more snapshots of the target client object;
creating a journal file for the snapshot of the target client object using one or more patch files based at least in part on running the index job;
mounting a user file system using the journal file and scanning the user file system to identify the one or more properties of each file;
writing the one or more properties of each file to the index file for the plurality of files; and
reading the journal file sequentially based at least in part on writing the one or more properties of each file to the index file, wherein reading the plurality of sequentially-located physical extents is in accordance with reading the journal file sequentially

### Claim 3 (depends on 1)

The method of claim 1, wherein reading the plurality of files further comprises:
reading a threshold number of bytes corresponding to a subset of files of the plurality of files from the snapshot starting from a start of a journal file, wherein the threshold number of bytes is configured by a user.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
identifying a path corresponding to each file of the subset of files from the index file for the plurality of files, wherein the subset of files have extents included in a memory buffer.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
reading the path corresponding to each file of the subset of files from the memory buffer.

### Claim 6 (depends on 3)

The method of claim 3, further comprising:
storing the threshold number of bytes in a memory buffer, wherein a size of the memory buffer corresponds to twice the threshold number of bytes.

### Claim 7 (depends on 3)

The method of claim 3, wherein a size of the sliding window comprises the threshold number of bytes.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining that at least one file cannot be read using the sliding window in accordance with the mapping between the file path for each file and the one or more properties of each file; and
reading the at least one file from a file system based at least in part on determining that the at least one file cannot be read using the sliding window.

### Claim 9 (depends on 1)

The method of claim 1, wherein the one or more properties comprise at least one of a file name, a file directory information, a file creation time, a file modification time, a file size or any combination thereof.

### Claim 10 (depends on 1)

The method of claim 1, wherein the alert indicates detection of a potential security threat on the plurality of files.

### Claim 11

An apparatus, comprising:
one or more memories storing processor-executable code; and
one or more processors coupled with the one or more memories and individually or collectively operable to execute the code to cause the apparatus to:
access, by a data management system, a snapshot of a target client object to perform a block-order traversal of a plurality of files included in the snapshot, wherein the plurality of files are stored to a computing disk of the data management system;
generate an index file for the plurality of files based at least in part on a metadata associated with the snapshot, the index file comprising a mapping between a file path for each file stored to a user-level file system and one or more properties of each file, the one or more properties comprising a physical extent map that maps one or more file blocks to a physical location of each file on the computing disk;
read, from the computing disk and in accordance with performance of the block-order traversal, a plurality of sequentially-located physical extents for the plurality of files included in the snapshot using a sliding window in accordance with the mapping between the file path for each file and the one or more properties of each file that comprises the physical extent map; and
determine whether to generate an alert based at least in part on reading the plurality of files included in the snapshot.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the one or more processors are individually or collectively further operable to execute the code to cause the apparatus to:
run an index job on one or more snapshots of the target client object;
create a journal file for the snapshot of the target client object using one or more patch files based at least in part on running the index job;
mount a user file system using the journal file and scanning the user file system to identify the one or more properties of each file;
write the one or more properties of each file to the index file for the plurality of files; and
read the journal file sequentially based at least in part on writing the one or more properties of each file to the index file, wherein reading the plurality of sequentially-located physical extents is in accordance with reading the journal file sequentially.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein, to read the plurality of files, the one or more processors are individually or collectively further operable to execute the code to cause the apparatus to:
read a threshold number of bytes corresponding to a subset of files of the plurality of files from the snapshot starting from a start of a journal file, wherein the threshold number of bytes is configured by a user.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the one or more processors are individually or collectively further operable to execute the code to cause the apparatus to:
identify a path corresponding to each file of the subset of files from the index file for the plurality of files, wherein the subset of files have extents included in a memory buffer.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are individually or collectively further operable to execute the code to cause the apparatus to:
read the path corresponding to each file of the subset of files from the memory buffer.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein the one or more processors are individually or collectively further operable to execute the code to cause the apparatus to:
store the threshold number of bytes in a memory buffer, wherein a size of the memory buffer corresponds to twice the threshold number of bytes.

### Claim 17 (depends on 13)

The apparatus of claim 13, wherein a size of the sliding window comprises the threshold number of bytes.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the one or more processors are individually or collectively further operable to execute the code to cause the apparatus to:
determine that at least one file cannot be read using the sliding window in accordance with the mapping between the file path for each file and the one or more properties of each file; and
read the at least one file from a file system based at least in part on determining that the at least one file cannot be read using the sliding window.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein the one or more properties comprise at least one of a file name, a file directory information, a file creation time, a file modification time, a file size or any combination thereof.

### Claim 20

A non-transitory computer-readable medium storing code, the code comprising instructions executable by one or more processors to:
access, by a data management system, a snapshot of a target client object to perform a block-order traversal of a plurality of files included in the snapshot, wherein the plurality of files are stored to a computing disk of the data management system;
generate an index file for the plurality of files based at least in part on a metadata associated with the snapshot, the index file comprising a mapping between a file path for each file stored to a user-level file system and one or more properties of each file, the one or more properties comprising a physical extent map that maps one or more file blocks to a physical location of each file on the computing disk;
read, from the computing disk and in accordance with performance of the block-order traversal, a plurality of sequentially-located physical extents for the plurality of files included in the snapshot using a sliding window in accordance with the mapping between the file path for each file and the one or more properties of each file that comprises the physical extent map; and
determine whether to generate an alert based at least in part on reading the plurality of files included in the snapshot.
