Managing the AMASS File System

then

if [ -f /etc/archivedate ] then

/bin/mv /etc/archivedate \

ŽŽŽŽŽ/etc/archivedate.AMASS fi >/etc/archivedate TEMPFILE=/tmp/FILES$$

for disk in `/usr/amass/bin/vollist

\

awk ’ $2==’$VOLNUM’ {print $1}’` do

/usr/amass/bin/volfilelist $disk \

ŽŽŽŽŽŽ>>${TEMPFILE}

done

cat /tmp/${TEMPFILE} sort +1n +2n \ awk ’{print $1}’ >>/tmp/BACKUPFILES rm /tmp/${TEMPFILE}

else

find . -newer /etc/archivedate -print

\>/tmp/BACKUPFILES

fi

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

### end of Example script 1 ###

6-00028-01 Rev A

Backup Scripts for HP-UX

A-5