BackupPC-users

Re: [BackupPC-users] Having Several Issues

2009-06-26 12:15:50
Subject: Re: [BackupPC-users] Having Several Issues
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 26 Jun 2009 11:09:53 -0500
Admiral Beotch wrote:
> Les,
> 
> Here's my hasty notes from my install using CentOS 5.3, epel's current 
> backuppc. Excuse the mess.. I just ordered a new dedicated backup server 
> and will be re-installing again from scratch to validate and clean up my 
> procedure. I'll repost in a nicer format when it's all done.
> 
> Admrial Beotch
> 
> =========================
> Assumes core install with all updates...
> Assumes large drive mounted to file system at /BackupData
> 
> yum install backuppc httpd
> edit /etc/BackupPC/config.pl
> 
> change $Conf{CgiAdminUsers}     to  'admin'
> change $Conf{TopDir} to '/BackupData/'
> 
> #allows httpd process to r/w data partition
> chcon -R -t httpd_sys_script_rw_t /BackupData
> 
> 
> edit /etc/httpd/conf/httpd.conf
> change httpd User from apache to backuppc
> 
> #Move rpm installed TOPDIR directories to data mount
> cd  /var/lib/BackupData/
> mv cpool/ pc/ pool/ trash/ /BackupData
> 
> htpasswd -c /etc/BackupPC/apache.users admin
> edit  /etc/BackupPC/hosts and add host names
> 
> edit /etc/httpd/conf.d/BackupPC.conf
> change 'allow' to management host ip
> 
> chkconfig --levels 345 backuppc on
> chkconfig --levels 345 httpd on
> 
> #login as backuppc and generate passwordless ssh keys
> su - -s /bin/bash backuppc
> ssh-keygen
> 
> copy public key to all computers being backed up (to root account).
> contents of id_rsa.pub goes into /root/.ssh/authorized_keys on each host 
> to be backed up.

What I'm wondering is, if you had mounted your drive on 
/var/lib/backuppc before the yum install (or had set it up during the 
Centos install) would any of the other steps have been necessary?

Also, only the latest version of backuppc allows $Conf{TopDir} to be 
changed after the initial configuration (done before the RPM was built), 
so I'm surprised you didn't follow the directions for a mount or soft 
link at /var/lib/backuppc that should be somewhere on the wiki.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/