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
Backup with rsync#
cd ~ rsync -va . apollo.computerhok.nl:/mnt/seagate2/esther/
sent 19455014824 bytes received 2494918 bytes 9950145.61 bytes/sec total size is 34192630272 speedup is 1.76 rsync warning: some files vanished before they could be transferred (code 24) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
The old way (not used anymore)#
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 :
#!/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.

