User Tools

Site Tools


boxbackupinstallation

Boxbackup Installation

<toc><ul><li><link topicref=“2”>Build RPMS for SuSE</link></li><li><link topicref=“3”>Build RPMS for Mandrake</link></li><li><link topicref=“4”>Configure Box Backup Server</link></li><li><link topicref=“5”>Configure Box Backup Client</link></li></ul></toc>

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 <tt>/etc/init.d/bbstored</tt> and replace with: <tt># Provides: bbstored</tt>

You can then activate the service <tt>insserv bbstored</tt>

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 <tt>/etc/box/bbstored.conf</tt> to <tt>ListenAddresses = inet:0.0.0.0</tt>

/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 <tt>/root/boxbackup/roots/serverCA.pem</tt> and <tt>/root/boxbackup/clients/1-cert.pem</tt> as <tt>/etc/box/bbackupd/serverCA.pem</tt> and <tt>/etc/box/bbackupd/1-cert.pem</tt>

/etc/init.d/bbackupd restart
boxbackupinstallation.txt · Last modified: 2020/02/13 22:55 (external edit)

free spam filter