# US 2017/0249220 A1 · Generic file level restore from a block-level secondary copy

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

- Number: US 2017/0249220 A1
- Document ID: US20170249220A1
- Status: Published application
- Kind: A1
- Application number: 15/459,979
- Filed: 2017-03-15
- Published: 2017-08-31
- Earliest claimed: 2012-08-13
- Assignees: Commvault Systems, Inc.
- Applicants: Commvault Systems, Inc.
- Inventors: Paramasivam KUMARASAMY; Amit MITKAR; Andrei EROFEEV; Durga Prasad CHEDALAVADA; Suma SESHADRI; Varghese DEVASSY
- Web page: https://patentgrep.com/patent/US20170249220A1

## CPC

- G06F 11/1489: using recovery blocks
- 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/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/10: File systems; File servers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are provided which perform a file level restore by utilizing existing operating system components (e.g., file system drivers) that are natively installed on the target computing device. These components can be used to mount and/or interpret a secondary copy of the file system. For instance, the system can instantiate an interface object (e.g., a device node such as a pseudo device, device file or special file) on the target client which includes file system metadata corresponding to the backed up version of the file system. The interface provides a mechanism for the operating system to mount the secondary copy and perform file level access on the secondary copy, e.g., to restore one or more selected files.

## Claims

### Claim 1

(canceled)

### Claim 2

A method for restoring data, comprising:
with a first computing device residing in a data storage system,
using an interface object to obtain file system metadata corresponding to a block-level secondary copy, the block-level secondary copy including a plurality of files stored across a plurality of blocks on one or more secondary storage devices;
processing the obtained file system metadata with a processor of the first computing device to mount the block-level secondary copy onto the first computing device;
in response to a request to restore at least one first file of the plurality of files of the block-level secondary copy, using the interface object to request a read from the one or more secondary storage devices of one or more first blocks of the plurality of blocks, the first blocks corresponding to the first file,
wherein the interface object initiates retrieval of the one or more first blocks from the one or more secondary storage devices, and
wherein the first file is copied, using the one or more first blocks, to one or more primary storage devices associated with the first computing device.

### Claim 3 (depends on 2)

The method of claim 2, wherein the interface object comprises one or more of a pseudo device, a device file, and a special file.

### Claim 4 (depends on 2)

The method of claim 2, wherein said using the interface object to request the read comprises making a standard system read call.

### Claim 5 (depends on 2)

The method of claim 2, wherein a second computing device in communication with the one or more secondary storage devices retrieves the one or more first blocks and forwards the one or more first blocks to the first computing device.

### Claim 6 (depends on 2)

The method of claim 2, further comprising generating data for displaying a graphical representation of the secondary copy.

### Claim 7 (depends on 2)

The method of claim 2, wherein the file system metadata includes a superblock and said processing comprises processing the superblock.

### Claim 8 (depends on 2)

The method of claim 2, further comprising instantiating the interface object on the first computing device.

### Claim 9 (depends on 2)

The method of claim 2, wherein a file system driver performs said using the interface object to obtain the file system metadata, performs said processing the obtained file system metadata, and performs said using the interface object to request the read.

### Claim 10 (depends on 9)

The method of claim 9, wherein the file system driver corresponds to a first file system type and wherein the file system metadata of the block-level secondary copy is of the first file system type.

### Claim 11 (depends on 2)

The method of claim 2, wherein the retrieved one or more first blocks include a data block that corresponds to at least one second file of the secondary copy, the method further comprising, subsequent to retrieval of the data block, storing the data block in a memory associated with the first computing device.

### Claim 12 (depends on 11)

The method of claim 11 further comprising, with the first computing device:
determining in conjunction with a request to read the at least one second file that the at least one second file is cached in the memory associated with the first computing device; and
retrieving the at least one second file from the memory associated with the first computing device,
wherein the retrieved at least one second file is copied to the primary storage devices.

### Claim 13

A system, comprising:
a first computing device; and
an interface object instantiated as software on the first computing device, the interface object facilitating access by the first computing device to a block-level secondary copy of file system data,
wherein the first computing device is configured to:
use the interface object to obtain file system metadata corresponding to the block-level secondary copy, the block-level secondary copy representing a plurality of files stored across a plurality of blocks on one or more secondary storage devices;
process the obtained file system metadata to mount the block-level secondary copy onto the first computing device;
in response to a request to restore at least one first file of the plurality of files of the block-level secondary copy, request from the one or more secondary storage devices one or more first blocks of the plurality of blocks, the first blocks corresponding to the first file,
wherein the one or more first blocks are retrieved from secondary storage and copied to primary storage associated with the first computing device.

### Claim 14 (depends on 13)

The system of claim 13, wherein the interface object comprises one or more of a pseudo device, a device file, and a special file.

### Claim 15 (depends on 13)

The system of claim 13, wherein a media agent module executing on a second computing device and in communication with the one or more secondary storage devices is configured, in response to the request to retrieve the first blocks, to retrieve the first blocks from the one or more secondary storage devices, and to forward the first blocks to the first computing device.

### Claim 16 (depends on 13)

The system of claim 13, wherein the first computing device is further configured to generate data for displaying a graphical representation of the secondary copy.

### Claim 17 (depends on 13)

The system of claim 13, wherein the file system metadata includes a superblock and the first computing device processes the superblock to mount the block-level secondary copy.

### Claim 18 (depends on 14)

The system of claim 14, wherein a file system driver executing on the first computing system is configured to perform the using of the interface object to obtain the file system metadata, to perform the processing of the obtained file system metadata, and to perform the requesting from the one or more secondary storage devices of the one or more first blocks.

### Claim 19 (depends on 18)

The system of claim 18, wherein the interface object generates a request to retrieve the one or more first blocks in response to the file system driver making a standard system read call for the at least one first file.

### Claim 20 (depends on 18)

The system of claim 18, wherein the file system driver corresponds to a first file system type, and wherein the file system data of the block-level secondary copy is of the first file system type.

### Claim 21 (depends on 13)

The system of claim 13 wherein the retrieved one or more first blocks include a data block that corresponds to at least one second file of the mounted secondary copy, and wherein the first computing system is further configured to, subsequent to retrieval of the data block, store the data block in a memory associated with the first computing device.

### Claim 22 (depends on 21)

The system of claim 21 wherein the first computing device is further configured to:
determine in conjunction with a request to read the at least one second file that the at least one second file is cached in the memory associated with the first computing device; and
retrieve the at least one second file from the memory associated with the first computing device.

### Claim 23

Non-transitory computer storage comprising instructions which, when executed, direct a computer system coupled to the computer storage to perform a method comprising:
with a first computing device residing in a data storage system,
using an interface object to obtain file system metadata corresponding to a block-level secondary copy, the block-level secondary copy including a plurality of files stored across a plurality of blocks on one or more secondary storage devices;
processing the obtained file system metadata with a processor of the first computing device to mount the block-level secondary copy onto the first computing device;
in response to a request to restore at least one first file of the plurality of files of the block-level secondary copy, using the interface object to request a read from the one or more secondary storage devices of one or more first blocks of the plurality of blocks, the first blocks corresponding to the first file,
wherein the interface object initiates retrieval of the one or more first blocks from the one or more secondary storage devices, and
wherein the first file is copied, using the one or more first blocks, to one or more primary storage devices associated with the first computing device.
