# Tape device.  Use the non-rewinding one for these scripts.
# 
# For SCSI tapes this is /dev/nst#, where # is the number of the
# tape drive you want to use.  If you only have one then use
# nst0.
#
# For IDE tapes you use /dev/ht#, where # is the number of the tape
# drive you want to use (usually ht0).
#
# For floppy tape drives use /dev/ftape.
#
DEV=/dev/nst0

# Person to mail to if the backup fails for any reason
ADMIN=root

# Time to sleep between tape operations.  Some drives need a bit
# more than others, but 5 seems to work for 8mm, 4mm, and DLT
SLEEP=5

# This worked fine for 8mm, then 4mm, and now DLT.  An optimal
# setting is probably however much data your drive writes at one
# time.
BLOCKSIZE=32768

# A short date string, used in backup log filenames.
SHORTDATE=$(date +%y:%m:%d:%H:%M)

# This is used for the log file directory.
DAY=$(date +log-%y:%m:%d)

# Regular date string, used in log files.
DATE=$(date)

# Root of the logging directory
LOGROOT=/var/log/backup

# This is the file name the incremental backup will use to store
# the incremental list.  It will be $LIST-{some number}.
LIST=$LOGROOT/incremental-list

# For counting as you go to know which incremental list to use
DOTCOUNT=$LOGROOT/.count

# For rewinding when done...might not use.
COUNTER=$LOGROOT/counter-file

# The file we keep our list of backup(s) we want to make.
BACKUPTAB=/etc/backuptab

