# US 2019/0294505 A1 · Object store for database backups

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

- Number: US 2019/0294505 A1
- Document ID: US20190294505A1
- Status: Published application
- Kind: A1
- Application number: 15/926,310
- Filed: 2018-03-20
- Published: 2019-09-26
- Earliest claimed: 2018-03-20
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Henrik Hempelmann; Martin Brunzema; Robin Wissbrock; Stefan Voss; Andre Schefe
- Web page: https://patentgrep.com/patent/US20190294505A1

## CPC

- G06F 11/1448: {Management of the data involved in backup or backup restore}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1464: {for networked environments}
- G06F 16/21: Design, administration or maintenance of databases
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/23: Updating
- G06F 16/258: {Data format conversion from or to a database}
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- 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

The disclosure generally describes methods, software, and systems for performing automatic backups to the cloud. Application code in a database system updates rows and columns in the database for an updated object, and automatically performs a backup of database information to the cloud. Performing the backup includes directly executing a REST call to the cloud storage solution to which the backup of the database information is performed. Performing the backup includes: sending a request, using a REST call, to create a new object in the cloud storage solution; in response to receiving an acknowledgement of a successful creation of the new object, sending, to the cloud storage solution, REST PUT calls that include contents of the object for the cloud storage solution to store into the created new object; receiving, from the cloud storage solution, a specific key identifying the backup; and locally storing the specific key.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, at a database system, an update to an object in a database managed by the database system;
updating, by application code in the database system and using the received update, rows and columns in the database for the updated object; and
automatically performing, by the application code in the database system and based at least on the applicable rows and columns, a backup of database information to a cloud storage solution, the backup including at least the updated object, wherein automatically performing the backup includes directly executing, by the database system, a REpresentational State Transfer (REST) call to the cloud storage solution to which the backup of the database information is performed, wherein performing the backup includes:
sending a request, using a REST call, to create a new object in the cloud storage solution;
in response to receiving an acknowledgement of a successful creation of the new object, sending, to the cloud storage solution, REST PUT calls that include contents of the object for the cloud storage solution to store into the created new object;
receiving, from the cloud storage solution, a specific key identifying the backup; and
locally storing the specific key.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
performing, by the database system, a recovery of the backed-up information, the performing comprising:
identifying a recovery need or request for the backed-up information;
in response to identifying the recovery need or request, identifying an identifier associated with the backed-up information;
providing, to the cloud storage solution and using a REST call, a request for the backed-up information, the request including the identifier associated with the backed-up information;
receiving, from the cloud storage solution in a response to the request, the backup of the database information; and
updating the database system using the received response.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein performing the backup comprises:
dividing the database object into portions that are operable to be processed in parallel; and
directly executing, by the database system and in parallel for each particular portion of database object, a REST call to the cloud storage solution for the particular portion of the databased object.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising receiving, from the cloud storage solution upon a successful backup at the cloud storage solution, a key that uniquely identifies the backup.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising storing the unique key by the database system in the database, wherein storing the unique key includes storing a name and an entity tag (ETag).

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the database system is an in-memory database system.

### Claim 7 (depends on 2)

The computer-implemented method of claim 2, wherein the request specifies a particular ETag of a dataset to be restored.

### Claim 8

A system comprising:
memory storing:
tables storing data used by a database system; and
a cloud storage index identifying data of the database system that has been backed up to the cloud; and
a server performing operations comprising:
receiving, at a database system, an update to an object in a database managed by the database system;
updating, by application code in the database system and using the received update, rows and columns in the database for the updated object; and
automatically performing, by the application code in the database system and based at least on the applicable rows and columns, a backup of database information to a cloud storage solution, the backup including at least the updated object, wherein automatically performing the backup includes directly executing, by the database system, a REST call to the cloud storage solution to which the backup of the database information is performed, wherein performing the backup includes:
sending a request, using a REST call, to create a new object in the cloud storage solution;
in response to receiving an acknowledgement of a successful creation of the new object, sending, to the cloud storage solution, REST PUT calls that include contents of the object for the cloud storage solution to store into the created new object;
receiving, from the cloud storage solution, a specific key identifying the backup; and
locally storing the specific key.

### Claim 9 (depends on 8)

The system of claim 8, the operations further comprising:
performing, by the database system, a recovery of the backed-up information, the performing comprising:
identifying a recovery need or request for the backed-up information;
in response to identifying the recovery need or request, identifying an identifier associated with the backed-up information;
providing, to the cloud storage solution and using a REST call, a request for the backed-up information, the request including the identifier associated with the backed-up information;
receiving, from the cloud storage solution in a response to the request, the backup of the database information; and
updating the database system using the received response.

### Claim 10 (depends on 8)

The system of claim 8, wherein performing the backup comprises:
dividing the database object into portions that are operable to be processed in parallel; and
directly executing, by the database system and in parallel for each particular portion of database object, a REST call to the cloud storage solution for the particular portion of the databased object.

### Claim 11 (depends on 8)

The system of claim 8, the operations further comprising receiving, from the cloud storage solution upon a successful backup at the cloud storage solution, a key that uniquely identifies the backup.

### Claim 12 (depends on 11)

The system of claim 11, the operations further comprising storing the unique key by the database system in the database, wherein storing the unique key includes storing a name and an ETag.

### Claim 13 (depends on 8)

The system of claim 8, wherein the database system is an in-memory database system.

### Claim 14 (depends on 9)

The system of claim 9, wherein the request specifies a particular ETag of a dataset to be restored.

### Claim 15

A non-transitory computer-readable media encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
receiving, at a database system, an update to an object in a database managed by the database system;
updating, by application code in the database system and using the received update, rows and columns in the database for the updated object; and
automatically performing, by the application code in the database system and based at least on the applicable rows and columns, a backup of database information to a cloud storage solution, the backup including at least the updated object, wherein automatically performing the backup includes directly executing, by the database system, a REST call to the cloud storage solution to which the backup of the database information is performed, wherein performing the backup includes:
sending a request, using a REST call, to create a new object in the cloud storage solution;
in response to receiving an acknowledgement of a successful creation of the new object, sending, to the cloud storage solution, REST PUT calls that include contents of the object for the cloud storage solution to store into the created new object;
receiving, from the cloud storage solution, a specific key identifying the backup; and
locally storing the specific key.

### Claim 16 (depends on 15)

The non-transitory computer-readable media of claim 15, the operations further comprising:
performing, by the database system, a recovery of the backed-up information, the performing comprising:
identifying a recovery need or request for the backed-up information;
in response to identifying the recovery need or request, identifying an identifier associated with the backed-up information;
providing, to the cloud storage solution and using a REST call, a request for the backed-up information, the request including the identifier associated with the backed-up information;
receiving, from the cloud storage solution in a response to the request, the backup of the database information; and
updating the database system using the received response.

### Claim 17 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein performing the backup comprises:
dividing the database object into portions that are operable to be processed in parallel; and
directly executing, by the database system and in parallel for each particular portion of database object, a REST call to the cloud storage solution for the particular portion of the databased object.

### Claim 18 (depends on 15)

The non-transitory computer-readable media of claim 15, the operations further comprising receiving, from the cloud storage solution upon a successful backup at the cloud storage solution, a key that uniquely identifies the backup.

### Claim 19 (depends on 18)

The non-transitory computer-readable media of claim 18, the operations further comprising storing the unique key by the database system in the database, wherein storing the unique key includes storing a name and an ETag.

### Claim 20 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the database system is an in-memory database system.
