# US 2017/0293628 A1 · Space optimized snapshot for network backup

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

- Number: US 2017/0293628 A1
- Document ID: US20170293628A1
- Status: Published application
- Kind: A1
- Application number: 15/092,913
- Filed: 2016-04-07
- Published: 2017-10-12
- Earliest claimed: 2016-04-07
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Nir Adler; Boaz Harel
- Web page: https://patentgrep.com/patent/US20170293628A1

## CPC

- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 11/1453: {using de-duplication of the data}
- G06F 11/1464: {for networked environments}
- G06F 16/182: Distributed file systems
- 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

A system is described for backing-up a client device to a server using space-optimized snapshots. A snapshot is captured on the client device. The system determines which files of the snapshot are required to be uploaded to perform a backup. Thereafter, the system monitors the required files (and not other files) for write commands and directs write operations for the required files to be performed copy-on-write. After a required file is uploaded, the system stops monitoring the file and any copy-on-write data that may have been generated for the file is removed from the snapshot to conserve space. The process continues until all required files are uploaded.

## Claims

### Claim 1

A method, comprising:
capturing a snapshot of a client computing device, the snapshot including files that are stored on the client computing device;
determining a set of required files in the snapshot to be uploaded from the client device to a backup server for performing a backup of the client device;
for each required file in the snapshot,
monitoring the required file on the computing device, such that, if a write command for the required file is detected, the command is performed using a copy-on-write mechanism by writing to a copy of the required file; and
detecting when an upload of the required file to the server is complete; and
in response to detecting that the upload of the required file to the server is complete, discontinuing the monitoring of the required file, such that, subsequent write commands to the required file are not performed using the copy-on-write mechanism.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in response to detecting that the upload of the required file to the server is complete, determining whether the required file has been written to using the copy-on-write mechanism; and
if the required file has been written to using the copy-on-write mechanism, then deleting any corresponding data produced by the writing to the required file using the copy-on-write mechanism.

### Claim 3 (depends on 1)

The method of claim 1, further comprising receiving a write command for a file other than a required file on the computing device and performing the write command directly on the non-required file on the computing device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the determining the set of required files comprises receiving a list of the required files from the backup server.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the server implements a single instance store for storing client backup files; and
determining the set of required files comprises determining which files in the snapshot are not present on the backup server.

### Claim 6 (depends on 1)

The method of claim 1, further comprising, prior to the deleting any corresponding data produced by the writing to the required file using the copy-on-write mechanism, incorporating the data into the required file on the computing device.

### Claim 7 (depends on 5)

The method of claim 5, wherein determining the set of required files further comprises:
calculating a file manifest, the file manifest comprising file signatures of files in the snapshot;
conveying the file manifest to the backup server;
based on the file manifest, determining which of the files on the computing device are already present on the server and which files are required; and
conveying a list of the required files to the client device.

### Claim 8

A computing device, comprising:
at least one processor; and
memory including instructions that, when executed by the at least one processor, cause the computing device to perform the steps of:
capturing a snapshot of a client computing device, the snapshot including files that are stored on the client computing device;
determining a set of required files in the snapshot to be uploaded from the client device to a backup server for performing a backup of the client device;
for each required file in the snapshot,
monitoring the required file on the computing device, such that, if a write command for the required file is detected, the command is performed using a copy-on-write mechanism by writing to a copy of the required file; and
detecting when an upload of the required file to the server is complete; and
in response to detecting that the upload of the required file to the server is complete, discontinuing the monitoring of the required file, such that, subsequent write commands to the required file are not performed using the copy-on-write mechanism.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein the memory further includes instructions that when executed by the at least one processor, cause the computing device to perform the steps of:
in response to detecting that the upload of the required file to the server is complete, determining whether the required file has been written to using the copy-on-write mechanism; and
if the required file has been written to using the copy-on-write mechanism, then deleting any corresponding data produced by the writing to the required file using the copy-on-write mechanism.

### Claim 10 (depends on 8)

The computing device of claim 8, wherein the memory further includes instructions that when executed by the at least one processor, cause the computing device to perform the steps of:
receiving a write command for a file other than a required file on the computing device and performing the write command directly on the non-required file on the computing device.

### Claim 11 (depends on 8)

The computing device of claim 8, wherein the determining the set of required files comprises receiving a list of the required files from the backup server.

### Claim 12 (depends on 8)

The computing device of claim 8, wherein:
the server implements a single instance store for storing client backup files; and
determining the set of required files comprises determining which files in the snapshot are not present on the backup server.

### Claim 13 (depends on 8)

The computing device of claim 8, wherein the memory further includes instructions that when executed by the at least one processor, cause the computing device to perform the steps of:
prior to the deleting any corresponding data produced by the writing to the required file using the copy-on-write mechanism, incorporating the data into the required file on the computing device.

### Claim 14 (depends on 12)

The computing device of claim 12, wherein determining the set of required files further comprises:
calculating a file manifest, the file manifest comprising file signatures of files in the snapshot;
conveying the file manifest to the backup server;
based on the file manifest, determining which of the files on the computing device are already present on the server and which files are required; and
conveying a list of the required files to the client device.

### Claim 15

A non-transitory computer readable storage medium comprising one or more sequences of instructions, the instructions when executed by one or more processors causing the one or more processors to execute the operations of:
capturing a snapshot of a client computing device, the snapshot including files that are stored on the client computing device;
determining a set of required files in the snapshot to be uploaded from the client device to a backup server for performing a backup of the client device;
for each required file in the snapshot,
monitoring the required file on the computing device, such that, if a write command for the required file is detected, the command is performed using a copy-on-write mechanism by writing to a copy of the required file; and
detecting when an upload of the required file to the server is complete; and
in response to detecting that the upload of the required file to the server is complete, discontinuing the monitoring of the required file, such that, subsequent write commands to the required file are not performed using the copy-on-write mechanism.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, further comprising instructions that when executed by the one or more processors cause the one or more processors to execute the operations of:
in response to detecting that the upload of the required file to the server is complete, determining whether the required file has been written to using the copy-on-write mechanism; and
if the required file has been written to using the copy-on-write mechanism, then deleting any corresponding data produced by the writing to the required file using the copy-on-write mechanism.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, further comprising instructions that when executed by the one or more processors cause the one or more processors to execute the operations of:
receiving a write command for a file other than a required file on the computing device and performing the write command directly on the non-required file on the computing device.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the determining the set of required files comprises receiving a list of the required files from the backup server.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein:
the server implements a single instance store for storing client backup files; and
determining the set of required files comprises determining which files in the snapshot are not present on the backup server.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, wherein determining the set of required files further comprises:
calculating a file manifest, the file manifest comprising file signatures of files in the snapshot;
conveying the file manifest to the backup server;
based on the file manifest, determining which of the files on the computing device are already present on the server and which files are required; and
conveying a list of the required files to the client device.
