53f57e3ff8fdc4eef65a60b8fe6e9622e69ab62e
[debian/amanda] / example / template.d / advanced.conf
1 dumpuser "martinea"     # the user to run dumps under
2 inparallel 4            # maximum dumpers that will run in parallel (max 63)
3                         # this maximum can be increased at compile-time,
4                         # modifying MAX_DUMPERS in server-src/driverio.h
5
6 dumporder "sssS"        # specify the priority order of each dumper
7                         #   s -> smallest size
8                         #   S -> biggest size
9                         #   t -> smallest time
10                         #   T -> biggest time
11                         #   b -> smallest bandwidth
12                         #   B -> biggest bandwitdh
13                         # try "BTBTBTBTBTBT" if you are not holding
14                         # disk constrained
15
16 taperalgo first         # The algorithm used to choose which dump image to send
17                         # to the taper.
18
19                         # Possible values: [first|firstfit|largest|largestfit|smallest|last]
20                         # Default: first. 
21
22                         # first         First in - first out.
23                         # firstfit      The first dump image that will fit on the current tape.
24                         # largest       The largest dump image.
25                         # largestfit    The largest dump image that will fit on the current tape.
26                         # smallest      The smallest dump image.
27                         # last          Last in - first out.
28 displayunit "g"         # Possible values: "k|m|g|t"
29                         # Default: k. 
30                         # The unit used to print many numbers.
31                         # k=kilo, m=mega, g=giga, t=tera
32 netusage  8000 Kbps     # maximum net bandwidth for Amanda, in KB per sec
33
34 bumpsize 20 Mb          # minimum savings (threshold) to bump level 1 -> 2
35 bumppercent 20          # minimum savings (threshold) to bump level 1 -> 2
36 bumpdays 1              # minimum days at each level
37
38 # By default, Amanda can only track at most one run per calendar day. When
39 # the usetimestamps option is enabled, however, Amanda can track as many
40 # runs as you care to make.
41 # WARNING: This option is not backward-compatible. Do not enable it if you
42 #          intend to downgrade your server installation to any version
43 #          earlier than Amanda 2.5.1
44 usetimestamps yes
45
46 device_output_buffer_size 1280k
47                         # amount of buffer space to use when writing to devices
48
49 # If you want Amanda to automatically label any non-Amanda tapes it
50 # encounters, uncomment the line below. Note that this will ERASE any
51 # non-Amanda tapes you may have, and may also ERASE any near-failing tapes.
52 # Use with caution.
53 ## label_new_tapes "DailySet1-%%%"
54                         
55 maxdumpsize -1          # Maximum total size the planner will schedule
56                         # for a run (default: runtapes * tape_length) (kbytes).
57 amrecover_do_fsf yes            # amrecover will call amrestore with the
58                                 # -f flag for faster positioning of the tape.
59 amrecover_check_label yes       # amrecover will call amrestore with the
60                                 # -l flag to check the label.
61 bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)
62
63
64
65 amrecover_changer "changer"     # amrecover will use the changer if you restore
66     # from this device. It could be a string like 'changer' and amrecover will use your
67     # changer if you set your tape to 'changer' with 'setdevice changer' or via 
68     # 'tapedev "changer"' in amanda-client.conf
69
70
71
72
73 # If amanda cannot find a tape on which to store backups, it will run
74 # as many backups as it can to the holding disks.  In order to save
75 # space for unattended backups, by default, amanda will only perform
76 # incremental backups in this case, i.e., it will reserve 100% of the
77 # holding disk space for the so-called degraded mode backups.
78 # However, if you specify a different value for the `reserve'
79 # parameter, amanda will not degrade backups if they will fit in the
80 # non-reserved portion of the holding disk.
81
82 # reserve 30 # percent
83 # This means save at least 30% of the holding disk space for degraded
84 # mode backups.  
85
86 autoflush no 
87 # if autoflush is set to yes, then amdump will schedule all dump on
88 # holding disks to be flush to tape during the run.
89
90 # Amanda needs a few Mb of diskspace for the log and debug files,
91 # as well as a database.  This stuff can grow large, so the conf directory
92 # isn't usually appropriate.  Some sites use /usr/local/var and some /usr/adm.
93 # Create an amanda directory under there.  You need a separate infofile and
94 # logdir for each configuration, so create subdirectories for each conf and
95 # put the files there.  Specify the locations below.
96
97 # Note that, although the keyword below is infofile, it is only so for
98 # historic reasons, since now it is supposed to be a directory (unless
99 # you have selected some database format other than the `text' default)
100 infofile "/etc/amanda/DailySet1/curinfo"      # database DIRECTORY
101 logdir   "/etc/amanda/DailySet1"              # log directory
102 indexdir "/etc/amanda/DailySet1/index"        # index directory
103 #tapelist "@CONFIG_DIR/DailySet1/tapelist"      # list of used tapes
104 # tapelist is stored, by default, in the directory that contains amanda.conf
105
106 # Specify holding disks.  These are used as a temporary staging area for
107 # dumps before they are written to tape and are recommended for most sites.
108 # The advantages include: tape drive is more likely to operate in streaming
109 # mode (which reduces tape and drive wear, reduces total dump time); multiple
110 # dumps can be done in parallel (which can dramatically reduce total dump time.
111 # The main disadvantage is that dumps on the holding disk need to be flushed
112 # (with amflush) to tape after an operating system crash or a tape failure.
113 # If no holding disks are specified then all dumps will be written directly
114 # to tape.  If a dump is too big to fit on the holding disk than it will be
115 # written directly to tape.  If more than one holding disk is specified then
116 # they will all be used based on activity and available space.
117
118 #holdingdisk hd1 {
119 #    comment "main holding disk"
120 #    directory "/dumps/amanda"  # where the holding disk is
121 #    use -100 Mb                # how much space can we use on it
122 #                       # a non-positive value means:
123 #                       #        use all space but that value
124 #    chunksize 1Gb      # size of chunk if you want big dump to be
125 #                       # dumped on multiple files on holding disks
126 #                       #  N Kb/Mb/Gb split images in chunks of size N
127 #                       #             The maximum value should be
128 #                       #             (MAX_FILE_SIZE - 1Mb)
129 #                       #  0          same as INT_MAX bytes
130 #    }
131 #holdingdisk hd2 {
132 #    directory "/dumps2/amanda"
133 #    use 1000 Mb
134 #    }
135
136 # network interfaces
137 #
138 # These are referred to by the disklist file.  They define the attributes
139 # of the network interface that the remote machine is accessed through.
140 # Notes: - netusage above defines the attributes t
141 #          disklist entry doesn't specify otherwise.
142 #        - the values below are only samples.
143 #        - specifying an interface does not force the traffic to pass
144 #          through that interface.  Your OS routing tables do that.  This
145 #          is just a mechanism to stop Amanda trashing your network.
146 # Attributes are:
147 #       use             - bandwidth above which amanda won't start
148 #                         backups using this interface.  Note that if
149 #                         a single backup will take more than that,
150 #                         amanda won't try to make it run slower!
151
152 define interface local {
153     comment "a local disk"
154     use 8000 kbps
155 }
156
157 #define interface le0 {
158 #    comment "10 Mbps ethernet"
159 #    use 400 kbps
160 #}