# US 2022/0283905 A1 · System and method for data deduplication using a backup data block

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

- Number: US 2022/0283905 A1
- Document ID: US20220283905A1
- Status: Published application
- Kind: A1
- Application number: 17/361,035
- Filed: 2021-06-28
- Published: 2022-09-08
- Earliest claimed: 2021-03-02
- Assignees: Druva Inc.
- Applicants: Druva Inc.
- Inventors: Sudhakar Paulzagade; Santosh Nanaji Patil
- Web page: https://patentgrep.com/patent/US20220283905A1

## CPC

- G06F 11/1453: {using de-duplication of the data}
- G06F 11/1469: {Backup restoration techniques}
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- 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 and a method for client-side deduplication system for a plurality of backup streams, generated by a backup and recovery client from a client database, is presented. The system includes a stream handler configured to generate a unique file name for an underlying file of each backup stream of the plurality of backup streams based on one or more data blocks in each backup stream. The system further includes a file creator configured to create a data file corresponding to each backup stream of the plurality of backup streams in a local cache of a client database server, wherein each data file has a file name corresponding to the unique file name generated by the stream handler. The client-system furthermore includes a dedupe module configured to dedupe subsequent backup streams based on the data files in the local cache.

## Claims

### Claim 1

A client-side deduplication system for a plurality of backup streams generated by a backup and recovery client from a client database, comprising:
a stream handler configured to generate a unique file name for an underlying file of each backup stream of the plurality of backup streams based on one or more data blocks in each backup stream;
a file creator configured to create a data file corresponding to each backup stream of the plurality of backup streams in a local cache of a client database server, wherein each data file has a file name corresponding to the unique file name generated by the stream handler; and
a dedupe module configured to dedupe subsequent backup streams based on the data files in the local cache.

### Claim 2 (depends on 1)

The client-side deduplication system of claim 1, wherein the stream handler is configured to generate the unique file name for an underlying file of a backup stream of the plurality of backup streams based on a database name, a database ID, and an inode number corresponding to the backup stream.

### Claim 3 (depends on 2)

The client-side deduplication system of claim 2, wherein the stream handler comprises:
a block reader configured to read a first block of the backup stream to identify a stream block size, the database ID, and number of meta blocks in the backup stream;
a dictionary block reader configured to:
read one or more subsequent blocks in the backup stream to identify a dictionary block, and
read a file number, a relative file number, and the database name from the identified dictionary block; and
a file name generator configured to:
generate the inode number based on the file number and the relative file number, and
generate the unique file name for the underlying file based on the database name, the database ID, and the inode number.

### Claim 4 (depends on 1)

The client-side deduplication system of claim 1, wherein the file creator is further configured to create a reference file corresponding to each backup stream of the plurality of backup streams in the local cache of the client database server, wherein the reference file is an empty file having a file name assigned by the backup and recovery client to the backup stream, and wherein the reference file comprises extended metadata containing the unique file name of the data file corresponding to the reference file.

### Claim 5 (depends on 4)

The client-side deduplication system of claim 4, wherein the file creator is further configured to create the reference file and the data file corresponding to each backup stream of the plurality of backup streams on a backup server.

### Claim 6 (depends on 1)

The client-side deduplication system of claim 1, wherein a backup stream of the plurality of backup streams comprises a data file, an archived log file, a control file, or an sp file.

### Claim 7 (depends on 1)

The client-side deduplication system of claim 1, wherein the client database is an Oracle database.

### Claim 8

A client-side deduplication system for a plurality of backup streams generated by a backup and recovery client from a client database, comprising:
a memory storing one or more processor-executable routines; and
a processor communicatively coupled to the memory, the processor configured to execute the one or more processor-executable routines to:
generate a unique file name for an underlying file of each backup stream of the plurality of backup streams based on one or more data blocks in each backup stream;
create a data file corresponding to each backup stream of the plurality of backup streams in a local cache of a client database server, wherein each data file has a file name corresponding to the unique file name; and
dedupe subsequent backup streams based on the data files in the local cache.

### Claim 9 (depends on 8)

The client-side deduplication system of claim 8, wherein the processor configured to execute the one or more processor-executable routines to generate the unique file name for an underlying file of a backup stream of the plurality of backup streams based on a database name, a database ID, and an inode number corresponding to the backup stream.

### Claim 10 (depends on 9)

The client-side deduplication system of claim 9, wherein the processor configured to execute the one or more processor-executable routines to:
read a first block of the backup stream to identify a stream block size, the database ID, and number of meta blocks in the backup stream;
read one or more subsequent blocks in the backup stream to identify a dictionary block,
read a file number, a relative file number, and the database name from the identified dictionary block;
generate the inode number based on the file number and the relative file number; and
generate the unique file name for the underlying file based on the database name, the database ID, and the inode number.

### Claim 11 (depends on 8)

The client-side deduplication system of claim 8, wherein the processor is further configured to execute the one or more processor-executable routines to create a reference file corresponding to each backup stream of the plurality of backup streams in the local cache of the client database server, wherein the reference file is an empty file having a file name assigned by the backup and recovery client to the backup stream, and wherein the reference file comprises extended metadata containing the unique file name of the data file corresponding to the reference file.

### Claim 12 (depends on 11)

The client-side deduplication system of claim 11, wherein the processor is further configured to execute the one or more processor-executable routines to create the reference file and the data file corresponding to each backup stream of the plurality of backup streams on a backup server.

### Claim 13 (depends on 8)

The client-side deduplication system of claim 8, wherein a backup stream of the plurality of backup streams comprises a data file, an archived log file, a control file, or an sp file.

### Claim 14

A method for client-side deduplication of a plurality of backup streams generated by a backup and recovery client from a client database, the method comprising:
generating a unique file name for an underlying file of each backup stream of the plurality of backup streams based on one or more data blocks in each backup stream;
creating a data file corresponding to each backup stream of the plurality of backup streams in a local cache of a client database server, wherein each data file has a file name corresponding to the unique file name; and
deduping subsequent backup streams based on the data files in the local cache.

### Claim 15 (depends on 14)

The method of claim 14, comprising generating the unique file name for an underlying file of a backup stream of the plurality of backup streams based on a database name, a database ID, and an inode number corresponding to the backup stream.

### Claim 16 (depends on 15)

The method of claim 15, wherein the step of generating the unique file name comprises:
reading a first block of the backup stream to identify a stream block size, the database ID, and number of meta blocks in the backup stream;
reading one or more subsequent blocks in the backup stream to identify a dictionary block,
reading a file number, a relative file number, and the database name from the identified dictionary block;
generating the inode number based on the file number and the relative file number, and
generating the unique file name for the underlying file based on the database name, the database ID, and the inode number.

### Claim 17 (depends on 14)

The method of claim 14, further comprising creating a reference file corresponding to each backup stream of the plurality of backup streams in the local cache of the client database server, wherein the reference file is an empty file having a file name assigned by the backup and recovery client to the backup stream, and wherein the reference file comprises extended metadata containing the unique file name of the data file corresponding to the reference file.

### Claim 18 (depends on 14)

The method of claim 14, further comprising creating the reference file and the data file corresponding to each backup stream of the plurality of backup streams on a backup server.

### Claim 19 (depends on 14)

The method of claim 14, wherein a backup stream of the plurality of backup streams comprises a data file, an archived log file, a control file, or an sp file.

### Claim 20 (depends on 14)

The method of claim 14, wherein the client database is an Oracle database.
