Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ News _ Backuppc

Posted by: Robert83 Jan 18 2005, 07:51 AM

Hi all,

I know this has been out for a while, but I didn't had the chance to get my hands on it till now (due to the fact that I did not know that it even existed).

now what we got here is a awesome (yep) software for backing up data, and it's really easy to configure as well.

you can download the rpm of the latest version from here :

http://contribs.org/contribs/dthomas/smeserver/6.x/Beta/Backuppc/cc/backuppc-2.1.0-1.noarch.rpm
(for all ya rpm based distro users)
- the only problem (well till I'm able to solve it somehow), that it installs itself into /opt and I havent found a way to change it's /files/pc location (where it stores backups) to something else, like /backup1 (which is 120GB , compared to my /opt which is on / and is only 8GB ...hmmm)

!!! don't forget to create backuppc user !!! and some password for it
adduser backuppc
passwd backuppc
*****
*****

but you can install from the source , at http://backuppc.sourceforge.net/

be sure to read the docs , if you fail to understand it for the first time (or seems scary, like it did for me smile.gif ), then read it again and it will eventualy clear up.

if you are installing on a whitebox or centos computer, running the minimal install be sure to install cgi, and cpan and
then install via cpan those required components, at some part the installation via cpan will fail nomatter what, at that point exit cpan and set lang to c then run the installer again and it will complete.

for my backuppc installation to succesfully backup data from the test computer I only needed to modify this

/opt/backuppc/files/conf/config.pl

line 1608 : $Conf{CgiAdminUsers} = 'robert';
NOTE : I already created a robert user before with some passwd
(If I remember right this line is admin by default...)

line 723 : $Conf {XferMethod} = 'smb' ;
(since I will be backing up 80 winxx pc's and only 10 linux pc's at the end)

line 774 : $Conf{SmbClientPath} = '/usr/bin/smbclient';
(this line is commented out, only removing the comment solves the problem)

as you can guess it these are global variables that can be overriden on the other per-pc config files (you did read the manual right smile.gif ).

so next thing was
I added this to my /opt/backuppc/files/conf/hosts
192.168.1.23 0 admin
(the test pc ip , non-dhcp , admin is the ruler here (that is robert in this scenario, see above!))

under /opt/backuppc/files/pc
mkdir 192.168.1.23
!and don't forget since it was installed as backuppc backuppc , and you are probably editing these stuff right now as root chown backuppc.backuppc 192.168.1.23 , otherwise it won't work

the only thing you need to do in 192.168.1.23 dir is this

> config.pl

and put this in (for a minimal config)
$Conf{SmbShareName} = ['proba'];
$Conf{SmbShareUserName} = 'guest';
$Conf{SmbSharePasswd} = '';

and it's going to backup proba from 192.168.1.23 as user guest no passwd.

now this thing rockS!!! smile.gif

Sincerely
Robert B

ps.: what do you people say about this... create a new forum or webpage for software such as these that we find outstanding in some field...we help each other out with awesome programs, that are sometimes so hard to find... ( I found this one searching for python examples smile.gif )

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)