!! Backup laptops

Backups go with rsync from the laptop to apollo (hardware node) with a 1TB external USB disk.

Target directories are
* {{/mnt/seagate2/harry/athena/home}}
* {{/mnt/seagate2/esther}}



!! Exclude list

Rsync is performed with an {{ --exclude-from }} parameter. The file that holds the exclusions, is centrally managed here : [RSYNCEXCLUDELIST]

!! Rsync execution

The script is like this :
%%prettify
{{{
#!/bin/bash
#
#  backup with rsync to another host
EXCLUDEFILE=`mktemp`
wget --quiet -O - 'http://www.computerhok.nl/wiki/Wiki.jsp?page=RSYNCEXCLUDELIST'|grep EXCLUDEPATTERN | cut -d" " -f2 > $EXCLUDEFILE
echo "excluding following patterns:" `cat ${EXCLUDEFILE}`
rsync --verbose --recursive --delete-excluded --exclude-from=${EXCLUDEFILE} /home/${USER}/ apollo:/mnt/seagate2/harry/athena/home
rm $EXCLUDEFILE
}}}
%%


!Rsync off site

That should be done with something I still have to setup, plain copying/dumping the 1TB external disk to a second one that is remote.