Imported Debian patch 2.4.4p3-2
[debian/amanda] / debian / amanda.conf.in
1 #
2 # amanda.conf - sample Amanda configuration file.  
3 #
4 # If your configuration is called, say, "DailySet1", then this file
5 # normally goes in /etc/amanda/DailySet1/amanda.conf.
6
7 # for explanation of the parameters refer to amanda(8) and
8 # /usr/doc/amanda/WHATS.NEW.gz 
9
10 org "DailySet1"         # your organization name for reports
11 mailto "root"           # space separated list of operators at your site
12 dumpuser "backup"       # the user to run dumps under
13 #
14 inparallel 4            # maximum dumpers that will run in parallel
15 netusage  600           # maximum net bandwidth for Amanda, in KB per sec
16
17 # a filesystem is due for a full backup once every <dumpcycle> days
18 dumpcycle 4 weeks       # the number of days in the normal dump cycle
19 tapecycle 8 tapes       # the number of tapes in rotation
20
21 bumpsize 20 MB          # minimum savings (threshold) to bump level 1 -> 2
22 bumpdays     1          # minimum days at each level
23 bumpmult     4          # threshold = bumpsize * (level-1)**bumpmult
24
25 #runtapes     9         # explained in WHATS.NEW
26 #tpchanger "no-changer" # the tape-changer glue script, see TAPE.CHANGERS
27 tapedev "/dev/nst0"     # Linux @ tuck, important: norewinding
28 # tapedev "/dev/nrst8"  # or use the (no-rewind!) tape device directly
29
30 tapetype HP-DAT         # what kind of tape it is (see tapetypes below)
31 labelstr "^HISS[0-9][0-9]*$"    # label constraint regex: all tapes must match
32
33 diskdir "/space"                # where the holding disk is
34 disksize 290 MB                 # how much space can we use on it
35 #diskdir "/dumps/amanda/work"   # additionaly holding disks can be specified
36 #diskdir "/mnt/disk4"
37 #disksize 1000 MB               #       they are used round-robin
38
39
40 # Amanda needs a few MB of diskspace for the log and debug files,
41 # as well as a database.  This stuff can grow large, so the conf directory
42 # isn't usually appropriate.
43
44 infofile "/var/lib/amanda/DailySet1/curinfo"    # database filename
45 logfile  "/var/log/amanda/DailySet1/log"        # log filename
46
47 # where the index files live
48 indexdir "/var/lib/amanda/DailySet1/index"
49
50 # tapetypes
51 #
52 # Define the type of tape you use here, and use it in "tapetype" above.
53 # Some typical types of tapes are included here.  The tapetype tells amanda
54 # how many MB will fit on the tape, how big the filemarks are, and how
55 # fast the tape device is.
56 #
57 # For completeness Amanda should calculate the inter-record gaps too, but it
58 # doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using 9 tracks for
59 # amanda and need IRG calculations?  Drop me a note if so.
60
61 define tapetype QIC-60 {
62     comment "Archive Viper"
63     length 60 mbytes
64     filemark 100 kbytes         # don't know a better value
65     speed 100 kbytes            # dito
66 }
67
68 define tapetype DEC-DLT2000 {
69     comment "DEC Differential Digital Linear Tape 2000"
70     length 15000 mbytes
71     filemark 8 kbytes
72     speed 1250 kbytes
73 }
74
75 # goluboff@butch.Colorado.EDU
76 # in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)
77 define tapetype DLT {
78     comment "DLT tape drives"
79     length 20000 mbytes         # 20 Gig tapes
80     filemark 2000 kbytes        # I don't know what this means
81     speed 1500 kbytes
82 }
83
84 define tapetype SURESTORE-1200E {
85     comment "HP AutoLoader"
86     length 3900 mbytes
87     filemark 100 kbytes
88     speed 500 kbytes
89 }
90
91 define tapetype EXB-8500 {
92     comment "Exabyte EXB-8500 drive on decent machine"
93     length 4200 mbytes
94     filemark 48 kbytes
95     speed 474 kbytes                    
96 }
97
98 define tapetype EXB-8200 {
99     comment "Exabyte EXB-8200 drive on decent machine"
100     length 2200 mbytes
101     filemark 2130 kbytes
102     speed 240 kbytes                    
103 }
104
105 define tapetype HP-DAT {
106     comment "DAT tape drives"
107     length 1900 mbytes          # these numbers are not accurate
108     filemark 100 kbytes         # but you get the idea
109     speed 500 kbytes
110 }
111
112 define tapetype DAT {
113     comment "DAT tape drives"
114     length 1000 mbytes          # these numbers are not accurate
115     filemark 100 kbytes         # but you get the idea
116     speed 100 kbytes
117 }
118
119 define tapetype MIMSY-MEGATAPE {
120     comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
121     length 2200 mbytes
122     filemark 2130 kbytes
123     speed 170 kbytes            # limited by the Emulex bus interface, ugh
124 }
125
126 define tapetype QIC-3080 {
127     comment "QIC 3080"
128     length 2000 mbytes
129     filemark 64 kbytes
130     speed 250 kbytes
131 }
132
133 # dumptypes
134 #
135 # These are referred to by the disklist file.  The dumptype specifies
136 # certain "options" for dumping including:
137 #       index           - keep an index of the files backed up
138 #       compress-fast   - (default) compress on the client using fast algorithm
139 #       compress-best   - compress using the best (and slowww) algorithm
140 #       no-compress     - don't compress the dump output
141 #       srvcompress     - Compress dumps on the tape host instead of client
142 #                         machines.  This may be useful when a fast tape host
143 #                         is backing up slow clients.
144 #       record          - (default) record the dump in /etc/dumpdates
145 #       no-record       - don't record the dump, for testing
146 #       no-hold         - don't go to the holding disk, good for dumping
147 #                         the holding disk partition itself.
148 #       skip-full       - Skip the disk when a level 0 is due, to allow
149 #                         full backups outside Amanda, eg when the machine
150 #                         is in single-user mode.
151 #       skip-incr       - Skip the disk when the level 0 is NOT due.  This
152 #                         is used in archive configurations, where only full
153 #                         dumps are done and the tapes saved.
154 #       no-full         - Do a level 1 every night.  This can be used, for
155 #                         example, for small root filesystems that only change
156 #                         slightly relative to a site-wide prototype.  Amanda
157 #                         then backs up just the changes.
158 #
159 # Also, the dumptype specifies the priority level, where "low", "medium" and
160 # "high" are the allowed levels.  These are only really used when Amanda has
161 # no tape to write to because of some error.  In that "degraded mode", as
162 # many incrementals as will fit on the holding disk are done, higher priority
163 # first, to insure the important disks are dumped first.
164
165 define dumptype always-full {
166     comment "Full dump of this filesystem always"
167     options no-compress
168     priority high
169     dumpcycle 0
170     maxcycle 0
171 }
172
173 define dumptype comp-user-tar {
174     program "GNUTAR"
175     comment "partitions dumped with tar"
176     options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar"
177     priority medium
178 }
179
180 define dumptype comp-root-tar {
181     program "GNUTAR"
182     comment "Root partitions with compression"
183     options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar"
184     priority low
185 }
186
187 define dumptype user-tar {
188     program "GNUTAR"
189     comment "partitions dumped with tar"
190     options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
191     priority medium
192 }
193
194 define dumptype high-tar {
195     program "GNUTAR"
196     comment "partitions dumped with tar"
197     options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
198     priority high
199 }
200
201 define dumptype root-tar {
202     program "GNUTAR"
203     comment "Root partitions dumped with tar"
204     options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
205     priority low
206 }
207
208 define dumptype comp-user {
209     comment "Non-root partitions on reasonably fast machines"
210     options compress-fast
211     priority medium
212 }
213
214 define dumptype nocomp-user {
215     comment "Non-root partitions on slow machines"
216     options no-compress
217     priority medium
218 }
219
220 define dumptype holding-disk {
221     comment "The master-host holding disk itself"
222     options no-hold
223     priority medium
224 }
225
226 define dumptype comp-root {
227     comment "Root partitions with compression"
228     options compress-fast
229     priority low
230 }
231
232 define dumptype nocomp-root {
233     comment "Root partitions without compression"
234     options no-compress
235     priority low
236 }
237
238 define dumptype comp-high {
239     comment "very important partitions on fast machines"
240     options compress-best
241     priority high
242 }
243
244 define dumptype nocomp-high {
245     comment "very important partitions on slow machines"
246     options no-compress
247     priority high
248 }
249
250 define dumptype nocomp-test {
251     comment "test dump without compression, no /etc/dumpdates recording"
252     options no-compress, no-record
253     priority medium
254 }
255
256 define dumptype comp-test {
257     comment "test dump with compression, no /etc/dumpdates recording"
258     options compress-fast, no-record
259     priority medium
260 }