企业数据中心备份系统搭建记录
一、备份系统选择
BackupPC,选择原因:功能满足数据备份需求、图形化web界面、客户机无需安装任何客户端软件
二、backuppc安装配置
centos6.3使用yum安装,
安装EPEL 源,http://linux.cn/article-2324-1.html
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
安装后执行yum时报错:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
参照此方法解决,http://my.oschina.net/macleo/blog/304559
yum install BackupPC安装成功
确认httpd服务访问正常
配置文件为/etc/httpd/conf/httpd.conf
进程文件为/usr/sbin/httpd
访问http://192.168.xxx.xxx/BackupPC/,提示403,
修改/etc/httpd/conf.d/BackupPC.conf,allow from all
页面可以打开,提示输入用户名密码,进入后提示错误
Error: Unable to connect to BackupPC server
This CGI script (/backuppc) is unable to connect to the BackupPC server on localhost port -1.
The error was: unix connect: Connection refused.
Perhaps the BackupPC server is not running or there is a configuration error. Please report this to your Sys Admin.
原因是backuppc服务没启动,service backuppc start
三、BackupPC配置备份任务
进入后,左侧菜单缺项,无法填加主机。
编辑config.pl文件,找到以下配置,添加用户,重启backuppc
$Conf{CgiAdminUserGroup} = 'backuppc';
$Conf{CgiAdminUsers} = 'backuppc';
竟然有意外收获
$Conf{Language} = 'zh_CN';
数据存储路径
/var/lib/BackupPC/pc
此博文仅作简要记录,未在此文中记录的内容,参考以下资料。
参考资料:
用BackupPC架设Linux跨平台备份服务器http://server.zol.com.cn/512/5124935.html
企业级系统备份 BackupPC的配置与使用手册http://os.51cto.com/art/201009/226191.htm