]> Dogcows Code - chaz/tar/blob - scripts/backup-specs
Give credit to Andreas Schuldei.
[chaz/tar] / scripts / backup-specs
1 # site-specific parameters for file system backup.
2
3 # User name of administrator of backups.
4 ADMINISTRATOR=backup-reports
5
6 # Hour at which backups are normally done.
7 # This should be a number from 0 to 23.
8 BACKUP_HOUR=1
9
10 # Location of GNU tar. This must be the same for all hosts.
11 TAR=/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.
15 TAPE_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.
24 TAPE_STATUS="mts -t ${TAPE_FILE}"
25
26 # Blocking factor to use for writing the dump.
27 BLOCKING=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.
31 VOLNO_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
49 BACKUP_DIRS='
50 albert:/fs/fsf
51 sugar-bombs:/fs/gd
52 albert:/fs/gd2
53 churchy:/fs/gd3
54 nutrimat:/fs/gp
55 nutrimat:/fs/gp2
56 albert:/fs/mailer
57 placebo:/archive
58 nutrimat:/fs/dist
59 albert:/
60 albert:/usr
61 nutrimat:/
62 placebo:/
63 ernst:/usr1
64 '
65
66 # List of individual files to be dumped.
67 # These should be accesible from the machine on which the dump is run.
68 BACKUP_FILES=''
69
70 # Message to display on the terminal while waiting for dump time. Usually
71 # this will just be some literal text, preferably something more
72 # entertaining than this. The awk script here saves some redundant
73 # repetition, but is not really all that desirable.
74 SLEEP_MESSAGE="`awk '
75 BEGIN {
76 for (i = 0; i < 30; i++)
77 print \" \" \
78 \"D O N O T T O U C H T H I S T E R M I N A L !!!!!\"
79 }' /dev/null`"
80
81
82 # eof
This page took 0.036874 seconds and 4 git commands to generate.