From: Paul Eggert Date: Fri, 7 May 1993 14:16:11 +0000 (+0000) Subject: Initial revision X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=df09d985cb2ff0efed92a70d9d8d6f7ecdb08da7;p=chaz%2Ftar Initial revision --- diff --git a/scripts/backup-specs b/scripts/backup-specs new file mode 100644 index 0000000..1ff880e --- /dev/null +++ b/scripts/backup-specs @@ -0,0 +1,82 @@ +# site-specific parameters for file system backup. + +# User name of administrator of backups. +ADMINISTRATOR=backup-reports + +# Hour at which backups are normally done. +# This should be a number from 0 to 23. +BACKUP_HOUR=1 + +# Location of GNU tar. This must be the same for all hosts. +TAR=/usr/local/gnubin/tar + +# Device to use for dumping. It should be on the host +# on which the dump scripts are run. +TAPE_FILE=/dev/nrsmt0 + +# Command to obtain status of tape drive, including error count. +# On some tape drives there may not be such a command; +# then simply use `TAPE_STATUS=false'. +# +# Might also consider +# TAPE_STATUS="mt -f ${TAPE_FILE} status" +# if `mts' is missing, though this alternative is rather verbose. +TAPE_STATUS="mts -t ${TAPE_FILE}" + +# Blocking factor to use for writing the dump. +BLOCKING=124 + +# Name of temporary file to hold volume numbers. This needs to be accessible +# by all the machines which have filesystems to be dumped. +VOLNO_FILE=/home/gd2/dump/volnofile + +# Script to be run when it's time to insert a new tape in for the next +# volume. Administrators may want to tailor this script for their site. +# If this variable isn't set, tar will use some default behavior which is +# probably defined in the manual. +#DUMP_REMIND_SCRIPT='rsh apple-gunkies /home/gd2/dump/dump-remind' + +# List of file systems to be dumped. +# Actually, any directory may be used, but if it has subdirectories on +# other file systems, they are not included. +# The host name specifies which host to run tar on. +# It should normally be the host that actually has the file system. +# If GNU tar is not installed on that machine, then you can specify some +# other host which can access the file system through NFS. +# Although these are arranged one per line, that is not mandatory. +# It does not work to use # for comments within the string. + +BACKUP_DIRS=' + albert:/fs/fsf + sugar-bombs:/fs/gd + albert:/fs/gd2 + churchy:/fs/gd3 + nutrimat:/fs/gp + nutrimat:/fs/gp2 + albert:/fs/mailer + placebo:/archive + nutrimat:/fs/dist + albert:/ + albert:/usr + nutrimat:/ + placebo:/ + ernst:/usr1 +' + +# List of individual files to be dumped. +# These should be accesible from the machine on which the dump is run. +BACKUP_FILES='' + +# Message to display on the terminal while waiting for dump time. Usually +# this will just be some literal text, preferably something more +# entertaining than this. The awk script here saves some redundant +# repetition, but is not really all that desirable. +SLEEP_MESSAGE="`awk ' + BEGIN { + for (i = 0; i < 30; i++) + print \" \" \ + \"D O N O T T O U C H T H I S T E R M I N A L !!!!!\" + }' /dev/null`" + + +# eof