In this paper, a Remote Data Backup and Recovery System ( RDBRS) was presented and implemented to improve the efficiency of data disaster recovery. Through improving the frame of Rsync, the system used Inotify and snapshot to locate files that have been changed and to get file increments, and used Rsync to transfer data remotely. In this way, the system resource consumption and the amount of network traffic were greatly reduced, and data transmission speed increased about 10 MBps compared to Rsync in gigabit network environment. The experimental results show that the system has high practical value to small and medium enterprises without enough fund.%针对当前远程数据容灾系统效率比较低的缺点,提出并实现一种远程数据容灾系统(RDBRS);通过对Rsync框架进行改进,利用Inotify和快照定位生产系统发生变化的文件并且获取文件增量,同时利用Rsync进行远程数据传输,大大降低了容灾系统对服务器系统资源的占用,减少了网络传输数据量.实验结果表明,在千兆网络环境下平均灾备速度相对于Rsync有了近10 MBps的提升,对资金相对不充裕的中小企业具有较高的应用价值.
展开▼