# US 2012/0254117 A1 · Reducing a Backup Time of a Backup of Data Files

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

- Number: US 2012/0254117 A1
- Document ID: US20120254117A1
- Status: Published application
- Kind: A1
- Application number: 13/078,413
- Filed: 2011-04-01
- Published: 2012-10-04
- Earliest claimed: 2011-04-01
- Assignees: International Business Machines Corporation
- Inventors: Gregory T. Kishi; Sven Oehme
- Web page: https://patentgrep.com/patent/US20120254117A1

## CPC

- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1464: {for networked environments}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A mechanism is provided for reducing the backup time of data files from a memory. Data files are pre-staged by identifying the data files in the memory to be backed up to a backup storage system, sorting the data files by size thereby forming a set of small data files and a set of large data files, and copying the set of small data files to a cache while leaving the set of large data files in a disk subsystem. The set of small data files are then backed-up from the cache and the set of large data files are backed-up from the disk subsystem to a backup storage system. Thus, the time required to backup the set of small data files from the cache is performed at a faster rate as compared to backing up the set of large data files from the disk subsystem.

## Claims

### Claim 1

A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
pre-stage the data files by further executing computer readable program that causes the computing device to:
identify the data files in the memory to be backed up to a backup storage system;
sort the data files by size, thereby forming a set of small data files and a set of large data files; and
copy the set of small data files to a cache within the memory while leaving the set of large data files in a disk subsystem within the memory; and
back up the set of small data files from the cache and the set of large data files from the disk subsystem to a backup storage system, wherein a time required to backup the set of small data files from the cache is performed at a faster rate as compared to backing up the set of large data files from the disk subsystem due in a reduction in access time required to access each of the small data files.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the pre-staging is performed in response to a notification from backup mechanism that a backup of the memory is imminent.

### Claim 3 (depends on 1)

The computer program product of claim 1, wherein the set of small data files are copied to the cache based on size starting with the smallest data file first.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the computer readable program further causes the computing device to:
determine whether one or more of the set of large data files are resident within the cache;
responsive to the existence of one or more large data files residing within the cache, write the one or more large data files to the disk subsystem; and
remove the one or more large data files from the cache, thereby making room for the set of small data files.

### Claim 5 (depends on 1)

The computer program product of claim 1, wherein the computer readable program further causes the computing device to:
determine whether one or more of the set of small data files reside within the cache; and
responsive to one or more small data files existing within the cache, ignore the copying of the one or more small data files existing within the cache from the disk subsystem.

### Claim 6 (depends on 1)

The computer program product of claim 1, wherein only a subset of the data files are to be backed up to the backup storage system, thereby forming a set of marked data files and a set of unmarked data files.

### Claim 7 (depends on 6)

The computer program product of claim 6, wherein the computer readable program further causes the computing device to:
determine whether any of the set of unmarked data files are resident within the cache;
responsive to the existence of one or more unmarked data files within the cache, write the one or more unmarked data files to the disk subsystem; and
remove the one or more unmarked data files from the cache, thereby making room for the set of small data files.

### Claim 8 (depends on 6)

The computer program product of claim 6, wherein only marked data files in the set of marked data files that have been modified since a last backup and any new marked data files are backed up to the backup storage system.

### Claim 9

A method, in a data processing system, for reducing the backup time of data files from a memory, the method comprising:
pre-staging, by a processor in the data processing system, the data files by:
identifying, by the processor, the data files in the memory to be backed up to a backup storage system;
sorting, by the processor, the data files by size, thereby forming a set of small data files and a set of large data files; and
copying, by the processor, the set of small data files to a cache within the memory while leaving the set of large data files in a disk subsystem within the memory; and
backing up, by the processor, the set of small data files from the cache and the set of large data files from the disk subsystem to a backup storage system, wherein a time required to backup the set of small data files from the cache is performed at a faster rate as compared to backing up the set of large data files from the disk subs stem due to a reduction in access time required to access each of the small data files.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
determining, by the processor, whether one or more of the set of large data files are resident within the cache;
responsive to the existence of one or more large data files residing within the cache, writing, by the processor, the one or more large data files to the disk subsystem; and
removing, by the processor, the one or more large data files from the cache, thereby making room for the set of small data files.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
determining, by the processor, whether one or more of the set of small data files reside within the cache; and
responsive to one or more small data files existing within the cache, ignoring, by the processor, the copying of the one or more small data files existing within the cache from the disk subsystem.

### Claim 12 (depends on 9)

The method of claim 9, wherein only a subset of the data files are to be backed up to the backup storage system, thereby forming a set of marked data files and a set of unmarked data files.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
determining, by the processor, whether any of the set of unmarked data files are resident within the cache;
responsive to the existence of one or more unmarked data files within the cache, writing, by the processor, the one or more unmarked data files to the disk subsystem; and
removing, by the processor, the one or more unmarked data files from the cache, thereby making room for the set of small data files.

### Claim 14 (depends on 12)

The method of claim 12, wherein only marked data files in the set of marked data files that have been modified since a last backup and any new marked data files are backed up to the backup storage system.

### Claim 15

An apparatus, comprising:
a processor; and
a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to:
pre-stage the data files by further executing computer readable program that causes the computing device to:
identify the data files in the memory to be backed up to a backup storage system;
sort the data files by size, thereby forming a set of small data files and a set of large data files; and
copy the set of small data files to a cache within the memory while leaving the set of large data files in a disk subsystem within the memory; and
back up the set of small data files from the cache and the set of large data files from the disk subsystem to a backup storage system, wherein a time required to backup the set of small data files from the cache is performed at a faster rate as compared to backing up the set of large data files from the disk subsystem due to a reduction in access time required to access each of the small data files.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the instructions further cause the processor to:
determine whether one or more of the set of large data files are resident within the cache;
responsive to the existence of one or more large data files residing within the cache, write the one or more large data files to the disk subsystem; and
remove the one or more large data files from the cache, thereby making room for the set of small data files.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the instructions further cause the processor to:
determine whether one or more of the set of small data files reside within the cache; and
responsive to one or more small data files existing within the cache, ignore the copying of the one or more small data files existing within the cache from the disk subsystem.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein only a subset of the data files are to be backed up to the backup storage system, thereby forming a set of marked data files and a set of unmarked data files.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the instructions further cause the processor to:
determine whether any of the set of unmarked data files are resident within the cache;
responsive to the existence of one or more unmarked data files within the cache, write the one or more unmarked data files to the disk subsystem; and
remove the one or more unmarked data files from the cache, thereby making room for the set of small data files.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein only marked data files in the set of marked data files that have been modified since a last backup and any new marked data files are backed up to the backup storage system.
