# US 2022/0291859 A1 · Cloud-native cross-environment restoration

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

- Number: US 2022/0291859 A1
- Document ID: US20220291859A1
- Status: Published application
- Kind: A1
- Application number: 17/200,205
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Kasten, Inc.
- Applicants: Kasten, Inc.
- Inventors: Aaron H. ALPAR; Thomas MANVILLE; Eric William HAMILTON; Vaibhav KAMRA; Niraj TOLIA
- Web page: https://patentgrep.com/patent/US20220291859A1

## CPC

- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 11/1448: {Management of the data involved in backup or backup restore}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 8/63: {Image based installation; Cloning; Build to order}
- G06F 8/76: Adapting program code to run in a different environment; Porting
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- 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

Disclosed herein are system, method, and computer program product embodiments for transforming backups of applications. An embodiment operates by extracting a resource snapshot into memory. The resource snapshot is formatted in a first configuration. An embodiment performs a transformation on the resource snapshot, thereby transforming the resource snapshot from the first configuration to a second configuration for an environment into which the resource snapshot is being restored. The transformation is made up of a set of operations. One of the operations includes a regular expression. Once the transformation is complete, the resource snapshot is restored to the environment based on the second configuration.

## Claims

### Claim 1

A method for restoring an application, comprising:
extracting, by a processor, a resource snapshot into a memory, wherein the resource snapshot is formatted in a first configuration for a first environment and comprises the application;
performing, by the processor, a transformation comprising a set of operations on the resource snapshot, thereby transforming the resource snapshot from the first configuration to a second configuration for a second environment, wherein performing an operation from the set of operations comprises:
selecting, using a regular expression, at least a portion of a path in the resource snapshot or a at least a portion of a value in the path in the resource snapshot; and
applying the operation using the at least a portion of the path in the resource snapshot or the at least a portion of the value in the path in the resource snapshot; and
restoring, by the processor, the application to the second environment from the resource snapshot based on the second configuration.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining, by the processor, that performance of the transformation succeeded; and
wherein restoring the application to the second environment comprises restoring the application to the second environment in response to determining that the performance of the transformation succeeded.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining that the performance of the transformation succeeded comprises determining, using at least one test operation, that the resource snapshot is formatted in the second configuration.

### Claim 4 (depends on 1)

The method of claim 1, wherein another operation from the set of operations in the transformation includes a path reference or a value reference with a wildcard character.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, by the processor, a selection of the second environment;
detecting, by the processor, the second configuration for the second environment; and
outputting, by the processor, a description of the second configuration to a user.

### Claim 6 (depends on 5)

The method of claim 5, wherein detecting the second configuration comprises detecting, using at least one test operation, one or more paths of the second configuration in the second environment.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, by the processor, a selection of the second environment;
detecting, by the processor, the second configuration for the second environment; and
selecting, by the processor, the transformation based on the second configuration.

### Claim 8 (depends on 7)

The method of claim 7, wherein detecting the second configuration comprises detecting, using at least one test operation, one or more paths of the second configuration in the second environment.

### Claim 9

A system, comprising:
a processor; and
memory communicatively coupled to the processor, wherein the memory stores instructions configured to, when executed, causes the processor to:
extract a resource snapshot into the memory, wherein the resource snapshot is formatted in a first configuration for a first environment and comprises an application;
perform a transformation comprising a set of operations on the resource snapshot, thereby transforming the resource snapshot from the first configuration to a second configuration for a second environment, wherein an operation from the set of operations comprises:
selecting, using a regular expression, at least a portion of a path in the resource snapshot or a at least a portion of a value in the path in the resource snapshot; and
applying the operation using the at least a portion of the path in the resource snapshot or the at least a portion of the value in the path in the resource snapshot; and
restore the application to the second environment from the resource snapshot based on the second configuration.

### Claim 10 (depends on 9)

The system of claim 9, wherein the instructions are further configured to:
determine that performance of the transformation succeeded; and
wherein restoring the application to the second environment comprises restoring the application to the second environment in response to determining that the performance of the transformation succeeded.

### Claim 11 (depends on 10)

The system of claim 10, wherein the instructions are further configured to determine that the performance of the transformation succeeded comprises determining, using at least one test operation, that the resource snapshot is formatted in the second configuration.

### Claim 12 (depends on 9)

The system of claim 9, wherein another operation from the set of operations in the transformation includes a path reference or a value reference with a wildcard character.

### Claim 13 (depends on 9)

The system of claim 9, wherein the instructions are further configured to:
receive a selection of the second environment;
detect the second configuration for the second environment; and
output a description of the second configuration to a user.

### Claim 14 (depends on 13)

The system of claim 13, wherein the instructions are further configured to detect, using at least one test operation, one or more paths of the second configuration in the second environment.

### Claim 15 (depends on 9)

The system of claim 9, wherein the instructions are further configured to:
receive a selection of the second environment;
detect the second configuration for the second environment; and
select the transformation based on the second configuration.

### Claim 16 (depends on 15)

The system of claim 15, wherein the instructions are further configured to detect, using at least one test operation, one or more paths of the second configuration in the second environment.

### Claim 17

A non-transitory computer readable storage medium having computer readable code thereon, the non-transitory computer readable storage medium including instructions configured to cause a computer system to perform operations, comprising:
extracting a resource snapshot into a memory, wherein the resource snapshot is formatted in a first configuration for a first environment and comprises an application;
performing a transformation comprising a set of operations on the resource snapshot, thereby transforming the resource snapshot from the first configuration to a second configuration for a second environment, wherein an operation from the set of operations comprises:
selecting, using a regular expression, at least a portion of a path in the resource snapshot or a at least a portion of a value in the path in the resource snapshot; and
applying the operation using the at least a portion of the path in the resource snapshot or the at least a portion of the value in the path in the resource snapshot; and
restoring the application to the second environment from the resource snapshot based on the second configuration.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, the operations further comprising:
determining, using at least one test operation, that performance of the transformation succeeded, wherein the at least one test operation detects that the resource snapshot is formatted in the second configuration; and
wherein restoring the application to the second environment comprises restoring the application to the second environment in response to determining that the performance of the transformation succeeded.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein another operation from the set of operations in the transformation includes a path reference or a value reference with a wildcard character.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, the operations further comprising:
receiving a selection of the second environment;
detecting, using at least one test operation, the second configuration for the second environment, wherein the at least one test operation detects one or more paths of the second configuration in the second environment; and
outputting a description the second configuration to a user.
