"That which is overdesigned, too highly specific, anticipates outcome; the anticipation of outcome guarantees, if not failure, the absence of grace."
-- William Gibson, All Tomorrow's Parties
Using rdiff-backup on OpenBSD 3.9.

So I was putting together a test backup server using rdiff-backup last week, and I wanted to (for some strange reason) backup up the various OpenBSD machines I have installed since starting there.

It's pretty trivial:

pkg_add popt
pkg_add -i python

wget http://easynews.dl.sourceforge.net/sourceforge/librsync/librsync-0.9.7.tar.gz
wget http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.0.4.tar.gz

tar -xzf librsync-0.9.7.tar.gz
cd librsync-0.9.7
make all check
make install

tar -xzf rdiff-backup-1.0.4.tar.gz
cd rdiff-backup-1.0.4
python setup.py install --prefix=/usr/local --librsync-dir=/usr/local

If you are using 64-bit hardware, you'll need to use use --with-pic for librsync

The next step is to involved a hacked up version of the littlest backup wrapper script that could, resync 0.3, and bang, done.

rdiff-backup is pretty sweet. Check out the examples, this howto on unattended backups, maybe this arstech article, and this here wiki.

I need to clean up resync a bit (getting it back in VCS will give me an excuse to try out git, too) and then I'll throw it up on code.

August 21, 2006 12:28 AM