Tuesday, 19 February 2013

Installing Box Backup on a ReadyNas NV+ (sparc)

I'm jetlagged so what do I do? I install Box Backup on my NetGear ReadyNas NV+.

A while ago I have in fact built my own little datacenter in my loft. There I store all my music and most importantly the backup for all the pictures that I take.

It is a raid 5 so if one of the disks breaks down, I can still recover 100% of the data. But what happens if it gets stolen or something really bad happens? I will loose everything so I need to have another backup copy of my data somewhere else.

Meet www.boxbackup.org:
The backup daemon, bbackupd, runs on all machines to be backed up. The store server daemon, bbstored runs on a central server. Data is sent to the store server, which stores all data on local filesystems, that is, only on local hard drives. Tape or other archive media is not used.

The ReadyNas NV+ has a Sparc CPU and at the moment there are no official builds for this platform so I had to build it myself. It took a while to find the right setup so let me share it here.

Update your /etc/apt/sources.list

deb http://www.readynas.com/packages 4.1.10/
deb http://archive.debian.org/debian sarge main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free

Install all the dependencies

apt-get update
apt-get install cpp
apt-get install g++
apt-get install gpp
apt-get install libc6-dev gcc
apt-get install libdb4.3-dev
apt-get install libreadline5-dev
apt-get install libssl-dev
apt-get install libz-dev

Get the sources


Configure & build

./configure --build=sparc-linux --enable-gnu-readline


No comments:

Post a Comment