xref: /386bsd/usr/src/usr.bin/tar/backup-specs (revision a2142627)
1# site-specific parameters for file system backup.
2
3# User name of administrator of backups.
4ADMINISTRATOR=backup-reports
5
6# Hour at which backups are normally done.
7# This should be a number from 0 to 23.
8BACKUP_HOUR=1
9
10# Location of GNU tar.  This must be the same for all hosts.
11TAR=/usr/local/gnubin/tar
12
13# Device to use for dumping.  It should be on the host
14# on which the dump scripts are run.
15TAPE_FILE=/dev/nrsmt0
16
17# Command to obtain status of tape drive, including error count.
18# On some tape drives there may not be such a command;
19# then simply use `TAPE_STATUS=false'.
20#
21# Might also consider
22#    TAPE_STATUS="mt -f ${TAPE_FILE} status"
23# if `mts' is missing, though this alternative is rather verbose.
24TAPE_STATUS="mts -t ${TAPE_FILE}"
25
26# Blocking factor to use for writing the dump.
27BLOCKING=124
28
29# Name of temporary file to hold volume numbers.  This needs to be accessible
30# by all the machines which have filesystems to be dumped.
31VOLNO_FILE=/home/gd2/dump/volnofile
32
33# Script to be run when it's time to insert a new tape in for the next
34# volume.  Administrators may want to tailor this script for their site.
35# If this variable isn't set, tar will use some default behavior which is
36# probably defined in the manual.
37#DUMP_REMIND_SCRIPT='rsh apple-gunkies /home/gd2/dump/dump-remind'
38
39# List of file systems to be dumped.
40# Actually, any directory may be used, but if it has subdirectories on
41# other file systems, they are not included.
42# The host name specifies which host to run tar on.
43# It should normally be the host that actually has the file system.
44# If GNU tar is not installed on that machine, then you can specify some
45# other host which can access the file system through NFS.
46# Although these are arranged one per line, that is not mandatory.
47# It does not work to use # for comments within the string.
48
49BACKUP_DIRS='
50	albert:/fs/fsf
51	sugar-bombs:/fs/gd
52	albert:/fs/gd2
53	nutrimat:/fs/gp
54	nutrimat:/fs/gp2
55	albert:/fs/mailer
56	placebo:/archive
57        nutrimat:/fs/dist
58	albert:/
59	albert:/usr
60	nutrimat:/
61	placebo:/
62	ernst:/usr1
63'
64
65# List of individual files to be dumped.
66# These should be accesible from the machine on which the dump is run.
67BACKUP_FILES=''
68
69# Message to display on the terminal while waiting for dump time.  Usually
70# this will just be some literal text, preferably something more
71# entertaining than this.  The awk script here saves some redundant
72# repetition, but is not really all that desirable.
73SLEEP_MESSAGE="`awk '
74   BEGIN {
75      for (i = 0; i < 30; i++)
76         print \"           \" \
77               \"D O    N O T   T O U C H   T H I S   T E R M I N A L !!!!!\"
78   }' /dev/null`"
79
80
81# eof
82