首页 > 代码库 > Backup备份系统安装部署
Backup备份系统安装部署
yum -y install BackupPC.x86_64
2.vi /etc/httpd/conf.d/BackupPC.conf
<IfModule !mod_authz_core.c>
# Apache 2.2
order deny,allow
deny from all
allow from all
# allow from 127.0.0.1
allow from ::1
require valid-user
</IfModule>
3.#Apache 的执行身份必须是安装BackupPC时在系统上所创建的backuppc用户
htpasswd -c /etc/BackupPC/apache.users backuppc
4.6更改目录的属用户/组
[root@]# chown -R backuppc:backuppc /etc/BackupPC
[root@]# chown -R backuppc:backuppc /data (默认是/var/lib/backuppc)
5.设置httpd backuppc随机启动
二、需备份主机安装rsync
yum -y install rsync xinetd
vi /etc/xinetd.d/rsync
service rsync
{
disable = no
flags = IPv6
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
Backup备份系统安装部署