IP Library Granted Patent US 10,698,768
Granted Patent B2
US 10,698,768 · App. 15/599,117 · Granted Jun 30, 2020

Systems and methods for virtual machine file exclusion

Inventor: Sudeep Jathar (Pune, IN)
Assignee: Druva, Inc.
G06F11/1451G06F16/148G06F2201/815G06F2201/84
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,698,768
App. No.
15/599,117
Granted
Jun 30, 2020
Kind
B2
Abstract

The present invention relates generally to backups and more specifically to virtual machine (VM) backups including file exclusion. Aspects of the present invention related to using a specialized buffer to identify a file for exclusion. In embodiments, a file system used by the VM can be used to search for the specialized buffer. In embodiments, when the specialized buffer is located, offsets are noted related to the file associated with the specialized buffer. In embodiments, the offsets are used to zero out blocks associated with the offsets. Thus, the file can be effectively excluded from the backup.

Claims (34)

1. A method for file exclusion in a virtual machine (VM) backup, the method comprising:

receiving an image of a disk of the virtual machine;

mounting the image to browse a file infrastructure and intercept write calls for writing data from the image to a backup storage of the virtual machine;

intercepting the write calls and inspecting files associated with the write calls for writing data to the backup storage, inspecting the files comprising locating a specialized buffer associated with a particular file, the specialized buffer comprising a header associated with the particular file and inserted into the particular file based on a user selection;

responsive to locating the header, noting offsets for the particular file; and

writing, while excluding the particular file in accordance with the offsets, the data of the image to the backup storage.

2. The method of claim 1 wherein the method can be used with a variety of file systems.

3. The method of claim 1 wherein the specialized buffer further comprises a filename associated with the header.

4. The method of claim 1 wherein inspecting the specialized buffer associated with the particular file uses a file system driver to perform the inspection.

5. The method of claim 1 wherein excluding the particular file in accordance with the offsets comprises using the offsets to zero out a block associated with the offsets associated with the particular file in the backup.

6. The method of claim 1 further comprising injecting the specialized buffer into the particular file identified for exclusion.

7. The method of claim 1 further comprising writing a file to the backup storage responsive to not locating the specialized buffer.

8. A system for file exclusion in a virtual machine (VM) backup, the system comprising:

a specialized buffer associated with a particular file to be excluded, the specialized buffer inserted into the particular file based on a user selection;

a file system executing on a processor, the file system configured to mount an image of a disk of the VM to browse a file infrastructure, configured to copy the image by performing a series of write calls to write the image to a backup storage, configured to inspect files associated with the write calls for writing data to the backup storage by locating the specialized buffer associated with the particular file to be excluded, the specialized buffer comprising a header associated with the particular file, and configured to, responsive to locating the header, noting offsets associated with the particular file to be excluded; and

a backup system configured to backup up the VM by writing the image of the VM to backup storage while excluding the particular file in accordance with the offsets.

9. The system of claim 8 wherein the file system can be one of a variety of file systems.

10. The system of claim 8 wherein the specialized buffer further comprises a filename associated with the header.

11. The system of claim 8 further comprising the backup storage configured to store the image of the VM.

12. The system of claim 11 wherein excluding the particular file in accordance with the offsets comprises zeroing out a block associated with the offsets associated with the particular file to be excluded.

13. A non-transitory computer readable medium for storing computing code comprising instructions, the instructions, when executed by one or more processors, cause the one or more processors to perform steps for file exclusion in a virtual machine (VM) backup, the steps comprising:

requesting an image of a disk of the virtual machine;

receiving the image of the disk of the virtual machine;

mounting the image to browse a file infrastructure and intercept write calls for writing data from the image to a backup storage of the virtual machine;

intercepting the write calls and inspecting files associated with the write calls for writing data to the backup storage, inspecting the files comprising locating a specialized buffer associated with a particular file, the specialized buffer comprising a header associated with the particular file and inserted into the particular file based on a user selection;

responsive to locating the header, noting offsets for the particular file; and

writing, while excluding the particular file in accordance with the offsets, the data of the image to the backup storage.

14. The non-transitory computer readable medium of claim 13 wherein the VM can be used with a variety of file systems.

15. The non-transitory computer readable medium of claim 13 wherein the specialized buffer further comprises a filename associated with the header.

16. The non-transitory computer readable medium of claim 13 wherein the instructions for inspecting the specialized buffer associated with the particular file causes the one or more processors to use a file system driver to perform the inspection.

17. The non-transitory computer readable medium of claim 13 , wherein the instructions, when executed by the one or more processors, further causes the one or more processors to inject the specialized buffer into the particular file identified for exclusion.

18. The non-transitory computer readable medium of claim 13 wherein the VM is used to handle logical volumes.

19. The non-transitory computer readable medium of claim 13 wherein the instructions to exclude the particular file in accordance with the offsets comprises instructions that cause the one or more processor to zero out a block associated with the offsets associated with the particular file in the backup.

20. The non-transitory computer readable medium of claim 13 wherein the backup storage is cloud storage.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 23, 2019
From: DRUVA TECHNOLOGIES PTE LTD
To: DRUVA, INC.
Reel/Frame 050806/0622 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 13, 2017
From: JATHAR, SUDEEP
To: DRUVA TECHNOLOGIES PTE. LTD
Reel/Frame 042998/0816 →
Priority Claims (1)
IN 201611038157 · Nov 8, 2016 · national
Continuity (1)
Related Publication 20180129569A1 · May 10, 2018