Image Ulrich Habel
About me/Impressum

search

Google


Search WWW
Search rhaen daily

archives

feeds

Perl nation banner logo thing
31.08.2008

The backup of my Soekris 4801

I've read an article about Unix system administration recently. One of the golden rules, if I remember correctly it was the first one, is backup your systems regulary. Backup - stop reading this article, think of a backup. Well, I read the article till the end and looked at my laptop - no backup. I looked at my Soekris - no backup, I looked at my NetBSD toaster - no backup. Huh, time to do something like a backup. I decided to look at all the fancy tools for this task like: bacula, arkaya and several others. A posting from Mathias Scheler on -current users brought the idea: why not use dump(8) for this purpose?

#!/bin/ksh
#
# Full Dump of Soekris
TIMESTAMP=$(date "+%Y.%m.%d-%H%M")
DMPFILE=/server/$TIMESTAMP-Soekris_Dump.dmp
dump -0uan -f - / | ssh rhaen@wiesel "dd of=$DMPFILE"
Voila - a level 0 dump using ssh to a different server. A restore test showed that this concept is working well. I'll setup a cron for this and dump on an external USB device. Did I mention I love the Soekris USB port of the 4801?

References:

[/NetBSD] [link]

powered by NetBSD