I did it some months ago, so I don't exactly remember how I did to give you detailed instructions, it but I can give you some guidance.
I did it in Elastix 0.7.X, or something like that. It was CentOS 4. I'm not sure, but I think it worked too in 0.8.4 and CentOS5 in a test machine.
I followed some backuppc guides on the web.
You have to change some things in the default backuppc instalation. The default user has to be changed from "backuppc" to "asterisk" (well, this is what I did, and it worked for me).
I did it with yum, but next time I'll try to build backuppc from source, as some folder names are changed in the yum version. (backuppc/BackupPC)
First I put in /etc/yum.repos.d/ the Centos-Testing repository.
Then:
# yum install backuppc
# chown -R asterisk:asterisk /var/log/BackupPC/ /var/lib/backuppc/ /usr/lib/BackupPC/ /etc/BackupPC/ /usr/share/backuppc/ /usr/bin/BackupPC*
Then I edited the /etc/init.d/backuppc file and change user to asterisk instead of backuppc in the line:
daemon --user asterisk /usr/bin/BackupPC -d
If you want to access the BackupPC from an external web browser, you need to edit the file /etc/httpd/conf.d/backuppc.conf and change the
"allow from" line to include the new location.
After installation, you need to edit the file /etc/BackupPC/config.pl and set it up (read the documentation) for the way you want to connect to backup the remote PCs.
$Conf{BackupPCUser} = 'asterisk';
$Conf{CgiAdminUserGroup} = '*'; (or groupname)
$Conf{CgiAdminUsers} = '*'; (or username/s)
...
$Conf{Language} = 'es'; (for Spanish)
Then I added backuppc to the init scripts:
# chkconfig --add backuppc
# chkconfig backuppc on
and restarted backuppc and httpd:
# service httpd restart
# service backuppc restart
And then you have to learn how to use it...
It's a great program!!
I hope this helps you.
PS: I have tried with different versions of BackupPC in Ubuntu, Debian, Mandrake, and some other linux distros, and everything is much easier.<br><br>Post edited by: ramoncio, at: 2007/10/23 01:40