Managing the AMASS File System
>${TEMPFILE} >/tmp/BACKUPFILES cd /
cd ${MOUNTPT}
if [
#find .
echo “ ” else
>/etc/archivedate
fi
if [ ${DAYTYPE} = 1 ] then
/bin/mv /etc/archivedate /etc/archivedate.AMASS
>/etc/archivedate rm /tmp/AMASSOUT* /usr/amass/bin/vollist awk ’
$2==’$VOLGRP’ {print $1" “$7}’ while read disk megs
do
/usr/amass/bin/volfilelist $disk >>${TEMPFILE}
COUNT=`expr ${COUNT} + ${megs} if [ ${COUNT}
COUNT=0
cat ${TEMPFILE} sort +1n +2n \ awk ’{print $1}’ >
/tmp/AMASSOUT${FILEINDEX} rm ${TEMPFILE} FILEINDEX=‘expr ${FILEINDEX} + 1‘
fi
Backup Scripts for |