IP Library Granted Patent US 11,609,828
Granted Patent B2
US 11,609,828 · App. 16/777,001 · Granted Mar 21, 2023

Utilizing a tablespace to export to a native database recovery environment

Inventors: Snehal Arvind Khandkar (Palo Alto, CA); Yongbing Guo (Saratoga, CA); Udbhav Prasad (Mountain View, CA)
Assignee: Rubrik, Inc.
G06F11/1469G06F16/2282G06F16/27G06F2201/80G06F2201/82G06Q10/0838
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,609,828
App. No.
16/777,001
Filed
Jan 30, 2020
Granted
Mar 21, 2023
Kind
B2
Examiner
WOO, ISAAC M
Art Unit
2163
USPC
707/675
Abstract

Systems and methods to utilize a tablespace to export to a native database recovery environment are described. The system receives file information and script information at a source host that operates in a native database recovery environment. The file information and the script information are received from a backup host that utilizes foreign snapshot files and foreign incremental files for storing the file information. The file information includes native snapshot files and native incremental files. The script information includes one or more scripts that execute, at the source host, to perform operations comprising: mounting the directories; opening an auxiliary database; restoring a tablespace in the auxiliary database; recovering the tablespace in the auxiliary database based on the native incremental files; exporting the tablespace metadata information from the auxiliary database; recovering the tablespace in the database based on the tablespace metadata information; and unmounting the directories.

Claims (58)

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, at a source 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 that execute, at the source host, to further perform operations comprising:

mounting the directories;

opening an auxiliary database;

restoring a tablespace in the auxiliary database based on the native snapshot files and a tablespace identifier identifying the tablespace;

recovering the tablespace in the auxiliary database based on the native incremental files, the recovery including application of incremental changes to the auxiliary database to recover the tablespace in the auxiliary database to a point-in-time that was selected at the backup host;

exporting tablespace metadata information from the auxiliary database;

recovering the tablespace in a database based on the tablespace metadata information; and

unmounting the directories.

2. The system of claim 1 , wherein the recovering the tablespace in the database based on the tablespace metadata information further comprises:

importing the tablespace metadata information into the database;

restoring the tablespace in the database based on the native snapshot files and the tablespace identifier; and

recovering the tablespace in the database based on the native incremental files and the tablespace identifier, the recovery including application of the incremental changes to the database to recover the tablespace to the point-in-time that was selected.

3. The system of claim 1 , wherein the database includes a wholesale distribution database and wherein the tablespace includes a shipping table and wherein the shipping table includes a plurality of rows of shipping information.

4. 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 image of the database and wherein the incremental changes include transactions.

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

6. The system of claim 1 , wherein the restoring the tablespace in the auxiliary database includes restoring the auxiliary database based on a native control file.

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

8. The system of claim 1 , wherein the source host comprises a plurality of nodes that store a cluster database.

9. 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 source host; and

automatically discovering the database on the source host.

10. A method comprising:

receiving file information and script information, over a network, via directories, at a source 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 receiving the file information and the script information being performed by at least one processor, the script information including scripts that execute, at the source host, to further perform operations comprising:

mounting the directories;

opening an auxiliary database;

restoring a tablespace in the auxiliary database based on the native snapshot files and a tablespace identifier identifying the tablespace;

recovering the tablespace in the auxiliary database based on the native incremental files, the recovery including application of incremental changes to the auxiliary database to recover the tablespace in the auxiliary database to a point-in-time that was selected at the backup host;

exporting tablespace metadata information from the auxiliary database;

recovering the tablespace in a database based on the tablespace metadata information; and

unmounting the directories.

11. The method of claim 10 , wherein the recovering the tablespace in the database based on the tablespace metadata information further comprises:

importing the tablespace metadata information into the database;

restoring the tablespace in the database based on the native snapshot files and the tablespace identifier; and

recovering the tablespace in the database based on the native incremental files and the tablespace identifier, the recovery including application of the incremental changes to the database to recover the tablespace to the point-in-time that was selected.

12. The method of claim 10 , wherein the database includes a wholesale distribution database and wherein the tablespace includes a shipping table and wherein the shipping table includes a plurality of rows of shipping information.

13. 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 image of the database and wherein the incremental changes include transactions.

14. The method of claim 10 , wherein the receiving the file information and the script information, via the directories, at the source host includes utilizing a network file method protocol to receive the file information and script information, via the directories, at the source host.

15. The method of claim 10 , wherein the restoring the tablespace in the auxiliary database includes restoring the auxiliary database based on a native control file.

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

17. The method of claim 10 , wherein the source host comprises a plurality of nodes that store a cluster database.

18. The method of claim 10 , further comprising:

receiving a backup agent at the source host; and

automatically discovering the database on the source host.

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, at a source 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 that execute, at the source host, to further perform operations comprising:

mounting the directories;

opening an auxiliary database;

restoring a tablespace in the auxiliary database based on the native snapshot files and a tablespace identifier identifying the tablespace;

recovering the tablespace in the auxiliary database based on the native incremental files, the recovery including application of incremental changes to the auxiliary database to recover the tablespace in the auxiliary database to a point-in-time that was selected at the backup host;

exporting tablespace metadata information from the auxiliary database;

recovering the tablespace in a database based on the tablespace metadata information; and

unmounting the directories.

20. The machine-storage medium of claim 19 , wherein the recovering the tablespace in the database based on the tablespace metadata information further comprises:

importing the tablespace metadata information into the database;

restoring the tablespace in the database based on the native snapshot files and the tablespace identifier; and

recovering the tablespace in the database based on the native incremental files and the tablespace identifier, the recovery including application of the incremental changes to the database to recover the tablespace to the point-in-time that was selected.

Assignments (3)
RELEASE OF SECURITY INTEREST IN PATENT COLLATERAL AT REEL/FRAME NO. 60333/0323 Recorded Jun 13, 2025
From: GOLDMAN SACHS BDC, INC., AS COLLATERAL AGENT
To: RUBRIK, INC.
Reel/Frame 071565/0602 →
GRANT OF SECURITY INTEREST IN PATENT RIGHTS Recorded Jun 10, 2022
From: RUBRIK, INC.
To: GOLDMAN SACHS BDC, INC., AS COLLATERAL AGENT
Reel/Frame 060333/0323 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 6, 2020
From: KHANDKAR, SNEHAL ARVIND; GUO, YONGBING; PRASAD, UDBHAV
To: RUBRIK, INC.
Reel/Frame 052037/0014 →
Continuity (1)
Related Publication 20210240579A1 · Aug 5, 2021
Cited By (8)
US 12,481,638 US 12,517,865 US 12,572,559 US 12,613,857 US 12,657,097 US 12,693,939 US 12,693,999 US 12,699,685