摘要
为提高Linux系统文件存储的安全性,提出一种基于Inotify文件监视机制的文件备份系统方案,结合Rsync文件同步技术实现指定文件的有效备份。系统客户端基于待备份文件的变化特性对文件进行合理分类,通过Inotify机制监视指定文件的变化事件。当文件监视事件发生时,客户端结合文件分类,将事件类型和文件增量数据发送给服务端,实现文件数据的有效备份。该方式大大提高了文件的备份效率,减少了不必要的数据交互和带宽浪费,是一种高效的轻量级文件备份方案。
So as to improve the safety of file storage in Linux system,the paper proposes a file backup system model based on Inofity monitoring file system.The file backup system combines with Rsync file synchronization technology to implement the effective backup of specified files.Client classifies the files based on the changing characteristics of backup files,monitoring the events of changes to the specified files through Inofity mechanism.When the events of file monitoring occur,client would combine file classification,send event types and file incremental data to the server by using Rsync synchronization technology for merge into one file.This method is a light and high efficient program,which extremely improves the efficiency of file backup,reduces the unnecessary data interaction and economize the internet broadband usage.
作者
刘扬
颜光伟
夏凡
陈勃翰
LIU Yang;YAN Guangwei;XIA Fan;Chen Bohan(No.30 Institute of CETC,Chengdu 610041,China)
出处
《电声技术》
2021年第3期46-51,共6页
Audio Engineering