Anybody using "dump"/"restore" to a remote system?

Geoffrey S. Mendelson yellowdog-general@lists.terrasoftsolutions.com
Mon Jul 21 03:34:01 2003


Rick Thomas wrote:
> 
>  From the total lack of response to this question, can I assume that 
> all you folks out there in YDL-land never do backups?  What do you 
> do when you loose a disk? Or do you just run everything RAID-5?
> 
> 
> Seriously: How do you back up your YDL machines?

tar (see below)
-- 
Geoffrey S. Mendelson gsm@mendelson.com 972-54-608-069
Do sysadmins count networked sheep?

#!/bin/bash
WHEN=`date +%m%d%y`
TARFILE1="/mnt/home/gsm/notar/macula.$WHEN.1.tar.bz2"
TARFILE2="/mnt/home/gsm/notar/macula.$WHEN.2.tar.bz2"
TARFILE3="/mnt/home/gsm/notar/macula.$WHEN.3.tar.bz2"
TARFILE4="/mnt/home/gsm/notar/macula.$WHEN.4.tar.bz2"
tar clvjf $TARFILE1 --exclude "*/notar/*" --exclude "*/cache/*" -C / home root bin boot dev etc
tar clvjf $TARFILE2 --exclude "*/notar/*" -C / lib opt sbin
tar clvjf $TARFILE3 --exclude "*/notar/*" -C / usr
tar clvjf $TARFILE4 --exclude "*/notar/*" -C / var zip