====== Build RPMS for SuSE ======
mv boxbackup-0.09.tgz /usr/src/packages/SOURCES/
tar xzf /usr/src/packages/SOURCES/boxbackup-0.09.tgz
rpmbuild -bb boxbackup-0.09/contrib/rpm/boxbackup.spec
You will need to edit the file /etc/init.d/bbstored and replace with: # Provides: bbstored
You can then activate the service insserv bbstored
====== Build RPMS for Mandrake ======
mv boxbackup-0.09.tgz /usr/src/RPM/SOURCES/
tar xzf /usr/src/RPM/SOURCES/boxbackup-0.09.tgz
rpmbuild -bb boxbackup-0.09/contrib/rpm/boxbackup.spec
====== Configure Box Backup Server ======
rpm -ivh RPMS/i586/boxbackup-server-0.09-1.i586.rpm
mkdir /export/boxbackup
chown box /export/boxbackup
raidfile-config /etc/box 2048 /export/boxbackup
bbstored-config /etc/box servername box
bbstored-certs /root/boxbackup init
bbstored-certs /root/boxbackup sign-server /etc/box/bbstored/servername-csr.pem
cp /root/boxbackup/servers/servername-cert.pem /etc/box/bbstored/servername-cert.pem
cp /root/boxbackup/roots/clientCA.pem /etc/box/bbstored/clientCA.pem
bbstoreaccounts create 1 0 20G 21G
Change ListenAddress in /etc/box/bbstored.conf to ListenAddresses = inet:0.0.0.0
/etc/init.d/bbstored restart
====== Configure Box Backup Client ======
rpm -ivh RPMS/i586/boxbackup-client-0.09-1.i586.rpm
bbackupd-config /etc/box lazy 1 backupserver.mrzesty.net /var/lib/box /etc /root /home
Transfer /etc/box/bbackupd/1-csr.pem to the Box Backup certificate server and sign with
bbstored-certs /root/boxbackup sign 1-csr.pem
Copy the 2 files from the certificate server /root/boxbackup/roots/serverCA.pem and /root/boxbackup/clients/1-cert.pem as /etc/box/bbackupd/serverCA.pem and /etc/box/bbackupd/1-cert.pem
/etc/init.d/bbackupd restart