Managing the AMASS File System

done

if [ -f ${TEMPFILE} ] then

cat ${TEMPFILE} sort +1n +2n \ awk ’{print $1}’ >

/tmp/AMASSOUT${FILEINDEX} rm ${TEMPFILE}

fi else

find . -newer /etc/archivedate -print \ >/tmp/BACKUPFILES

fi

if [ -f /tmp/AMASSOUT${DAYTYPE} ] then

cat /tmp/AMASSOUT${DAYTYPE} >>/tmp/BACKUPFILES

fi

cat /tmp/BACKUPFILES ftio -oxpp >/dev/null

## End of example 2 ##

A-10

Backup Scripts for HP-UX

6-00028-01 Rev A