Font Size: a A A

Design And Implementation Of Real-time Backup File System Based On Linux

Posted on:2015-06-29Degree:MasterType:Thesis
Country:ChinaCandidate:B LiuFull Text:PDF
GTID:2298330434957614Subject:Computer technology
Abstract/Summary:PDF Full Text Request
File backup and recovery technology can improve the security of data, so it isapplied more and more widely in the modern enterprise. The current backupsoftware of Linux provides file backup and recovery technology, but there are manyproblems: first of all, can not be real-time file system to determine the file changes,only by setting the time of the backup or manually backup; secondly, failed to takeinto account the special needs of enterprises, not implemented for special types offiles, such as real time backup a host of data to the server; finally, unable to transfercontrol network data of fine-grained, cannot make efficient use of bandwidthquickly complete the backup files.In view of the above situation, this paper firstly by the enterprises of thesystem put forward the demand of function. After the analysis of business needs andthe advantages and disadvantages of the existing backup software, files need toback up y are divided into two categories: one for the change of low frequency file,called the static files; another kind is updated in real time variation of the file, thefile changes of high frequency, called real-time file. For the first kind of static files,system timing backup design, take full backup traditional way to backup; for thesecond time the file using Linux under the Inotify API file specify real-timemonitoring, once the update events, through the recognition of events, on theinitiative to complete the system files, and using Rsync algorithm the difference ofthe data, by transmitting only these difference data to reduce the data transmissionnetwork bandwidth, reduce the bandwidth pressure purposes. In the end of thispaper compare the Rsync backup system to use more of the system and Linux, theresults show that the system has a great advantage in data transmission and thebackup efficiency.The design and implementation of the system uses a hierarchical designmethod, the Inotify mechanism used in this system, a detailed description of theRsync algorithm and multi thread, I/O reuse technology, based on the concreterealization of the made for analysis and testing of the system, and summarizes theresults of the study, system scalability. At the end of the thesis put forward to thefuture work.
Keywords/Search Tags:Linux, Inotify, Rsync, backup
PDF Full Text Request
Related items