文档介绍:西安电子科技大学
硕士学位论文
基于linux的数据备份系统的设计与实现
姓名:王刘涛
申请学位级别:硕士
专业:计算机技术
指导教师:姜建国;李波
20100401
摘要
在目前信息化时代,信息资源是十分重要的,而信息资源主要存储在计算机
上,因此,对计算机中的信息资源进行及时有效的备份和恢复具有重要的意义。
随着 Linux 操作系统被越来越多的用户使用,在 Linux 系统下开发相应操作方便、
界面友好、功能完善的数据备份软件是必要的。而目前常见的 Linux 商用备份软件
均采用独家专利技术,价格昂贵,因此开源数据备份软件的设计与实现成为一个
新的研究和应用目标。
本文针对上述情况,分析了目前基于 Linux 平台的主流商用和开源数据备份软
件。从数据备份内容、功能、技术可行性三个方面进行详细的需求分析,设计并
实现了一个在 Linux 平台下的开源数据备份系统。备份系统采用结构化软件开发方
法和基于 B/S 体系架构,在 Linux 网络操作系统平台上,选用 MySQL 为网络数据
库服务器,Apache 为 web 服务器,PHP 和 C 为程序实现语言,实现了周期性与非
周期性的完全备份和文件差异备份功能,可以备份 Linux 服务器上的文件、MySQL
数据库以及通过 Samba、NFS 共享的客户端文件。
系统遵守 GNU 公共许可证,源代码开放,便于修改和二次开发。系统框架设
计层次清晰,构件之间耦合度低,灵活性高,适用于中小企业服务器数据的备份,
系统操作简便,透明度高,利于用户操作。预期系统在投入使用后,会取得良好
的效果。
本系统不足之处是目前只支持中小型服务器的在线 MySQL 数据库完全备份,
下一步考虑支持 Oracle 等大型数据库备份,该备份系统只实现了局域网内的数据
备份,将来考虑将系统应用到更广泛的远程数据网络存储备份,实行异地容灾备
份。
关键词:数据备份开放源代码 linux 浏览器/服务器(B/S)
Abstract
In recent information age,information is very data in puter
is the carrier of a result,it is great significance to backup intime and to
recover effectively on the the popularization of Linux,there isa great demand
of software on data backup and recovery in support of databackup software
with integrated functions,convenient operations and friendly es impera-
mercial data backup softwares adopt patenttechnologies and are
,design and implementation of open source backup softwares
e a new target of study and application.
This thesis first analyzes the mercial and open source backup software-
based on getting the requirements by analyzing in Linux backup content,
backup functions and technical feasibility in detail,the thesis presents the design and
implementation of an open source backup software structural
development process,The system is implemented based on B/S it is
developed on Linux is chosen as database server,Apache as Web
server a