# US 2021/0240581 A1 · Exporting a database 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/0240581 A1
- Document ID: US20210240581A1
- Status: Published application
- Kind: A1
- Application number: 16/777,112
- 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/US20210240581A1

## CPC

- G06F 11/1469: {Backup restoration techniques}
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1464: {for networked environments}
- G06F 16/1824: {implemented using Network-attached Storage [NAS] architecture (distributed or networked storage systems G06F3/067; protocols for distributed storage of data in a network H04L67/1097)}
- G06F 16/1865: {Transactional file systems}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 11/1474: in transactions (updating of structured data in databases G06F16/23)
- 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

Systems and methods to export a database to a native database recovery, environment are described. The system includes a native database recovery environment that includes a target host. The target host receives file information and script information, over a network, via directories from a backup host. The backup host utilizes foreign snapshot files and foreign incremental files to store the file information in the foreign database recovery environment. The file information includes native snapshot files and native incremental files. The script information includes scripts that are executed by the target host in the native database recovery environment. The target host executes the scripts to mount the directories, open the database, restore the database, recover the database to a point-in-time, and unmount the directories.

## 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:
receiving file information and script information, over a network, via directories on a target host operating in a native database recovery environment, the file information and the script information being received from a backup host, the backup host utilizing foreign snapshot files and foreign incremental files for storing the file information, the file information including native snapshot files and native incremental files, the script information including scripts for recovering a database in the native database recovery environment, the database being exported from the foreign database recovery environment to the native database recovery environment for recovery in the native database recovery environment to a point-in-time;
the target host executing the scripts to perform operations comprising:
mounting the directories;
opening the database;
restoring the database based on the native snapshot files;
recovering the database based on the native incremental files, the recovering including applying incremental changes to the database to recover the database to the point-in-time; and
unmounting the directories.

### Claim 2 (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.

### Claim 3 (depends on 2)

The system of claim 2, wherein the first template includes plug-in value information that is initialized on the backup host.

### Claim 4 (depends on 1)

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

### Claim 5 (depends on 1)

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

### Claim 6 (depends on 1)

The system of claim 1, wherein the restoring the database includes restoring a native control file.

### Claim 7 (depends on 1)

The system of claim 1, wherein the database is a standalone database and the target host includes a first node including the target node.

### Claim 8 (depends on 1)

The system of claim 1, 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; and
wherein the instructions cause the at least one processor to perform operations further comprising:
opening additional instances of the database on at least one additional node of the plurality of nodes to form a cluster database; and
copying the database to the at least one additional node of the plurality of nodes.

### Claim 9 (depends on 1)

The system of claim 1, wherein the instructions cause the at least one processor to perform operations further comprising:
receiving a backup agent at the target host; and
automatically discovering the database on the target host.

### Claim 10

A method comprising:
receiving file information and script information, over a network, via directories on a target host operating in a native database recovery environment, the file information and the script information being received from a backup host, the backup host utilizing foreign snapshot files and foreign incremental files for storing the file information, the file information including native snapshot files and native incremental files, the script information including scripts for recovering a database in the native database recovery environment, the database being exported from the foreign database recovery environment to the native database recovery environment for recovery in the native database recovery environment to a point-in-time, the receiving being processed by one or more processors;
the target host executing the scripts to perform operations comprising:
mounting the directories;
opening the database;
restoring the database based on the native snapshot files;
recovering the database based on the native incremental files, the recovering including applying incremental changes to the database to recover the database to the point-in-time; and
unmounting the directories.

### Claim 11 (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.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first template includes plug-in value information that is initialized on the backup host.

### Claim 13 (depends on 10)

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

### Claim 14 (depends on 10)

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

### Claim 15 (depends on 10)

The method of claim 10, wherein the restoring the database includes restoring a native control file.

### 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 the backup node.

### Claim 17 (depends on 10)

The method of claim 10, wherein the backup 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 and further comprising:
opening additional instances of the database on at least one additional node of the plurality of nodes to form a cluster database; and
copying the database to the at least one additional node of the plurality of nodes.

### Claim 18 (depends on 10)

The method of claim 10, further comprising:
receiving a backup agent at the target host; and
automatically discovering the database on the target host.

### Claim 19

A machine-storage medium storing a set of instructions that, when executed by a processor, causes a machine to perform operations comprising:
receiving file information and script information, over a network, via directories on a target host operating in a native database recovery environment, the file information and the script information being received from a backup host, the backup host utilizing foreign snapshot files and foreign incremental files for storing the file information, the file information including native snapshot files and native incremental files, the script information including scripts for recovering a database in the native database recovery environment, the database being exported from the foreign database recovery environment to the native database recovery environment for recovery in the native database recovery environment to a point-in-time;
the target host executing the scripts to perform operations comprising:
mounting the directories;
opening the database;
restoring the database based on the native snapshot files;
recovering the database based on the native incremental files, the recovering including applying incremental changes to the database to recover the database to the point-in-time; and
unmounting the directories.

### Claim 20 (depends on 19)

The machine-storage medium of claim 19, wherein the scripts include a first script that is based on a first template selected from a plurality of templates.
