Method for backing up consistent versions of open files

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

06484186

ABSTRACT:

FIELD OF THE INVENTION
This invention pertains to archiving computer files and more particularly to archiving computer files that are open for writing.
BACKGROUND OF THE INVENTION
In modern computer operations, many actions occur simultaneously. For example, a computer can be running several programs in memory at the same time, each using different data. This is especially true in a multi-user environment, where many users can be using the computer at the same time.
In such a multi-user environment, the computer is generally available for log-in at all times. The system cannot be closed to users while activities, such as back-up operations, are performed. The computer must be able to perform its administrative tasks without impacting users.
But when files are open for writing, the back-up operation can create a problem. With most types of files, the data in the file have an internal consistency that must be maintained. For example, if a file stores a letter, the contents convey a meaning. If the file is being written to change its meaning, the back-up operation should not begin until the write operation is complete. Otherwise, the archived file may include pieces from the different contents, and would lack consistency. On the other hand, the back-up operation cannot afford to wait until the file is completely written before archiving the file, as this could cause a potentially infinite delay in the archive operation (if users continue to open the same file before all other users have closed it).
Accordingly, a need remains for a method and apparatus that allows an archive operation to back up a consistent version of files even while the files are open for writing.
SUMMARY OF THE INVENTION
Whenever a file is opened for writing, a snapshot of the file is created. The snapshot includes a copy of the file's metadata. A bitmap and snapshot file map are initialized. When new data are to be written to blocks in the file, the original contents of the blocks are duplicated. The bitmap is updated to identify the changed blocks. The snapshot file map is updated to point to the duplicate blocks. The new data are then written to the original blocks. When the file is to be archived, the file system uses the bitmap to determine whether to access the blocks from the original or snapshot file map. Finally, when the file is closed and the archive operation is complete, the resources used by the snapshot are returned to the system.
The foregoing and other features, objects, and advantages of the invention will become more readily apparent from the following detailed description, which proceeds with reference to the accompanying drawings.


REFERENCES:
patent: 5175849 (1992-12-01), Schneider
patent: 5403639 (1995-04-01), Belsan
patent: 5435004 (1995-07-01), Cox et al.
patent: 5819292 (1998-10-01), Hitz et al.
patent: 5963962 (1999-10-01), Hitz et al.
patent: 6289356 (2001-09-01), Hitz et al.
patent: 6298425 (2001-10-01), Whitaker et al.
patent: 6324654 (2001-11-01), Wahl et al.
Dave Hitz, James Lau and Michael Malcolm, “File System Design for NFS File Server Appliance,” Jan. 19, 1994, pp. 1-23.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method for backing up consistent versions of open files does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method for backing up consistent versions of open files, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method for backing up consistent versions of open files will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2977714

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.