BackupPC-users

Re: [BackupPC-users] Having Several Issues

2009-06-26 11:53:53
Subject: Re: [BackupPC-users] Having Several Issues
From: Admiral Beotch <AdmiralBeotch AT hackerish DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 26 Jun 2009 08:50:24 -0700
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.
------------------------------------------------------------------------------
_______________________________________________
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/