计算机应用 ›› 2012, Vol. 32 ›› Issue (07): 2056-2058.DOI: 10.3724/SP.J.1087.2012.02056

• 典型应用 • 上一篇    下一篇

基于Linux平台的远程数据容灾系统的设计与实现

苏冠群,陶宏才   

  1. 西南交通大学 信息科学与技术学院,成都610031
  • 收稿日期:2011-12-19 修回日期:2012-02-18 发布日期:2012-07-05 出版日期:2012-07-01
  • 通讯作者: 苏冠群
  • 作者简介:苏冠群(1986-),男,山东德州人,硕士研究生,主要研究方向:网络与信息系统;陶宏才(1964-),男,湖北武汉人,教授,博士,主要研究方向:网络与信息系统、数据库与商务智能、网络安全。

Design and implementation of remote data backup and recovery system based on Linux

SU Guan-qun,TAO Hong-cai   

  1. School of Information Science and Technology, Southwest Jiaotong University, Chengdu Sichuan 610031, China
  • Received:2011-12-19 Revised:2012-02-18 Online:2012-07-05 Published:2012-07-01
  • Contact: SU Guan-qun

摘要: 针对当前远程数据容灾系统效率比较低的缺点,提出并实现一种远程数据容灾系统(RDBRS);通过对Rsync框架进行改进,利用Inotify和快照定位生产系统发生变化的文件并且获取文件增量,同时利用Rsync进行远程数据传输,大大降低了容灾系统对服务器系统资源的占用,减少了网络传输数据量。实验结果表明,在千兆网络环境下平均灾备速度相对于Rsync有了近10MBps的提升,对资金相对不充裕的中小企业具有较高的应用价值。

关键词: 数据容灾, Inotify, Rsync, 快照

Abstract: 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 10MBps 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.

Key words: data disaster recovery, Inotify, Rsync, snapshot

中图分类号: