Managing the AMASS File System

#

#Output:

#A set of tapes the can be used to

#restore user files to an amass system

#Warning:

#The output filelists can be very

#large.

#Estimate 1 mb per 15,000 files.

#This script uses the day of the

#month to index the appropriate file

#to be stored and must be executed

#every day.

#

if [ $# -ne 2 ] then

echo ’Usage:abackup #vol-group-num #num-of-MB’

exit

fi

DAYTYPE=“`date +’%d’`” DAYTYPE=1

VOLGRP=$1

NMEGS=$2

NVOLUME=0 TEMPFILE=/tmp/FILES$$ MOUNTPT=`mount grep amassdev awk ’{print $1}’`

COUNT=0

FILEINDEX=1

A-8

Backup Scripts for HP-UX

6-00028-01 Rev A