# US 10,956,389 B2 · File transfer system using file backup times

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

- Number: US 10,956,389 B2
- Document ID: US10956389B2
- Status: Granted
- Kind: B2
- Application number: 16/389,269
- Filed: 2019-04-19
- Published: 2019-08-08
- Granted: 2021-03-23
- Earliest claimed: 2015-03-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: David N. Clissold; Itzhack Goldberg; Su Liu; Neil Sondhi
- Web page: https://patentgrep.com/patent/US10956389B2

## CPC

- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- 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/178: Techniques for file synchronisation in file systems
- G06F 2201/83: the solution involving signatures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present invention provide a system and method for synchronizing data to update backup files. In one embodiment, data associated with files to be synchronized is sent to a second computer system by a first computers system. The second computer system matches data associated with the files to be synchronized to a database, and the first computer system determines differences between an old and new version of the files to be synchronized and creates a backup of the files. The backup of the files is stored in a storage device.

## Claims

### Claim 1

A method comprising:
responsive to receiving a confirmation of a first synchronization of a first plurality of files of a first file system corresponding with a second plurality of files of a second file system, wherein individual files of the first plurality of files and the second plurality of files include a first metadata field and a second metadata field, one or more processors modifying a mounting of the first file system to disable recording of data to the first metadata field of the first plurality of files;
responsive to receiving a request of a second synchronization, one or more processors remounting the first file system, and enabling recording of data to the first metadata field of the first plurality of files;
one or more processors identifying files of the first plurality of files to synchronize with corresponding files of the second plurality of files, based on a timestamp recorded in the second metadata field being more recent than a timestamp recorded in the first metadata field of the first plurality of files;
one or more processors sending to the second file system, identification of the files of the first plurality of files to synchronize with the corresponding files of the second plurality of files, and initiating the second synchronization between the identified files of the first plurality of files and the corresponding files of the second plurality of files; and
responsive to receiving a confirmation of the second synchronization of the identified first plurality of files with the corresponding file s of the second plurality of files, one or more processors modifying the remounting of the first file system to disable recording data to the first metadata field of the first plurality of files.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in response to enabling recording of data to the first metadata field of the first plurality of files of the first file system, one or more processors updating the first metadata field of the first plurality of files with a timestamp corresponding to the second synchronization of the files of the first plurality of files with the corresponding files of the second plurality of files, wherein the first metadata field is an access date metadata field.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
in response to a modification of a file of the first plurality of files of the first file system, one or more processors updating the second metadata field of the file with a timestamp corresponding to the modification made and saved, wherein the second metadata field is a modify metadata field.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first metadata field and the second metadata field are included in an index node (inode) of a file of the first plurality of files and the second plurality of files.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first synchronization and the second synchronization are performed using a modified RSync backup utility using an access metadata field to include a timestamp of a synchronization of a file of the first plurality of files with a corresponding file of the second plurality of files.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first metadata field and the second metadata field are selected from the group of metadata fields consisting of: mode, link and block counts, owner user ID (UID), group ID (GID), size, access date, modify date, and create/change date.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first metadata field is an access metadata field designated as st_atime and the second metadata field is a modify metadata field designated as st_mtime.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first metadata field is disabled during the first file system remount utilizing a mount -o noatime/dev/sdb2/sdb2 option command.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first metadata field is re-enabled during the first file system remount utilizing a mount -o remount/dev/sdb2 mount -o noatime/dev/sdb2/sdb2 option command.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first file system and the second file system are Portable Operating System Interface (POSIX) compliant file systems.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first metadata field is added as a new metadata field to the first plurality of files and the second plurality of files.

### Claim 12

A computer program product comprising:
a computer readable storage medium and program instructions stored on the computer readable storage medium, the program instructions comprising:
responsive to receiving a confirmation of a first synchronization of a first plurality of files of a first file system corresponding with a second plurality of files of a second file system, wherein individual files of the first plurality of files and the second plurality of files include a first metadata field and a second metadata field, program instructions to modify the mounting of the first file system to disable recording of data to the first metadata field of the first plurality of files;
responsive to receiving a second synchronization request, program instructions to remount the first file system, and enable recording of data to the first metadata field of the first plurality of files;
program instructions to identify files of the first plurality of files to synchronize with corresponding files of the second plurality of files, based on a timestamp recorded in the second metadata field being more recent than a timestamp recorded in the first metadata field of the first plurality of files;
program instructions to send to the second file system, identification of the files of the first plurality of files to synchronize with the corresponding files of the second plurality of files, and initiate the second synchronization between the identified files of the first plurality of files and the corresponding files of the second plurality of files; and
responsive to receiving a confirmation of the second synchronization of the identified first plurality of files with the corresponding files of the second plurality of files, program instructions to modify the remounting of the first file system to disable recording data to the first metadata field of the first plurality of files.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the first file system is configured such that the first metadata field of the first plurality of files is an access date metadata field, and is updated with a timestamp in response to synchronization of a file of the first plurality of files with a corresponding file of the second plurality of files, and the second metadata field is a modify metadata field and is updated with a timestamp when a file of the first plurality of files is modified and saved.

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein the first synchronization and the second synchronization are performed using a modified RSync backup utility using an access metadata field to include a timestamp of a synchronization of a file of the first plurality of files with a corresponding file of the second plurality of files.

### Claim 15 (depends on 12)

The computer program product of claim 12, wherein the first metadata field and the second metadata field are selected from the group of metadata fields consisting of: mode, link and block counts, owner user ID (UID), group ID (GID), size, access date, modify date, and create/change date.

### Claim 16

A computer system comprising:
one or more computer processors;
one or more computer readable storage media; and
program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
responsive to receiving a confirmation of a first synchronization of a first plurality of files of a first file system corresponding with a second plurality of files of a second file system, wherein individual files of the first plurality of files and the second plurality of files include a first metadata field and a second metadata field, program instructions to modify the mounting of the first file system to disable recording of data to the first metadata field of the first plurality of files;
responsive to receiving a second synchronization request, program instructions to remount the first file system, and enable recording of data to the first metadata field of the first plurality of files;
program instructions to identify files of the first plurality of files to synchronize with corresponding files of the second plurality of files, based on a timestamp recorded in the first metadata field being more recent than a timestamp recorded in the second metadata field of the first plurality of files;
program instructions to send to the second file system identification of the files of the first plurality of files to synchronize with the corresponding files of the second plurality of files, and initiate the second synchronization between the identified files of the first plurality of files and the corresponding files of the second plurality of files; and
responsive to receiving a confirmation of the second synchronization of the identified first plurality of files with the corresponding files of the second plurality of files, program instructions to modify the remounting of the first file system to disable recording data to the first metadata field of the first plurality of files.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the first file system is configured such that the first metadata field of the first plurality of files is an access date metadata field, and is updated with a timestamp in response to synchronization of a file of the first plurality of files with a corresponding file of the second plurality of files, and the second metadata field is a modify metadata field and is updated with a timestamp when a file of the first plurality of files is modified and saved.

### Claim 18 (depends on 16)

The computer system of claim 16, wherein the first metadata field and the second metadata field are included in an index node (inode) of a file of the first plurality of files and the second plurality of files.

### Claim 19 (depends on 16)

The computer system of claim 16, wherein the first metadata field is an access metadata field designated as st_atime and the second metadata field is a modify metadata field designated as st_mtime, the first metadata field is disabled during the first file system remount utilizing a mount -o noatime/dev/sdb2/sdb2 option command, and the first metadata field is re-enabled during the first file system remount utilizing a mount -o remount/dev/sdb2 mount -o noatime/dev/sdb2/sdb2 option.

### Claim 20 (depends on 16)

The computer system of claim 16, wherein the first metadata field is added as a new metadata field to the first plurality of files and the second plurality of files.
