# US 11,119,865 B2 · Cross-application database restore

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

- Number: US 11,119,865 B2
- Document ID: US11119865B2
- Status: Granted
- Kind: B2
- Application number: 16/235,158
- Filed: 2018-12-28
- Published: 2019-07-18
- Granted: 2021-09-14
- Earliest claimed: 2015-01-21
- Assignees: Commvault Systems, Inc.
- Applicants: Commvault Systems, Inc.
- Inventors: Brahmaiah Vallabhaneni; Paramasivam Kumarasamy; Rahul S. Pawar; Henry Wallace Dornemann; Jun H. Ahn; Muthusamy Senthilnathan
- Web page: https://patentgrep.com/patent/US11119865B2

## CPC

- G06F 3/065: {Replication mechanisms}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0643: {Management of files}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F 11/1448: {Management of the data involved in backup or backup restore}
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1464: {for networked environments}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 16/113: {Details of archiving (lifecycle management in storage systems G06F3/0649; point-in-time backing up or restoration of persistent data G06F11/1446)}
- G06F 16/1727: {Details of free space management performed by the file system (saving storage space on storage systems G06F3/0608; management of blocks in storage devices G06F3/064)}
- G06F 16/1827: {Management specifically adapted to NAS (management of storage area networks [SAN] G06F3/067)}
- G06F 16/184: {implemented as replicated file system}
- G06F 16/214: {Database migration support}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/275: {Synchronous replication}
- G06F 2201/80: Database-specific techniques
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system according to certain aspects improves the process of restoring database objects and converting those objects into another database file format. According to certain aspects, a database file is backed up in a block-level fashion. Instead of restoring the entire backup file, which can consume a large amount of time and computing resources, the information management system may restore a particular database object from a backup database file that is stored as multiple blocks or other granular units. Then, the information management system can extract the desired data from the restored block(s). By using block-level mapping and storage techniques described herein, the system can restore a database object in a backup database file without restoring the entire backup database file, thereby speeding up restore operations and reducing consumption of storage and processing resources. In addition, the information management system can convert the blocks, using a staging memory, to another database file format as desired.

## Claims

### Claim 1

A system for retrieving and converting database data from one database application format to another database application format, the system comprising:
one or more computing devices comprising computer hardware configured to:
identify a subset of database data blocks which correspond to a first database object in a database file by consulting an index,
wherein the index compromises mapping information between database objects and corresponding application-level blocks;
issue a data retrieval request to retrieve a secondary copy of the subset of database data blocks from one or more secondary storage devices;
receive a request to forward the subset of database data blocks in a second database application format,
wherein the request includes one or more offsets in a database file corresponding to the database data blocks,
wherein the subset of database data blocks is stored in a first application database format on one or more secondary storage devices,
wherein the first application database format is different than the second database application format;
access a table that maps where the subset of database data blocks are located in the one or more secondary storage devices;
from the one or more secondary storage devices, retrieve the subset of database data blocks; and
forward the retrieved subset of data blocks to a computing device; the computing device configured to:
receive each of the retrieved subset of data blocks;
store the retrieved subset of data blocks in a staging memory;
convert at least some of the retrieved subset of data blocks to a second database application format before receiving other blocks of the retrieved subset of data blocks; and
forward the converted data blocks in a second database application format to a requester.

### Claim 2 (depends on 1)

The system of claim 1, wherein the retrieved subset of data blocks comprises multiple database objects.

### Claim 3 (depends on 1)

The system of claim 1, wherein converting the at least some of the retrieved subset of data blocks comprises the computing device forwarding the retrieved subset of data blocks from the staging memory to a second computing device to perform the converting.

### Claim 4 (depends on 1)

The system of claim 1, wherein the table is stored in an index associated with one or more secondary storage controller computers.

### Claim 5 (depends on 1)

The system of claim 1, wherein the system further comprises:
a first computing device comprising computer hardware and configured to:
receive an access request to access the first database object in the database file to use in a second database application.

### Claim 6 (depends on 5)

The system of claim 5, wherein the computing device is further configured to convert the at least some of the retrieved subset of data blocks to the second database application format at least in part by:
extracting application-level blocks included in the at least some of the retrieved subset of data blocks which correspond to the first database object based on the one or more offsets indicating the first database object; and
converting the identified application-level blocks to format usable by the second database application.

### Claim 7 (depends on 5)

The system of claim 5, wherein the first computing device is further configured to present the secondary copy of the database file as a file system in a user interface, and wherein the request to access the first database object is generated in response to selection of the first database object in the user interface.

### Claim 8 (depends on 1)

The system of claim 1, wherein the one or more secondary storage devices include one or more tapes.

### Claim 9

A method of converting database data from one database application format to another database application format, the method comprising:
using one or more computing devices comprising computer hardware:
identifying a subset of database data blocks which correspond to a first database object in a database file by consulting an index,
wherein the index compromises mapping information between database objects and corresponding application-level blocks;
issuing a data retrieval request to retrieve a secondary copy of the subset of database data blocks from one or more secondary storage devices;
receiving a request to forward a subset of database data blocks in a second database application format,
wherein the request includes one or more offsets in a database file corresponding to the database data blocks,
wherein the subset of database data blocks is stored in a first application database format on one or more secondary storage devices,
wherein the first application database format is different than the second database application format;
accessing a table that maps where the subset of database data blocks are located in the one or more secondary storage devices;
from the one or more secondary storage devices, retrieving the subset of database data blocks;
forwarding the retrieved subset of data blocks to a computing device; using the computing device:
receiving each of the retrieved subset of data blocks;
storing the retrieved subset of data blocks in a staging memory;
converting at least some of the retrieved subset of data blocks to a second database application format before receiving other blocks of the retrieved subset of data blocks; and
forwarding the converted data blocks in a second database application format to a requester.

### Claim 10 (depends on 9)

The method of claim 9, wherein the retrieved subset of data blocks comprises multiple database objects.

### Claim 11 (depends on 9)

The method of claim 9, wherein converting the at least some of the retrieved subset of data blocks comprises the computing device forwarding the retrieved subset of data blocks from the staging memory to the second computing device to perform the converting.

### Claim 12 (depends on 9)

The method of claim 9, wherein the table is stored in an index associated with one or more secondary storage controller computers.

### Claim 13 (depends on 9)

The method of claim 9, wherein the method further comprises:
using a first computing device comprising computer hardware:
receiving an access request to access the first database object in the database file to use in a second database application.

### Claim 14 (depends on 13)

The method of claim 13, wherein the computing device is configured to convert the at least some of the retrieved subset of data blocks to the second database application format at least in part by:
extracting application-level blocks included in the at least some of the retrieved subset of data blocks which correspond to the first database object based on the one or more offsets indicating the first database object; and
converting the identified application-level blocks to format usable by the second database application.

### Claim 15 (depends on 13)

The method of claim 13, wherein the first computing device is further configured to present the secondary copy of the database file as a file system in a user interface, and wherein the request to access the first database object is generated in response to selection of the first database object in the user interface.

### Claim 16 (depends on 9)

The method of claim 9, wherein the one or more secondary storage devices include one or more tapes.
