溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

企業(yè)數(shù)據(jù)中心備份系統(tǒng)搭建記錄

發(fā)布時(shí)間:2020-06-21 04:05:50 來源:網(wǎng)絡(luò) 閱讀:896 作者:75clouds 欄目:數(shù)據(jù)安全

一、備份系統(tǒng)選擇

BackupPC,選擇原因:功能滿足數(shù)據(jù)備份需求、圖形化web界面、客戶機(jī)無需安裝任何客戶端軟件


二、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


安裝后執(zhí)行yum時(shí)報(bào)錯(cuò):Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again


參照此方法解決,http://my.oschina.net/macleo/blog/304559


yum install BackupPC安裝成功


確認(rèn)httpd服務(wù)訪問正常


配置文件為/etc/httpd/conf/httpd.conf

進(jìn)程文件為/usr/sbin/httpd


訪問http://192.168.xxx.xxx/BackupPC/,提示403,

修改/etc/httpd/conf.d/BackupPC.conf,allow from all


頁面可以打開,提示輸入用戶名密碼,進(jìn)入后提示錯(cuò)誤

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服務(wù)沒啟動(dòng),service backuppc start




三、BackupPC配置備份任務(wù)


進(jìn)入后,左側(cè)菜單缺項(xiàng),無法填加主機(jī)。

編輯config.pl文件,找到以下配置,添加用戶,重啟backuppc

$Conf{CgiAdminUserGroup} = 'backuppc';

$Conf{CgiAdminUsers}     = 'backuppc';


竟然有意外收獲

$Conf{Language} = 'zh_CN';


數(shù)據(jù)存儲(chǔ)路徑

/var/lib/BackupPC/pc



此博文僅作簡(jiǎn)要記錄,未在此文中記錄的內(nèi)容,參考以下資料。


參考資料:

用BackupPC架設(shè)Linux跨平臺(tái)備份服務(wù)器http://server.zol.com.cn/512/5124935.html

企業(yè)級(jí)系統(tǒng)備份 BackupPC的配置與使用手冊(cè)http://os.51cto.com/art/201009/226191.htm





向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI