home *** CD-ROM | disk | FTP | other *** search
- TD=/dev/9hi # name of default tape drive
- FSFILT=/usr/local/etc/fsfilt # location of fsfilt program
- echo "Who should be notified upon completion? \c"
- read NOTIFY
- set `cat /etc/mountable | sort -r`
- for fsys in $*
- do
- fsys=$2
- fnam=$3
- echo "Mount the backup for $fnam and press RETURN \c"
- read return
- cd $fnam
- find . -print | $FSFILT | cpio -ocvB >$TD
- (echo "backups of $fnam are complete") | write $NOTIFY
- echo "backups of $fnam are complete"
- shift 3 2>/dev/null
- done
- touch /usr/local/etc/DAY.DONE
- (echo "backups have been completed") | write $NOTIFY
-