为了提高文件备份效率,提出了一种基于事件的文件备份方法。通过文件系统过滤驱动,实时监控文件,捕获受监控文件成功的操作信息,转化为程序可识别事件记录到日志。根据日志记录对文件进行分类,再根据对应的策略进行备份,给出了文件监控、备份队列生成和差异集重构的方法。实验结果表明,与Rsync相比,该方法有效地降低了文件备份网络流量和计算量,犬幅度提高了文件备份的效率。
In order to improve the efficiency of file backup, a method of event-based file backup is proposed. The method is real-time monitoring the file through the file system filter driver, to capture the success of operation made by monitored file, and write the information into the log. According to the log records to classify 'the file, then backup them with corresponding strategy, file monitoring, backup queue generation and difference set reconstruct methods are given. The experimental results indicate that, compared with Rsync the method can effectively reduce the amount of file backup calculation and decrease the amount of network traffic, significantly improve the efficiency of file backup.