#!/bin/csh # Written by Jason Ventrella # This script seeks out all files (except junk files) on the # front ends of the Von Neumann Beowulf cluster and tars them to tape. # The front end machines are: vnfe1,vnfe2,vnfe3 # vnfe1 handles level-0s and weeklys # vnfe3 handles incrementals # # -- added 'grep -v' statement to remove Cris Daub's directory from the # backup list; -- scott noble, June 25 2001 # # -- added 'grep -v' statement to remove zming's directory from # backup list (as per his permission); -- scott noble 4/4/2002 # # -- added 'grep -v home2/sdewekker/data/' statement to remove sdewekker's # data from backup list (as per his permission); # -- scott noble 4/4/2002 # # -- this script just finds the files that need to be backed up. # the other scrip "vnfe2-level-0-backup_tar" makes the archive. # set DATE = `date +%b-%d` foreach i ( 2 ) nice +19 find / \! \( -name '*.sdf' -o -name '*.sdf.gz' -o -name '*.dat' -o -name '*.dat.gz' -o -name '*.hdf' -o -name '*.segdat' -o -name '*.rgb' -o -name '*.o' -o -name core -o -type d \) -mount | grep -v .netscape/cache | grep -v home/daub > /backups/vnfe$i-level-0-index nice +19 find /home2 \! \( -name '*.sdf' -o -name '*.sdf.gz' -o -name '*.dat' -o -name '*.dat.gz' -o -name '*.hdf' -o -name '*.segdat' -o -name '*.rgb' -o -name '*.o' -o -name core -o -type d \) -mount | grep -v .netscape/cache | grep -v home2/zming | grep -v home2/sdewekker/data/ > /backups/vnfe$i-home2-level-0-index end