# US 2021/0342304 A1 · Dynamically configuring a proxy server using containerization for concurrent and/or overlapping backup, restore, and/or test operations

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

- Number: US 2021/0342304 A1
- Document ID: US20210342304A1
- Status: Published application
- Kind: A1
- Application number: 17/377,902
- Filed: 2021-07-16
- Published: 2021-11-04
- Earliest claimed: 2016-11-16
- Assignees: Commvault Systems, Inc.
- Applicants: Commvault Systems, Inc.
- Inventors: Prashanth Nagabhushana Bangalore; Diptiman Basak; Girish Ramohalli Gopala Rao; Shankar Reddy Vullupala; Saamaja Vupputuri
- Web page: https://patentgrep.com/patent/US20210342304A1

## CPC

- G06F 16/172: Caching, prefetching or hoarding of files
- 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/2379: {Updates performed during online database operations; commit processing}
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An illustrative data storage management system relies on a specially configured proxy server to operate software containers on a proxy server, maintain resources needed by the software containers, and interwork with other system components. Illustratively, a catalog service on the proxy server maintains a software cache according to maintenance rules and also maintains an associated cache catalog. The software containers are generally managed and operated by an illustrative container manager also hosted by the proxy server. The illustrative software cache comprises contents needed by the software containers, such as pre-configured container templates, DBMS software components, lightervisors representing target operating systems, and storage management software for performing test and storage operations. The maintenance rules govern when cache contents should be purged and moved into offline archive copies.

## Claims

### Claim 1

A method associated with a data storage management system, the method comprising:
by a first client computing device, discovering a home directory for a first version of a database management software that executes on the first client computing device,
wherein the home directory comprises container-related contents for the first version of the database management software, including one or more of: (i) executable files of the first version of database management software, (ii) configuration files of the first version of database management software, and (iii) library files of the first version of database management software;
determining whether a software-cache configured on a proxy server comprises files that match the container-related contents for the first version of the database management software on the first client computing device, wherein the proxy server is distinct from the first client computing device;
based on determining that the software-cache on the proxy server lacks one or more files matching the container-related contents for the first version of the database management software,
initiating, by the proxy server, a backup operation of the home directory,
wherein the backup operation populates the software-cache with a copy of the container-related contents of the home directory;
creating, by the proxy server, a software-container comprising (a) container-related contents for the first version of the database management software obtained from the software-cache, (b) a data agent, and (c) a media agent;
by the proxy server, executing the software-container, wherein the first version of the database management software, the data agent, and the media agent execute therein; and
receiving by the data agent and the media agent executing in the software-container instructions to perform a storage operation on a source of database-data, wherein the instructions are received from a storage manager that manages the storage operation, and
wherein the storage operation connects the first version of the database management software executing in the software-container to the source of database-data.

### Claim 2 (depends on 1)

The method of claim 1 further comprising: updating a catalog which is associated with the software-cache, on the proxy server, to indicate when the container-related contents of the first version of the database management software were used to create the software-container.

### Claim 3 (depends on 1)

The method of claim 1 further comprising:
by the proxy server, determining whether an amount of storage space occupied by the software-cache exceeds a threshold;
based on determining that the threshold has been exceeded, applying one or more archiving rules to identify for archiving a set of contents stored in the software-cache; and
archiving the identified set of contents stored in the software-cache to one or more secondary storage devices in communication with the proxy server.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
determining, by the proxy server, whether an amount of storage space occupied by the software-cache passes a threshold;
based on determining that the threshold has been passed, applying one or more archiving rules to identify for archiving a set of contents stored in the software-cache, wherein the one or more archiving rules favor archiving lesser-used contents of the software-cache as compared to other contents of the software-cache; and
archiving the identified set of contents from the software-cache into respective secondary copies stored in one or more secondary storage devices in communication with the proxy server,
wherein a stub pointing to a respective secondary copy replaces the archived set of contents in the software-cache.

### Claim 5 (depends on 1)

The method of claim 1 further comprising:
determining, by the proxy server, whether an amount of storage space occupied by the software-cache passes a threshold;
based on determining that the threshold has been passed, identifying a set of contents stored in the software-cache, based on one or more of: when last-used in a software-container, how often used in software containers operating on the proxy server, a version number of the contents, and an age of a version of the contents; and
archiving the identified set of contents from the software-cache into respective secondary copies stored to one or more secondary storage devices in communication with the proxy server, thereby satisfying the threshold,
wherein a stub pointing to a respective secondary copy replaces the archived set of contents in the software-cache.

### Claim 6 (depends on 1)

The method of claim 1, wherein the determining whether the software-cache configured on the proxy server comprises files that match the container-related contents of the home directory is based on analyzing a catalog on the proxy server that comprises an index of contents of the software-cache.

### Claim 7 (depends on 1)

The method of claim 1, wherein the executing of the software-container comprises the data agent registering as a client with the storage manager to enable the storage operation to proceed.

### Claim 8 (depends on 1)

The method of claim 1, wherein the storage operation is a backup that generates a secondary copy of the source of database-data, and
wherein the secondary copy is stored by the media agent to a secondary storage device in communication with the proxy server.

### Claim 9 (depends on 1)

The method of claim 1, wherein the storage operation restores the source of database-data, which is a secondary copy stored in a secondary storage device in communication with the proxy server, to a format and location that are accessible as primary data to the first version of the database management software executing in the software-container on the proxy server.

### Claim 10 (depends on 1)

The method of claim 1, wherein the source of database-data is a clone of a snapshot of primary data residing within a logical volume configured on a storage device, and
wherein the clone is accessible as primary data to the first version of the database management software that executes in the software-container on the proxy server, and wherein the first client computing device lacks access to the clone.

### Claim 11

A method comprising:
receiving, by a proxy server, parameters for performing a first storage operation in a data storage management system,
wherein the parameters indicate: a first version of database management software, and a first data source for the first storage operation;
determining by the proxy server whether a software-cache configured at the proxy server comprises files that match container-related contents for the first version of the database management software according to a home directory for the first version of the database management software, wherein the home directory resides on a client computing device that is distinct from the proxy server;
based on determining that one or more files are lacking from the software-cache, initiating, by the proxy server, a backup of the home directory that populates the software-cache with the container-related contents for the first version of the database management software according to the home directory,
wherein the container-related contents comprise one or more of: (i) executable files of the first version of database management software, (ii) configuration files of the first version of database management software, and (iii) library files of the first version of database management software;
based on the parameters received for the first storage operation, creating by the proxy server a first software-container comprising: an instance of the first version of database management software, an instance of a data agent, and an instance of a media agent for accessing at least one of the first data source and a destination for data to be generated in the first storage operation;
activating the first software-container on the proxy server;
communicatively coupling the first data source with the instance of the first version of database management software executing in the activated first software-container; and
performing the first storage operation using the first data source,
wherein the first storage operation is performed at least in part by the instance of the first version of database management software, the instance of the data agent, and the instance of the media agent executing in the activated first software-container.

### Claim 12 (depends on 11)

The method of claim 11 further comprising:
by the instance of the data agent executing in the activated first software-container, registering as a first client with a storage manager that manages storage operations in the data storage management system; and
on completion of the first storage operation, de-registering as the first client by the data agent and destroying the first software-container by the proxy server.

### Claim 13 (depends on 11)

The method of claim 11, wherein the instance of the first version of database management software, the instance of the data agent, and the instance of the media agent used in the first software-container are obtained from the software-cache on the proxy server.

### Claim 14 (depends on 13)

The method of claim 13, wherein a catalog associated with the software-cache tracks contents of the software-cache and is updated to indicate when software-cache contents are used in a software-container on the proxy server.

### Claim 15 (depends on 11)

The method of claim 11 further comprising:
while the first software-container actively operates on the proxy server:
(a) activating a second software-container on the proxy server, comprising (i) a second instance of the first version of database management software, (ii) a second instance of the data agent, and (iii) a second instance of the media agent,
(b) registering as a second client with a storage manager, by the second instance of the data agent executing in the activated second software-container,
(c) communicatively coupling a second data source with the second instance of the first version of database management software executing in the activated second software-container, and
(d) performing a second storage operation using the second data source, wherein the first storage operation is performed at least in part by the second instance of the first version of database management software, the second instance of the data agent, and the second instance of the media agent executing in the activated second software-container, independently of the first software-container.

### Claim 16 (depends on 11)

The method of claim 11, wherein the instance of the data agent and the instance of the media agent are configured in a decoupled mode with an instance of storage management software in the first software-container until the first software-container is activated.

### Claim 17 (depends on 11)

The method of claim 11 further comprising:
determining whether the software-cache on the proxy server comprises a template for the first software-container that matches the parameters for performing the first storage operation; and
based on finding the template matching the parameters for performing the first storage operation in the software-cache, creating the first software-container from the template obtained from the software-cache.

### Claim 18 (depends on 11)

The method of claim 11, wherein the first software-container is based on a template obtained from the software-cache.

### Claim 19 (depends on 11)

The method of claim 11 further comprising:
determining whether the software-cache comprises a template for the first software-container comprising files that match the container-related contents of the home directory for the first version of the database management software; and
based on determining that the template is represented by a stub in the software-cache, initiating, by the proxy server, a restore operation of the template from an archive copy thereof stored in a secondary storage device in communication with the proxy server to populate the template into the software-cache.

### Claim 20 (depends on 19)

The method of claim 19 further comprising:
based on determining that the template is not found in the software-cache and further that a stub for the template also is not found in the software-cache,
initiating, by the proxy server, the backup of the home directory to populate the software-cache with container-related contents for the first version of the database management software.
