A SERVICE OF

logo

Managing the AMASS File System
A-4 Backup Scripts for HP-UX 6-00028-01 Rev A
#
# Shell variables:
# TEMPFILE - temporary location for
# file listing
# MOUNTPT - the directory where the
# amass is mounted
#
# Output:
# A set of tapes the can be used to
# restore user files to an AMASS system
#
# Warning:
# This process can take a very long time.
# /tmp/BACKUPFILES and /tmp/${TEMPFILE}
# can be very large files.
#
day=“`date +’%w’`”
MOUNTPT=`mount| grep amassdev| \
awk ’{print $1}’` >${TEMPFILE}
VOLGRP=$1
cd ${MOUNTPT}
if [ ${day} = 5 ]