Imported Upstream version 2.5.1
[debian/amanda] / example / amanda.conf.in
1 # amanda.conf - sample Amanda configuration file. See amanda.conf(5) for 
2 # details
3
4 org      "@DEFAULT_CONFIG@"     # your organization name for reports
5 mailto   "@CLIENT_LOGIN@"       # space separated list of operators at your site
6 dumpuser "@CLIENT_LOGIN@"       # the user to run dumps under
7
8 inparallel 4            # maximum dumpers that will run in parallel (max 63)
9                         # this maximum can be increased at compile-time,
10                         # modifying MAX_DUMPERS in server-src/driverio.h
11 dumporder "sssS"        # specify the priority order of each dumper
12                         #   s -> smallest size
13                         #   S -> biggest size
14                         #   t -> smallest time
15                         #   T -> biggest time
16                         #   b -> smallest bandwitdh
17                         #   B -> biggest bandwitdh
18                         # try "BTBTBTBTBTBT" if you are not holding
19                         # disk constrained
20
21 taperalgo first         # The algorithm used to choose which dump image to send
22                         # to the taper.
23                         # Possible values: 
24                         # [first|firstfit|largest|largestfit|smallest|last]
25                         # Default: first. 
26                         # first         First in - first out.
27                         # firstfit      The first dump image that will fit 
28                         #               on the current tape.
29                         # largest       The largest dump image.
30                         # largestfit    The largest dump image that will fit 
31                         #               on the current tape.
32                         # smallest      The smallest dump image.
33                         # last          Last in - first out.
34
35 displayunit "k"         # Possible values: "k|m|g|t"
36                         # Default: k. 
37                         # The unit used to print many numbers.
38                         # k=kilo, m=mega, g=giga, t=tera
39                         
40 netusage  600 Kbps      # maximum net bandwidth for Amanda, in KB per sec
41
42 dumpcycle 4 weeks       # the number of days in the normal dump cycle
43 runspercycle 20         # the number of amdump runs in dumpcycle days
44                         # (4 weeks * 5 amdump runs per week -- just weekdays)
45 tapecycle 25 tapes      # the number of tapes in rotation
46                         # 4 weeks (dumpcycle) times 5 tapes per week (just
47                         # the weekdays) plus a few to handle errors that
48                         # need amflush and so we do not overwrite the full
49                         # backups performed at the beginning of the previous
50                         # cycle
51
52 bumpsize 20 Mb          # minimum savings (threshold) to bump level 1 -> 2
53 bumppercent 20          # minimum savings (threshold) to bump level 1 -> 2
54 bumpdays 1              # minimum days at each level
55 bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)
56
57 etimeout 300            # number of seconds per filesystem for estimates.
58 dtimeout 1800           # number of idle seconds before a dump is aborted.
59 ctimeout 30             # maximum number of seconds that amcheck waits
60                         # for each client host
61  
62 tapebufs 20             # A positive integer telling taper how many 
63                         # 32k buffers to allocate.  The default is 20 (640k).
64
65 # By default, Amanda can only track at most one run per calendar day. When
66 # the usetimestamps option is enabled, however, Amanda can track as many
67 # runs as you care to make.
68 # WARNING: This option is not backward-compatible. Do not enable it if you
69 #          intend to downgrade your server installation to Amanda community 
70 #          edition 2.5
71 usetimestamps yes
72
73
74 # Specify tape device and/or tape changer.  If you don't have a tape
75 # changer, and you don't want to use more than one tape per run of
76 # amdump, just comment out the definition of tpchanger.
77
78 # Some tape changers require tapedev to be defined; others will use
79 # their own tape device selection mechanism.  Some use a separate tape
80 # changer device (changerdev), others will simply ignore this
81 # parameter.  Some rely on a configuration file (changerfile) to
82 # obtain more information about tape devices, number of slots, etc;
83 # others just need to store some data in files, whose names will start
84 # with changerfile.  
85
86 # At most one changerfile entry must be defined; select the most
87 # appropriate one for your configuration.  If you select man-changer,
88 # keep the first one; if you decide not to use a tape changer, you may
89 # comment them all out.
90
91 runtapes 1                      # number of tapes to be used in a single run of amdump
92 tpchanger "chg-manual"          # the tape-changer glue script
93 tapedev "@DEFAULT_TAPE_DEVICE@" # the no-rewind tape device to be used
94 rawtapedev "@DEFAULT_RAW_TAPE_DEVICE@"  # the raw device to be used (ftape only)
95 #changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer"
96 #changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer-status"
97 changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
98 changerdev "@DEFAULT_CHANGER_DEVICE@"
99
100 # If you want Amanda to automatically label any non-Amanda tapes it
101 # encounters, uncomment the line below. Note that this will ERASE any
102 # non-Amanda tapes you may have, and may also ERASE any near-failing tapes.
103 # Use with caution.
104 ## label_new_tapes "@DEFAULT_CONFIG@-%%%"
105
106 maxdumpsize -1          # Maximum number of bytes the planner will schedule
107                         # for a run (default: runtapes * tape_length).
108 tapetype HP-DAT         # what kind of tape it is (see tapetypes below)
109 labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"       # label constraint regex: all tapes must match
110
111 amrecover_do_fsf yes            # amrecover will call amrestore with the
112                                 # -f flag for faster positioning of the tape.
113 amrecover_check_label yes       # amrecover will call amrestore with the
114                                 # -l flag to check the label.
115 amrecover_changer "@DEFAULT_TAPE_DEVICE@"       # amrecover will use the changer if you restore
116                                 # from this device.
117                                 # It could be a string like 'changer' and
118                                 # amrecover will use your changer if you
119                                 # set your tape with 'settape changer'
120
121 # Specify holding disks.  These are used as a temporary staging area for
122 # dumps before they are written to tape and are recommended for most sites.
123 # The advantages include: tape drive is more likely to operate in streaming
124 # mode (which reduces tape and drive wear, reduces total dump time); multiple
125 # dumps can be done in parallel (which can dramatically reduce total dump time.
126 # The main disadvantage is that dumps on the holding disk need to be flushed
127 # (with amflush) to tape after an operating system crash or a tape failure.
128 # If no holding disks are specified then all dumps will be written directly
129 # to tape.  If a dump is too big to fit on the holding disk than it will be
130 # written directly to tape.  If more than one holding disk is specified then
131 # they will all be used based on activity and available space.
132
133 holdingdisk hd1 {
134     comment "main holding disk"
135     directory "/dumps/amanda"   # where the holding disk is
136     use -100 Mb                 # how much space can we use on it
137                                 # a non-positive value means:
138                                 # use all space but that value
139     chunksize 1Gb       # size of chunk if you want big dump to be
140                         # dumped on multiple files on holding disks
141                         #  N Kb/Mb/Gb split images in chunks of size N
142                         #             The maximum value should be
143                         #             (MAX_FILE_SIZE - 1Mb)
144                         #  0          same as INT_MAX bytes
145     }
146 #holdingdisk hd2 {
147 #    directory "/dumps2/amanda"
148 #    use 1000 Mb
149 #    }
150 #holdingdisk hd3 {
151 #    directory "/mnt/disk4"
152 #    use 1000 Mb
153 #    }
154
155
156 # If amanda cannot find a tape on which to store backups, it will run
157 # as many backups as it can to the holding disks.  In order to save
158 # space for unattended backups, by default, amanda will only perform
159 # incremental backups in this case, i.e., it will reserve 100% of the
160 # holding disk space for the so-called degraded mode backups.
161 # However, if you specify a different value for the `reserve'
162 # parameter, amanda will not degrade backups if they will fit in the
163 # non-reserved portion of the holding disk.
164
165 # reserve 30 # percent
166 # This means save at least 30% of the holding disk space for degraded
167 # mode backups.  
168
169 autoflush no #
170 # if autoflush is set to yes, then amdump will schedule all dump on
171 # holding disks to be flush to tape during the run.
172
173 # The format for a ColumnSpec is a ',' seperated list of triples.
174 # Each triple consists of
175 #   + the name of the column (as in ColumnNameStrings)
176 #   + prefix before the column
177 #   + the width of the column, if set to -1 it will be recalculated
178 #     to the maximum length of a line to print.
179 # Example:
180 #       "Disk=1:17,HostName=1:10,OutKB=1:7"
181 # or
182 #       "Disk=1:-1,HostName=1:10,OutKB=1:7"
183 #        
184 # You need only specify those colums that should be changed from
185 # the default. If nothing is specified in the configfile, the
186 # above compiled in values will be in effect, resulting in an
187 # output as it was all the time.
188 # The names of the colums are:
189 # HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
190 # TapeTime and TapeRate.
191 #                                                       ElB, 1999-02-24.
192 # columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"
193
194
195 # Amanda needs a few Mb of diskspace for the log and debug files,
196 # as well as a database.  This stuff can grow large, so the conf directory
197 # isn't usually appropriate.  Some sites use /usr/local/var and some /usr/adm.
198 # Create an amanda directory under there.  You need a separate infofile and
199 # logdir for each configuration, so create subdirectories for each conf and
200 # put the files there.  Specify the locations below.
201
202 # Note that, although the keyword below is infofile, it is only so for
203 # historic reasons, since now it is supposed to be a directory (unless
204 # you have selected some database format other than the `text' default)
205 infofile "@CONFIG_DIR@/@DEFAULT_CONFIG@/curinfo"        # database DIRECTORY
206 logdir   "@CONFIG_DIR@/@DEFAULT_CONFIG@"                # log directory
207 indexdir "@CONFIG_DIR@/@DEFAULT_CONFIG@/index"          # index directory
208 #tapelist "@CONFIG_DIR@/@DEFAULT_CONFIG@/tapelist"      # list of used tapes
209 # tapelist is stored, by default, in the directory that contains amanda.conf
210
211 # tapetypes
212
213 # Define the type of tape you use here, and use it in "tapetype"
214 # above.  Some typical types of tapes are included here.  The tapetype
215 # tells amanda how many MB will fit on the tape, how big the filemarks
216 # are, and how fast the tape device is.
217
218 # A filemark is the amount of wasted space every time a tape section
219 # ends.  If you run `make tapetype' in tape-src, you'll get a program
220 # that generates tapetype entries, but it is slow as hell, use it only
221 # if you really must and, if you do, make sure you post the data to
222 # the amanda mailing list, so that others can use what you found out
223 # by searching the archives.
224
225 # For completeness Amanda should calculate the inter-record gaps too,
226 # but it doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using
227 # 9 tracks for amanda and need IRG calculations?  Drop me a note if
228 # so.
229
230 # If you want amanda to print postscript paper tape labels
231 # add a line after the comment in the tapetype of the form
232 #    lbl-templ "/path/to/postscript/template/label.ps"
233
234 # if you want the label to go to a printer other than the default
235 # for your system, you can also add a line above for a different
236 # printer. (i usually add that line after the dumpuser specification)
237
238 # dumpuser "operator"     # the user to run dumps under
239 # printer "mypostscript"  # printer to print paper label on
240
241 # here is an example of my definition for an EXB-8500
242
243 # define tapetype EXB-8500 {
244 # ...
245 #     lbl-templ "@CONFIG_DIR@/config/lbl.exabyte.ps"
246 # }
247
248
249 define tapetype QIC-60 {
250     comment "Archive Viper"
251     length 60 mbytes
252     filemark 100 kbytes         # don't know a better value
253     speed 100 kbytes            # dito
254 }
255
256 define tapetype DEC-DLT2000 {
257     comment "DEC Differential Digital Linear Tape 2000"
258     length 15000 mbytes
259     filemark 8 kbytes
260     speed 1250 kbytes
261 }
262
263 # goluboff@butch.Colorado.EDU
264 # in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)
265 define tapetype DLT {
266     comment "DLT tape drives"
267     length 20000 mbytes         # 20 Gig tapes
268     filemark 2000 kbytes        # I don't know what this means
269     speed 1536 kbytes           # 1.5 Mb/s
270 }
271
272 define tapetype SURESTORE-1200E {
273     comment "HP AutoLoader"
274     length 3900 mbytes
275     filemark 100 kbytes
276     speed 500 kbytes
277 }
278
279 define tapetype EXB-8500 {
280     comment "Exabyte EXB-8500 drive on decent machine"
281     length 4200 mbytes
282     filemark 48 kbytes
283     speed 474 kbytes                    
284 }
285
286 define tapetype EXB-8200 {
287     comment "Exabyte EXB-8200 drive on decent machine"
288     length 2200 mbytes
289     filemark 2130 kbytes
290     speed 240 kbytes                    
291 }
292
293 define tapetype HP-DAT {
294     comment "DAT tape drives"
295     # data provided by Rob Browning <rlb@cs.utexas.edu>
296     length 1930 mbytes
297     filemark 111 kbytes
298     speed 468 kbytes
299 }
300
301 define tapetype DAT {
302     comment "DAT tape drives"
303     length 1000 mbytes          # these numbers are not accurate
304     filemark 100 kbytes         # but you get the idea
305     speed 100 kbytes
306 }
307
308 define tapetype MIMSY-MEGATAPE {
309     comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
310     length 2200 mbytes
311     filemark 2130 kbytes
312     speed 170 kbytes            # limited by the Emulex bus interface, ugh
313 }
314
315
316 # dumptypes
317 #
318 # These are referred to by the disklist file.  The dumptype specifies
319 # certain parameters for dumping including:
320 #   auth        - authentication scheme to use between server and client.
321 #                 Valid values are "bsd", "krb4", "krb5" and "ssh".  
322 #                 Default: [auth bsd]
323 #   comment     - just a comment string
324 #   comprate    - set default compression rate.  Should be followed by one or
325 #                 two numbers, optionally separated by a comma.  The 1st is
326 #                 the full compression rate; the 2nd is the incremental rate.
327 #                 If the second is omitted, it is assumed equal to the first.
328 #                 The numbers represent the amount of the original file the
329 #                 compressed file is expected to take up.
330 #                 Default: [comprate 0.50, 0.50]
331 #   compress    - specify compression of the backed up data.  Valid values are:
332 #                 "none"        - don't compress the dump output.
333 #                 "client best" - compress on the client using the best (and
334 #                                 probably slowest) algorithm.
335 #                 "client fast" - compress on the client using fast algorithm.
336 #                 "client custom" - compress using your custom client compression program.
337 #                                   use client_custom_compress "PROG" to specify
338 #                                   the custom compression program.
339 #                                   PROG must not contain white space.
340 #                 "server best" - compress on the tape host using the best (and
341 #                                 probably slowest) algorithm.
342 #                 "server fast" - compress on the tape host using a fast
343 #                                 algorithm.  This may be useful when a fast
344 #                                 tape host is backing up slow clients.
345 #                 "server custom" - compress using your server custom compression program.
346 #                                   use server_custom_compress "PROG" to specify
347 #                                   the custom compression program.
348 #                                   PROG must not contain white space.
349 #                 Default: [compress client fast]
350 #   dumpcycle   - set the number of days in the dump cycle, ie, set how often a
351 #                 full dump should be performed.  Default: from DUMPCYCLE above
352 #   estimate      Determine the way AMANDA does it's estimate. 
353 #                 "client"      - Use the same program as the dumping program,
354 #                               this is the most accurate way to do estimates, 
355 #                               but it can take a long time.
356 #                 "calcsize"    - Use a faster program to do estimates, but the
357 #                               result is less accurate.
358 #                 "server"      - Use only statistics from the previous run to 
359 #                               give an estimate, 
360 #                               it takes only a few seconds but the result is not 
361 #                               accurate if your disk usage changes from day to day.
362 #                 Default: [client]
363 #   encrypt  - specify encryption of the backed up data. Valid values are:
364 #                 "none"   - don't encrypt the dump output.
365 #                 "client" - encrypt on the client using the program specified by 
366 #                            client_encrypt "PROG".
367 #                            Use client_decrypt_option to specify the decrypt- 
368 #                            parameter, default is "-d".
369 #                            PROG and decrypt-parameter must not contain white space.     
370 #                 "server" - encrypt on the server using the program specified by 
371 #                            server_encrypt "PROG".
372 #                            Use server_decrypt_option to specify the decrypt- 
373 #                            parameter, default is "-d".
374 #                            PROG and decrypt-parameter must not contain white space.
375 #                 Default: [none]
376 #   exclude     - specify files and directories to be excluded from the dump.
377 #                 Useful with gnutar only; silently ignored by dump and samba.
378 #                 Valid values are:
379 #                 "pattern"       - a shell glob pattern defining which files
380 #                                   to exclude.
381 #                                   gnutar gets --exclude="pattern"
382 #                 list "filename" - a file (on the client!) containing patterns
383 #                                   re's (1 per line) defining which files to
384 #                                   exclude.
385 #                                   gnutar gets --exclude-from="filename"
386 #                 Note that the `full pathname' of a file within its
387 #                 filesystem starts with `./', because of the way amanda runs
388 #                 gnutar: `tar -C $mountpoint -cf - --lots-of-options .' (note
389 #                 the final dot!)  Thus, if you're backing up `/usr' with a
390 #                 diskfile entry like ``host /usr gnutar-root', but you don't
391 #                 want to backup /usr/tmp, your exclude list should contain
392 #                 the pattern `./tmp', as this is relative to the `/usr' above.
393 #                 Please refer to the man-page of gnutar for more information.
394 #                 If a relative pathname is specified as the exclude list,
395 #                 it is searched from within the directory that is
396 #                 going to be backed up.
397 #                 Default: include all files
398 #   holdingdisk - should the holding disk be used for this dump.  Useful for
399 #                 dumping the holding disk itself.  Default: [holdingdisk auto]
400 #                 "never"    - Never use the holding disk.
401 #                 "auto"     - Use the holding disk if possible.
402 #                 "required" - Always use the holding disk.
403 #   ignore      - do not back this filesystem up.  Useful for sharing a single
404 #                 disklist in several configurations.
405 #   index       - keep an index of the files backed up.  Default: [index no]
406 #   kencrypt    - encrypt the data stream between the client and server.
407 #                 Default: [kencrypt no]
408 #   maxdumps    - max number of concurrent dumps to run on the client.
409 #                 Default: [maxdumps 1]
410 #   maxpromoteday - max number of day for a promotion, set it 0 if you don't
411 #                 want promotion, set it to 1 or 2 if your disk get
412 #                 overpromoted.
413 #                 Default: [10000]
414 #   priority    - priority level of the dump.  Valid levels are "low", "medium"
415 #                 or "high".  These are really only used when Amanda has no
416 #                 tape to write to because of some error.  In that "degraded
417 #                 mode", as many incrementals as will fit on the holding disk
418 #                 are done, higher priority first, to insure the important
419 #                 disks are at least dumped.  Default: [priority medium]
420 #   program     - specify the dump system to use.  Valid values are "DUMP",
421 #                 or "GNUTAR".  Default: [program "DUMP"].
422 #   record      - record the backup in the time-stamp-database of the backup
423 #                 program (e.g. /etc/dumpdates for DUMP or
424 #                 @GNUTAR_LISTED_INCREMENTAL_DIRX@ for GNUTAR.).
425 #                 Default: [record yes]
426 #   skip-full   - skip the disk when a level 0 is due, to allow full backups
427 #                 outside Amanda, eg when the machine is in single-user mode.
428 #   skip-incr   - skip the disk when the level 0 is NOT due.  This is used in
429 #                 archive configurations, where only full dumps are done and
430 #                 the tapes saved.
431 #   starttime   - delay the start of the dump?  Default: no delay
432 #   strategy    - set the dump strategy.  Valid strategies are currently:
433 #                 "standard" - the standard one.
434 #                 "nofull"   - do level 1 dumps every time.  This can be used,
435 #                              for example, for small root filesystems that
436 #                              only change slightly relative to a site-wide
437 #                              prototype.  Amanda then backs up just the
438 #                              changes.
439 #                 "noinc"    - do level 0 dumps every time.
440 #                 "skip"     - skip all dumps.  Useful for sharing a single
441 #                              disklist in several configurations.
442 #                 "incronly" - do only incremental dumps. This is similar
443 #                              to strategy 'nofull', but will increase
444 #                              the dump level as usual. Full dumps will
445 #                              only be performed when an 'amadmin force' 
446 #                              has been issued 
447 #                 Default: [strategy standard]
448 # tape_splitsize - (optional) split dump file into pieces of a specified size.
449 #                 This allows dumps to be spread across multiple tapes, and can
450 #                 potentially make more efficient use of tape space.  Note that
451 #                 if this value is too large (more than half the size of the
452 #                 average dump being split), substantial tape space can be
453 #                 wasted.  If too small, large dumps will be split into
454 #                 innumerable tiny dumpfiles, adding to restoration complexity.
455 #                 A good rule of thumb, usually, is 1/10 of the size of your
456 #                 tape.  Default: [disabled]
457 # split_diskbuffer - (optional) When dumping a split dump  in  PORT-WRITE
458 #                 mode (usually meaning "no holding disk"), buffer the split
459 #                 chunks to a file in the directory specified by this option.
460 #                 Default: [none]
461 # fallback_splitsize - (optional) When dumping a split dump  in  PORT-WRITE
462 #                 mode, if no split_diskbuffer is specified (or if we somehow
463 #                 fail to use our split_diskbuffer), we must buffer split
464 #                 chunks in memory.  This specifies the maximum size split
465 #                 chunks can be in this scenario, and thus the maximum amount
466 #                 of memory consumed for in-memory splitting.  Default: [10m]
467 #
468 # Note that you may specify previously defined dumptypes as a shorthand way of
469 # defining parameters.
470
471 define dumptype global {
472     comment "Global definitions"
473     # This is quite useful for setting global parameters, so you don't have
474     # to type them everywhere.  All dumptype definitions in this sample file
475     # do include these definitions, either directly or indirectly.
476     # There's nothing special about the name `global'; if you create any
477     # dumptype that does not contain the word `global' or the name of any
478     # other dumptype that contains it, these definitions won't apply.
479     # Note that these definitions may be overridden in other
480     # dumptypes, if the redefinitions appear *after* the `global'
481     # dumptype name.
482     # You may want to use this for globally enabling or disabling
483     # indexing, recording, etc.  Some examples:
484     # index yes
485     # record no
486     # split_diskbuffer "/raid/amanda"
487     # fallback_splitsize 64m
488 }
489
490 define dumptype always-full {
491     global
492     comment "Full dump of this filesystem always"
493     compress none
494     priority high
495     dumpcycle 0
496 }
497
498 # Dumptypes for gnutar
499 define dumptype root-tar {
500     global
501     program "GNUTAR"
502     comment "root partitions dumped with tar"
503     compress none
504     index
505 #   exclude list "@CONFIG_DIR@/exclude.gtar"
506     priority low
507 }
508
509 define dumptype user-tar {
510     root-tar
511     comment "user partitions dumped with tar"
512     priority medium
513 }
514
515 define dumptype user-tar-span {
516     root-tar
517     tape_splitsize 3 Gb
518     comment "tape-spanning user partitions dumped with tar"
519     priority medium
520 }
521
522 define dumptype high-tar {
523     root-tar
524     comment "partitions dumped with tar"
525     priority high
526 }
527
528 define dumptype comp-root-tar {
529     root-tar
530     comment "Root partitions with compression"
531     compress client fast
532 }
533
534 define dumptype comp-user-tar {
535     user-tar
536     compress client fast
537 }
538
539 define dumptype comp-user-tar-span {
540     user-tar-span
541     compress client fast
542 }
543
544 define dumptype holding-disk {
545     global
546     comment "The master-host holding disk itself"
547     holdingdisk never # do not use the holding disk
548     priority medium
549 }
550
551 define dumptype comp-user {
552     global
553     comment "Non-root partitions on reasonably fast machines"
554     compress client fast
555     priority medium
556 }
557
558 define dumptype comp-user-span {
559     global
560     tape_splitsize 5 Gb
561     comment "Tape-spanning non-root partitions on reasonably fast machines"
562     compress client fast
563     priority medium
564 }
565
566 define dumptype nocomp-user {
567     comp-user
568     comment "Non-root partitions on slow machines"
569     compress none
570 }
571
572 define dumptype nocomp-user-span {
573     comp-user-span
574     comment "Tape-spanning non-root partitions on slow machines"
575     compress none
576 }
577
578 define dumptype comp-root {
579     global
580     comment "Root partitions with compression"
581     compress client fast
582     priority low
583 }
584
585 define dumptype nocomp-root {
586     comp-root
587     comment "Root partitions without compression"
588     compress none
589 }
590
591 define dumptype comp-high {
592     global
593     comment "very important partitions on fast machines"
594     compress client best
595     priority high
596 }
597
598 define dumptype nocomp-high {
599     comp-high
600     comment "very important partitions on slow machines"
601     compress none
602 }
603
604 define dumptype nocomp-test {
605     global
606     comment "test dump without compression, no /etc/dumpdates recording"
607     compress none
608     record no
609     priority medium
610 }
611
612 define dumptype comp-test {
613     nocomp-test
614     comment "test dump with compression, no /etc/dumpdates recording"
615     compress client fast
616 }
617
618 define dumptype custom-compress {
619    global
620    program "GNUTAR"
621    comment "custom client compression dumped with tar"
622    compress client custom
623    client_custom_compress "/usr/bin/bzip2"
624 }
625
626 define dumptype server-encrypt-fast {
627    global
628    program "GNUTAR"
629    comment "fast client compression and server symmetric encryption"
630    compress client fast
631    encrypt server
632    server_encrypt "/usr/sbin/amcrypt"
633    server_decrypt_option "-d"
634 }
635
636 define dumptype client-encrypt-nocomp {
637    global
638    program "GNUTAR"
639    comment "no compression and client symmetric encryption"
640    compress none
641    encrypt client
642    client_encrypt "/usr/sbin/amcrypt"
643    client_decrypt_option "-d"
644 }
645
646
647 # To use gpg public-key encryption, gpg does compress with zlib by default.
648 # Thus, no need to specify compress
649
650 #define dumptype gpg-encrypt {
651 #    global
652 #    program "GNUTAR"
653 #    comment "server public-key encryption, dumped with tar"
654 #    compress none
655 #    encrypt server
656 #    server_encrypt "/usr/sbin/amgpgcrypt"
657 #    server_decrypt_option "-d"
658 #}
659
660
661 # network interfaces
662 #
663 # These are referred to by the disklist file.  They define the attributes
664 # of the network interface that the remote machine is accessed through.
665 # Notes: - netusage above defines the attributes that are used when the
666 #          disklist entry doesn't specify otherwise.
667 #        - the values below are only samples.
668 #        - specifying an interface does not force the traffic to pass
669 #          through that interface.  Your OS routing tables do that.  This
670 #          is just a mechanism to stop Amanda trashing your network.
671 # Attributes are:
672 #       use             - bandwidth above which amanda won't start
673 #                         backups using this interface.  Note that if
674 #                         a single backup will take more than that,
675 #                         amanda won't try to make it run slower!
676
677 define interface local {
678     comment "a local disk"
679     use 1000 kbps
680 }
681
682 define interface le0 {
683     comment "10 Mbps ethernet"
684     use 400 kbps
685 }
686
687 # You may include other amanda configuration files, so you can share
688 # dumptypes, tapetypes and interface definitions among several
689 # configurations.
690
691 #includefile "@CONFIG_DIR@/amanda.conf.main"