# US 2021/0240582 A1 · Extended recovery of a database exported to a native database recovery environment

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

- Number: US 2021/0240582 A1
- Document ID: US20210240582A1
- Status: Published application
- Kind: A1
- Application number: 16/777,130
- Filed: 2020-01-30
- Published: 2021-08-05
- Earliest claimed: 2020-01-30
- Assignees: Rubrik, Inc.
- Applicants: Rubrik, Inc.
- Inventors: Snehal Arvind Khandkar; Yongbing Guo; Udbhav Prasad; Ganesh Karuppur Rajagopalan; Pandian Raju
- Web page: https://patentgrep.com/patent/US20210240582A1

## CPC

- G06F 11/1469: {Backup restoration techniques}
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1484: {involving virtual machines}
- G06F 11/2069: {Management of state, configuration or failover}
- G06F 16/182: Distributed file systems
- G06F 2201/80: Database-specific techniques
- G06F 2201/82: Solving problems relating to consistency
- 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

Systems and methods extending recovery of a database exported to a native database recovery environment are described. The system includes a native database recovery environment including a source host that communicates a database from a source to a backup host operating in a foreign database recovery environment. The backup host utilizes foreign snapshot files and foreign incremental files for storing the database in the foreign database recovery environment. The source host receives file information and script information, via directories, over the network, from the backup host. The file information includes native snapshot files and native incremental files. The scripts, executing at the source node, restore the database based on the native snapshot files, recover the database based on the native incremental files to the point-in-time, cause an identification of changes to the database after the point-in-time, and cause a recovering of the database based on the changes to the database after the point-in-time.

## Claims

### Claim 1

A system comprising:
at least one processor and memory having instructions that, when executed, cause the at least one processor to perform operations comprising:
communicating a database from a source host operating in a native database recovery environment, the database being communicated to a backup host operating in a foreign database recovery environment, the foreign database recovery environment including foreign snapshot files and foreign incremental files that are utilized for storing the database;
receiving file information and script information, via directories, over a network, at the source host, the file information and the script information being received from the backup host, the backup host utilizing foreign snapshot files and foreign incremental files for storing the database in the foreign database recovery environment, the file information including native snapshot files and native incremental files, the scripts executing, at the source host, to perform operations including:
restoring the database based on the native snapshot files;
recovering the database based on the native incremental files to a point-in-time;
causing an identification of changes to the database after the point-in-time; and
causing a recovering of the database based on the changes to the database after the point-in-time:

### Claim 2 (depends on 1)

The system of claim 1, wherein the instructions cause the at least one processor to perform operations that further comprise:
backing up the database, at the backup host, by utilizing foreign incremental files and not foreign snapshot files after the recovering the database to the point-in-time.

### Claim 3 (depends on 1)

The system of claim 1, wherein the scripts include a first script that is based on a first template selected from a plurality of templates; and
wherein the first template includes plug-in value information that is initialized on the backup host; and
wherein the plug-in value information includes the point-in-time and a database name identifying the database.

### Claim 4 (depends on 1)

The system of claim 1, wherein the native snapshot files include snapshots of the database and the native incremental files include incremental changes to the database.

### Claim 5 (depends on 1)

The system of claim 1, wherein the receiving the directories at the source host includes utilizing a network file system protocol to receive the directories at the source host.

### Claim 6 (depends on 1)

The system of claim 1, wherein the restoring the database includes utilizing a control file including a physical structure of the database including a database name.

### Claim 7 (depends on 1)

The system of claim 1, wherein the database is a standalone database and the source host includes a single node.

### Claim 8 (depends on 6)

The system of claim 6, wherein the source host comprises a plurality of nodes that store a cluster database; and
wherein the plurality of nodes includes a first node and additional nodes; and
wherein the restoring the database includes restoring the database on the first node; and
wherein the recovering the database includes recovering the database on the first node.

### Claim 9 (depends on 8)

The system of claim 8, wherein the instructions causing the at least one processor to perform operations further comprise:
opening instances of the database on the additional nodes; and
copying the database from the first node to the additional nodes.

### Claim 10

A method comprising:
communicating a database from a source host operating in a native database recovery environment, the database being communicated to a backup host operating in a foreign database recovery environment, the foreign database recovery environment including foreign snapshot files and foreign incremental files that are utilized for storing the database, the communicating being performed by one or more processors;
receiving file information and script information, via directories, over a network, at the source host, the file information and the script information being received from the backup host, the backup host utilizing foreign snapshot files and foreign incremental files for storing the database in the foreign database recovery environment, the file information including native snapshot files and native incremental files, the scripts executing, at the source host, to perform operations including:
restoring the database based on the native snapshot files;
recovering the database based on the native incremental files to a point-in- time;
causing an identification of changes to the database after the point-in-time; and
causing a recovering of the database based on the changes to the database after the point-in-time.

### Claim 11 (depends on 10)

The method of claim 10, further comprising backing up the database, at the backup host, by utilizing foreign incremental files and not foreign snapshot files after the recovering the database to the point-in-time.

### Claim 12 (depends on 10)

The method of claim 10, wherein the scripts include a first script that is based on a first template selected from a plurality of templates; and
wherein the first template includes plug-in value information that is initialized on the backup host; and
wherein the plug-in value information includes the point-in-time and a database name identifying the database.

### Claim 13 (depends on 10)

The method of claim 10, wherein the native snapshot files include snapshots of the database and the native incremental files include incremental changes to the database.

### Claim 14 (depends on 10)

The method of claim 10, wherein the receiving the directories at the source host includes utilizing a network file system protocol to receive the directories at the source host.

### Claim 15 (depends on 10)

The method of claim 10, wherein the restoring the database includes utilizing a control file including a physical structure of the database including a database name.

### Claim 16 (depends on 10)

The method of claim 10, wherein the database is a standalone database and the backup host includes a first node including a backup node.

### Claim 17 (depends on 10)

The method of claim 10, wherein the backup host comprises a plurality of nodes that stores a cluster database; and
wherein the plurality of nodes includes a first node and additional nodes; and
wherein the restoring the database includes restoring the database on the first node; and
wherein the recovering the database includes recovering the database on the first node.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
opening instances of the database on the additional nodes; and
copying the database from the first node to the additional nodes.

### Claim 19

A machine-storage medium and storing a set of instructions that, when executed by at least one processor, causes a machine to perform operations comprising:
communicating a database from a source host operating in a native database recovery environment, the database being communicated to a backup host operating in a foreign database recovery environment, the foreign database recovery environment including foreign snapshot files and foreign incremental files that are utilized for storing the database;
receiving file information and script information, via directories, over a network, at the source host, the file information and the script information being received from the backup host, the backup host utilizing foreign snapshot files and foreign incremental files for storing the database in the foreign database recovery environment, the file information including native snapshot tiles and native incremental files, the scripts executing, at the source host, to perform operations including:
restoring the database based on the native snapshot files;
recovering the database based on the native incremental files to a point-in-time;
causing an identification of changes to the database after the point-in-time; and
causing a recovering of the database based on the changes to the database after the point-in-time.

### Claim 20 (depends on 19)

The machine-storage medium of claim 19, wherein the instructions cause the at least one processor to perform operations that further comprise:
backing up the database, at the backup host, by utilizing foreign incremental files and not foreign snapshot files after the recovering the database to the point-in-time.
