File: amanda.conf.5

package info (click to toggle)
amanda 1%3A3.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 22,360 kB
  • sloc: ansic: 214,899; perl: 58,075; sh: 16,954; xml: 13,853; makefile: 2,228; awk: 431; lex: 405; yacc: 343; tcl: 118; sql: 19; sed: 16; php: 2
file content (2504 lines) | stat: -rw-r--r-- 80,775 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
'\" t
.\"     Title: amanda.conf
.\"    Author: James da Silva <jds@amanda.org>
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 02/21/2012
.\"    Manual: File formats and conventions
.\"    Source: Amanda 3.3.1
.\"  Language: English
.\"
.TH "AMANDA\&.CONF" "5" "02/21/2012" "Amanda 3\&.3\&.1" "File formats and conventions"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
amanda.conf \- Main configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
.SH "DESCRIPTION"
.PP
\fBamanda.conf\fR(5)
is the main configuration file for Amanda\&. This manpage lists the relevant sections and parameters of this file for quick reference\&.
.PP
The file
\fB<CONFIG_DIR>/<config>/amanda\&.conf\fR
is loaded\&.
.SH "SYNTAX"
.PP
There are a number of configuration parameters that control the behavior of the Amanda programs\&. All have default values, so you need not specify the parameter in
\fBamanda\&.conf\fR
if the default is suitable\&.
.SS "COMMENTS"
.PP
Lines starting with # are ignored, as are blank lines\&. Comments may be placed on a line with a directive by starting the comment with a #\&. The remainder of the line is ignored\&.
.SS "KEYWORDS AND IDENTIFIERS"
.PP
Keywords are case insensitive, i\&.e\&.
\fBmailto\fR
and
\fBMailTo\fR
are treated the same\&. Also, the characters \*(Aq\fB\-\fR\*(Aq and \*(Aq\fB_\fR\*(Aq are interchangeable in all predefined Amanda keywords:
\fBdevice_property\fR
and
\fBdevice\-property\fR
have the same meaning\&. This manpage uses the dashed versions, but the underscored versions will be accepted for backward compatibility
.PP
Identifiers are names which are defined in the configuration itself, such as dumptypes or interfaces\&. Identifiers are are case\-insensitive, but sensitive to \*(Aq\fB\-\fR\*(Aq vs\&. \*(Aq\fB_\fR\*(Aq\&. Identifiers should be quoted in the configuration file, although For historical reasons, the quotes are optional\&.
.PP
Strings are always quoted with double quotes ("), and any double quotes or backslashes within the string are escaped with a backslash:
.sp
.nf
tapelist "/path/to/tapelist"
property "escaped\-string" "escaping: \e\e (backslash) and \e" (double\-quote)"
.fi
.PP
To summarize, then:
.sp
.nf
                          # QUOTES        CASE            \-/_
logdir "logs"             # required      sensitive       sensitive
send\-amreport\-on strange  # prohibited    insensitive     insensitive
tapetype "EXABYTE"        # optional      insensitive     sensitive

define dumptype "dt" {    # optional      insensitive     sensitive
  "dumptype\-common"       # optional      insensitive     sensitive
  strategy noinc          # prohibited    insensitive     insensitive
}
.fi
.SS "VALUE SUFFIXES"
.PP
Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
.PP
\fBb byte bytes\fR
.RS 4
Some number of bytes\&.
.RE
.PP
\fBbps\fR
.RS 4
Some number of bytes per second\&.
.RE
.PP
\fBk kb kbyte kbytes kilobyte kilobytes\fR
.RS 4
Some number of kilobytes (bytes*1024)\&.
.RE
.PP
\fBkps kbps\fR
.RS 4
Some number of kilobytes per second (bytes*1024)\&.
.sp
It is the default multiplier for all size options\&.
.RE
.PP
\fBm mb meg mbyte mbytes megabyte megabytes\fR
.RS 4
Some number of megabytes (bytes*1024*1024)\&.
.RE
.PP
\fBmps mbps\fR
.RS 4
Some number of megabytes per second (bytes*1024*1024)\&.
.RE
.PP
\fBg gb gbyte gbytes gigabyte gigabytes\fR
.RS 4
Some number of gigabytes (bytes*1024*1024*1024)\&.
.RE
.PP
\fBt tb tbyte tbytes terabyte terabytes\fR
.RS 4
Some number of terabytes (bytes*1024*1024*1024*1024)\&.
.RE
.PP
\fBtape tapes\fR
.RS 4
Some number of tapes\&.
.RE
.PP
\fBday days\fR
.RS 4
Some number of days\&.
.RE
.PP
\fBweek weeks\fR
.RS 4
Some number of weeks (days*7)\&.
.if n \{\
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
The value
\fBinf\fR
may be used in most places where an integer is expected to mean an infinite amount\&.
.sp
Boolean arguments may have any of the values
\fB1\fR,
\fBy\fR,
\fByes\fR,
\fBt\fR,
\fBtrue\fR
or
\fBon\fR
to indicate a true state, or
\fB0\fR,
\fBn\fR,
\fBno\fR,
\fBf\fR,
\fBfalse\fR
or
\fBoff\fR
to indicate a false state\&. If no argument is given,
\fBtrue\fR
is assumed\&.
.sp .5v
.RE
.RE
.SS "PARAMETER ORDER"
.PP
In general, the order in which parameters occur in the configuration file does not matter, with the exception of subsection inheritance\&. For example, if dumptype "normal\-encrypt" which inherits from dumptype "normal", then "normal" must appear first in the configuration file\&.
.SS "STRINGS"
.PP
Quoted strings in Amanda follow a common, C\-like syntax\&. Printable characters and whitespace are kept as\-is, except that the backslash character (\e) is used as an escape character, and a double\-quote ends the string\&. The allowed escape sequences are
.sp
.nf
    ESCAPE SEQUENCE     BECOMES
    \e\e                  \e
    \e"                  "
    \en                  (newline)
    \et                  (tab)
    \er                  (carriage return)
    \ef                  (form\-feed)
    \e1 \- \e7
    \e01 \- \e77
    \e001 \- \e377         (character specified in octal)
.fi
Illegally quoted strings are handled on a "best\-effort" basis, which may lead to unexpected results\&.
.PP
Examples:
.sp
.nf
finserver "/data/finance/XYZ Corp\*(Aqs \e"real\e" finances" finance\-high eth0 \-1
property "syspath" "C:\e\eWINDOWS\e\eSYSTEM"
.fi
.SS "SUBSECTIONS AND INHERITANCE"
.PP
Amanda configuration files may include various
\fIsubsections\fR, each defining a set of configuration directives\&. Each type of subsection is described below\&. Note that all types of subsections can
\fIinherit\fR
from other subsections of the same type by naming the "parent" section in the "child" subsection\&. For example:
.sp
.nf
define dumptype global {
    record yes
    index yes
}

define dumptype nocomp {
    global      # inherit the parameters in dumptype \*(Aqglobal\*(Aq
    compress none
}
.fi
.PP
Note that multiple inheritance is also supported by simply naming multiple parent sections in a child\&. Parents are implicitly expanded in place in a child, and the last occurrence of each parameter takes precedence\&. For example,
.sp
.nf
define tapetype par1 {
    comment "Parent 1"
    filemark 8k
    speed 300bps
    length 200M
}
define tapetype par2 {
    comment "Parent 2"
    filemark 16k
    speed 400bps
}
define tapetype child {
    par1
    par2
    filemark 32k
}
.fi
In this example, \*(Aqchild\*(Aq will have a filemark of 32k, a speed of 400bps, and a length of 200M\&.
.SH "GLOBAL PARAMETERS"
.PP
\fBorg\fR \fIstring\fR
.RS 4
Default:
\fI"daily"\fR\&. A descriptive name for the configuration\&. This string appears in the Subject line of mail reports\&. Each Amanda configuration should have a different string to keep mail reports distinct\&.
.RE
.PP
\fBmailer\fR \fIstring\fR
.RS 4
Default found by configure\&. A mail program that can send mail with \*(Aq\fIMAILER \-s "subject" user < message_file\fR\*(Aq\&.
.RE
.PP
\fBmailto\fR \fIstring\fR
.RS 4
Default: none\&. A space separated list of recipients for mail reports\&. If not specified, amdump will not send any mail\&.
.RE
.PP
\fBsend\-amreport\-on\fR [ \fBall\fR | \fBstrange\fR | \fBerror\fR | \fBnever\fR ]
.RS 4
Default:
\fBall\fR\&. Specify which types of messages will trigger an email from amreport\&. amreport is used by amdump and amflush\&.
.PP
\fBall\fR
.RS 4
Send an email on any message\&.
.RE
.PP
\fBstrange\fR
.RS 4
Send an email on strange or error message\&. A strange message occurs when the dump succeeded, but returned one or more errors unknown to Amanda\&.
.RE
.PP
\fBerror\fR
.RS 4
Send an email only on error messages\&.
.RE
.PP
\fBnever\fR
.RS 4
Never send an email\&.
.RE
.RE
.PP
\fBmax\-dle\-by\-volume\fR \fIint\fR
.RS 4
Default:
\fI1000000000\fR\&. The maximum number of dle written to a single volume\&.
.RE
.PP
\fBdumpcycle\fR \fIint\fR
.RS 4
Default:
\fI10 days\fR\&. The number of days in the backup cycle\&. Each disk will get a full backup at least this often\&. Setting this to zero tries to do a full backup each run\&.
.if n \{\
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
This parameter may also be set in a specific
\fBdumptype\fR
(see below)\&. This value sets the default for all
\fBdumptype\fRs so must appear in
\fBamanda\&.conf\fR
before any
\fBdumptype\fRs are defined\&.
.sp .5v
.RE
.RE
.PP
\fBrunspercycle\fR \fIint\fR
.RS 4
Default:
\fIsame as dumpcycle\fR\&. The number of amdump runs in
\fBdumpcycle\fR
days\&. A value of 0 means the same value as
\fBdumpcycle\fR\&. A value of \-1 means guess the number of runs from the
\fBtapelist\fR(5)
file, which is the number of tapes used in the last
\fBdumpcycle\fR
days /
\fBruntapes\fR\&.
.RE
.PP
\fBtapecycle\fR \fIint\fR
.RS 4
Default:
\fI15 tapes\fR\&. Specifies the number of "active" volumes \- volumes that Amanda will not overwrite\&. While Amanda is always willing to write to a new volume, it refuses to overwrite a volume unless at least \*(Aq\fBtapecycle\fR
\-1\*(Aq volumes have been written since\&.
.sp
It is considered good administrative practice to set the
\fBtapecycle\fR
parameter slightly lower than the actual number of tapes in use\&. This allows the administrator to more easily cope with damaged or misplaced tapes or schedule adjustments that call for slight adjustments in the rotation order\&.
.sp
Note: Amanda is commonly misconfigured with
\fBtapecycle\fR
equal to the number of tapes per
\fBdumpcycle\fR\&. In this misconfiguration, amanda may erase a full dump before a new one is completed\&. Recovery is then impossible\&. The
\fBtapecycle\fR
must be at least one tape larger than the number of tapes per dumpcycle\&.
.sp
The number of tapes per dumpcycle is calculated by multiplying the number of
\fBamdump\fR
runs per dump cycle
\fBrunspercycle\fR
(the number of
\fBamdump\fR
runs per dump cycle) and
\fBruntapes\fR
(the number of tapes used per run)\&. Typically
\fBtapecycle\fR
is set to two or four times the tapes per dumpcycle\&.
.RE
.PP
\fBusetimestamps\fR \fIbool\fR
.RS 4
Default:
\fBYes\fR\&. This option allows Amanda to track multiple runs per calendar day\&. The only reason one might disable it is that Amanda versions before 2\&.5\&.1 can\*(Aqt read logfiles written when this option was enabled\&.
.RE
.PP
\fBlabel\-new\-tapes\fR \fIstring\fR
.RS 4
Deprecated, use
\fBautolabel\fR
option with options
\fBvolume\-error empty\fR
to get equivalent behavior\&.
.sp
Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to any blank tape she encounters\&.
.RE
.PP
\fBautolabel\fR \fIstring\fR [\fBany\fR] [\fBother\-config\fR] [\fBnon\-amanda\fR] [\fBvolume\-error\fR] [\fBempty\fR]
.RS 4
Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to most volume she encounters\&. This option is DANGEROUS because when set, Amanda may erase near\-failing tapes or tapes accidentally loaded in the wrong slot\&.
.sp
When using this directive, specify the template for new tape labels\&. The template can contains many variables that are substituted by their values:
.sp
.nf
    $c : config name
    $o : org configuration
    $b : barcode of the volume
    $s : slot number, can specify a minimun number of digit:
         $3s to get \*(Aq001\*(Aq
    $m : meta label
.fi
.sp
The template can contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number\&. Be sure to specify enough \*(Aq%\*(Aq characters that you do not run out of tape labels\&. Example:
\fB"DailySet1\-%%%"\fR,
\fB"$c\-%%%"\fR,
\fB"$m\-%%%"\fR,
\fB"$m\-$b"\fR
.sp
The generared label can be used only if it match the
\fBlabelstr\fR
setting\&. The volume will not be used if the generated label doesn\*(Aqt match the
\fBlabelstr\fR
setting\&.
.sp
Note that many devices cannot distinguish an empty tape from an error condition, so it may is often necessary to include
\fBvolume\-error\fR
as an autolabel condition\&.
.PP
\fBany\fR
.RS 4
equivalent to \*(Aq\fBother\-config non\-amanda volume\-error empty\fR\*(Aq
.RE
.PP
\fBother\-config\fR
.RS 4
Label volumes with a valid Amanda label that do not match our
\fBlabelstr\fR\&. Danger: this may erase volumes
from other Amanda configurations without warning!
.RE
.PP
\fBnon\-amanda\fR
.RS 4
Label volumes which do not start with data that resembles an
Amanda header\&. Danger: this may erase volumes from other backup applications
without warning!
.RE
.PP
\fBvolume\-error\fR
.RS 4
Label volumes where an error occurs while trying to read the label\&.
Danger: this may erase arbitrary volumes due to transient errors\&.
.RE
.PP
\fBempty\fR
.RS 4
Label volumes where a read returns 0 bytes\&.
.RE
.RE
.PP
\fBmeta\-autolabel\fR \fIstring\fR
.RS 4
Default: not set\&. When set and if the changer support meta\-label, this directive will cause Amanda to automatically add a meta\-label to a meta\-volume\&.
.sp
A meta\-volume is a containers that contains many volumes, eg\&. a removable hard\-disk for use with chg\-disk, each hard disk have many slots (volume)\&. The meta\-label is the label to put on the meta\-volume\&.
.sp
When using this directive, specify the template for new meta labels\&. The template can contains many variables that are substituted by their values:
.sp
.nf
    $c : config name
    $o : org configuration
.fi
.sp
The template should contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number\&. Be sure to specify enough \*(Aq%\*(Aq characters that you do not run out of meta labels\&. Example:
\fB"DailySet1\-%%%"\fR,
\fB"$o\-%%%"\fR,
.RE
.PP
\fBdumpuser\fR \fIstring\fR
.RS 4
Default:
\fI"amanda"\fR\&. The login name Amanda uses to run the backups\&. The backup client hosts must allow access from the tape server host as this user via
\fB\&.rhosts\fR
or
\fB\&.amandahosts\fR, depending on how the Amanda software was built\&.
.RE
.PP
\fBprinter\fR \fIstring\fR
.RS 4
Printer to use when doing tape labels\&. See the
\fBlbl\-templ\fR
\fBtapetype\fR
option\&.
.RE
.PP
\fBtapedev\fR \fIstring\fR
.RS 4
Default:
\fI"null:"\fR\&. This parameter can either specify a device (explicitly or by referencing a device definition \- see
\fBamanda-devices\fR(7)) or a tape changer (explicitly or by referencing a device definition \- see
\fBamanda-changers\fR(7))\&.
.RE
.PP
\fBdevice\-property\fR \fIstring\fR \fIstring\fR
.RS 4
These options can set various device properties\&. See
\fBamanda-devices\fR(7)
for more information on device properties and their syntax\&. Both strings are always quoted; the first string contains the name of the property to set, and the second contains its value\&. For example, to set a fixed block size of 128k, write:
.nf
device\-property "BLOCK_SIZE" "128k"
.fi
.RE
.PP
\fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
.RS 4
These options can set various properties, they can be used by third party software to store information in the configuration file\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
\fBappend\fR
keyword append the values to the list of values for that property\&.
.RE
.PP
\fBtpchanger\fR \fIstring\fR
.RS 4
Default: not set\&. The tape changer to use\&. In most cases, only one of
\fBtpchanger\fR
or
\fBtapedev\fR
is specified, although for backward compatibility both may be specified if
\fBtpchanger\fR
gives the name of an old changer script\&. See
\fBamanda-changers\fR(7)
for more information on configuring changers\&.
.RE
.PP
\fBinteractivity\fR \fIstring\fR
.RS 4
Default: not set\&. The interactivity module Amanda should use to interact with the user\&. See
\fBamanda-interactivity\fR(7)
for a list of modules\&.
.RE
.PP
\fBtaperscan\fR \fIstring\fR
.RS 4
Default: traditional\&. The taperscan module amanda should use to find a tape to write to\&. See
\fBamanda-taperscan\fR(7)
for a list of modules\&.
.RE
.PP
\fBchangerdev\fR \fIstring\fR
.RS 4
Default:
\fI"dev/null"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
\fBtpchanger\fR
option\&.
.RE
.PP
\fBchangerfile\fR \fIstring\fR
.RS 4
Default:
\fI"/usr/adm/amanda/log/changer\-status"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
\fBtpchanger\fR
option\&.
.RE
.PP
\fBruntapes\fR \fIint\fR
.RS 4
Default:
\fI1\fR\&. The maximum number of tapes used in a single run\&. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\&.
.sp
If a tape changer is configured, this may be set larger than one to let Amanda write to more than one tape\&.
.sp
Note that this is an upper bound on the number of tapes, and Amanda may use less\&.
.RE
.PP
\fBmaxdumpsize\fR \fIint\fR
.RS 4
Default:
\fI\fBruntapes\fR\fR\fI*\fR\fI\fBtape\-length\fR\fR\&. Maximum number of bytes the planner will schedule for a run\&.
.sp
The default unit is Kbytes if it is not specified\&.
.RE
.PP
\fBtaperalgo\fR [ \fBfirst\fR | \fBfirstfit\fR | \fBlargest\fR | \fBlargestfit\fR | \fBsmallest\fR | \fBlast\fR ]
.RS 4
Default:
\fBfirst\fR\&. The algorithm used to choose which dump image to send to the taper\&.
.PP
\fBfirst\fR
.RS 4
First in, first out\&.
.RE
.PP
\fBfirstfit\fR
.RS 4
The first dump image that will fit on the current tape\&.
.RE
.PP
\fBlargest\fR
.RS 4
The largest dump image\&.
.RE
.PP
\fBlargestfit\fR
.RS 4
The largest dump image that will fit on the current tape\&.
.RE
.PP
\fBsmallest\fR
.RS 4
The smallest dump image\&.
.RE
.PP
\fBlast\fR
.RS 4
Last in, first out\&.
.RE
.RE
.PP
\fBtaper\-parallel\-write\fR \fIint\fR
.RS 4
Default:
\fI1\fR\&. Amanda can write simultaneously up to that number of volume at any given time\&. The changer must have as many drives\&.
.RE
.PP
\fBeject\-volume\fR \fIint\fR
.RS 4
Default:
\fIno\fR\&. Set to
\fByes\fR
if you want the volume to be ejected after Amanda wrote data to it\&. It works only with some changer and device\&.
.RE
.PP
\fBlabelstr\fR \fIstring\fR
.RS 4
Default:
\fI"\&.*"\fR\&. The tape label constraint regular expression\&. All tape labels generated (see
\fBamlabel\fR(8)) and used by this configuration must match the regular expression\&. If multiple configurations are run from the same tape server host, it is helpful to set their labels to different strings (for example, "DAILY[0\-9][0\-9]*" vs\&. "ARCHIVE[0\-9][0\-9]*") to avoid overwriting each other\*(Aqs tapes\&.
.RE
.PP
\fBtapetype\fR \fIstring\fR
.RS 4
Default:
\fIno default\fR\&. The type of tape drive associated with
\fBtapedev\fR
or
\fBtpchanger\fR\&. This refers to one of the defined
\fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the
\fBlength\fR,
\fBfilemark\fR
size, and
\fBspeed\fR
of the tape media and device\&.
.RE
.PP
\fBctimeout\fR \fIint\fR
.RS 4
Default:
\fI30 seconds\fR\&. Maximum amount of time that
\fBamcheck\fR
will wait for each client host\&.
.RE
.PP
\fBdtimeout\fR \fIint\fR
.RS 4
Default:
\fI1800 seconds\fR\&. Amount of idle time per disk on a given client that a
\fBdumper\fR
running from within
\fBamdump\fR
will wait before it fails with a data timeout error\&.
.RE
.PP
\fBetimeout\fR \fIint\fR
.RS 4
Default:
\fI300 seconds\fR\&. Amount of time per estimate on a given client that the
\fBplanner\fR
step of
\fBamdump\fR
will wait to get the dump size estimates (note: Amanda runs up to 3 estimates for each DLE)\&. For instance, with the default of 300 seconds and four DLE\*(Aqs, each estimating level 0 and level 1 on client A,
\fBplanner\fR
will wait up to 40 minutes for that machine\&. A negative value will be interpreted as a total amount of time to wait per client instead of per disk\&.
.RE
.PP
\fBconnect\-tries\fR \fIint\fR
.RS 4
Default:
\fI3\fR\&. How many times the server will try a connection\&.
.RE
.PP
\fBreq\-tries\fR \fIint\fR
.RS 4
Default:
\fI3\fR\&. How many times the server will resend a REQ packet if it doesn\*(Aqt get the ACK packet\&.
.RE
.PP
\fBnetusage\fR \fIint\fR
.RS 4
Default:
\fI80000 Kbps\fR\&. The maximum network bandwidth allocated to Amanda, in Kbytes per second\&. See also the
\fBinterface\fR
section\&.
.RE
.PP
\fBinparallel\fR \fIint\fR
.RS 4
Default:
\fI10\fR\&. The maximum number of backups that Amanda will attempt to run in parallel\&. Amanda will stay within the constraints of network bandwidth and holding disk space available, so it doesn\*(Aqt hurt to set this number a bit high\&. Some contention can occur with larger numbers of backups, but this effect is relatively small on most systems\&.
.RE
.PP
\fBdisplayunit\fR "k|m|g|t"
.RS 4
Default:
\fI"k"\fR\&. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\&.
.RE
.PP
\fBdumporder\fR \fIstring\fR
.RS 4
Default:
\fI"tttTTTTTTT"\fR\&. The priority order of each dumper:
.sp
.nf
s: smallest size
S: largest size
t: smallest time
T: largest time
b: smallest bandwidth
B: largest bandwidth
.fi
.RE
.PP
\fBmaxdumps\fR \fIint\fR
.RS 4
Default:
\fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the
\fBinparallel\fR
option\&.
.sp
Note that this parameter may also be set in a specific
\fBdumptype\fR
(see below)\&. This value sets the default for all
\fBdumptype\fRs so must appear in
\fBamanda\&.conf\fR
before any
\fBdumptype\fRs are defined\&.
.RE
.PP
\fBbumpsize\fR \fIint\fR
.RS 4
Default:
\fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&. The value of this parameter is used only if the parameter
\fIbumppercent\fR
is set to 0\&.
.sp
The default unit is Kbytes if it is not specified\&.
.sp
The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
.sp
See also the options
\fBbumppercent\fR,
\fBbumpmult\fR
and
\fBbumpdays\fR\&.
.RE
.PP
\fBbumppercent\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
.sp
If this parameter is set to 0, the value of the parameter
\fIbumpsize\fR
is used to trigger bumping\&.
.sp
The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
.sp
See also the options
\fBbumpsize\fR,
\fBbumpmult\fR
and
\fBbumpdays\fR\&.
.RE
.PP
\fBbumpmult\fR \fIfloat\fR
.RS 4
Default:
\fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
\fBbumpsize\fR
by this factor for each level\&. This prevents active filesystems from bumping too much by making it harder to bump to the next level\&. For example, with the default
\fBbumpsize\fR
and
\fBbumpmult\fR
set to 2\&.0, the bump threshold will be 10 Mbytes for level one, 20 Mbytes for level two, 40 Mbytes for level three, and so on\&.
.sp
The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
.RE
.PP
\fBbumpdays\fR \fIint\fR
.RS 4
Default:
\fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
\fBbumpdays\fR
days, even if the other bump threshold criteria are met\&.
.sp
The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
.RE
.PP
\fBdiskfile\fR \fIstring\fR
.RS 4
Default:
\fI"disklist"\fR\&. The file name for the
\fIdisklist\fR
file holding client hosts, disks and other client dumping information\&.
.RE
.PP
\fBinfofile\fR \fIstring\fR
.RS 4
Default:
\fI"/usr/adm/amanda/curinfo"\fR\&. The file or directory name for the historical information database\&. If Amanda was configured to use DBM databases, this is the base file name for them\&. If it was configured to use text formated databases (the default), this is the base directory and within here will be a directory per client, then a directory per disk, then a text file of data\&.
.RE
.PP
\fBlogdir\fR \fIstring\fR
.RS 4
Default:
\fI"/usr/adm/amanda"\fR\&. The directory for the
\fBamdump\fR
and
\fBlog\fR
files\&.
.RE
.PP
\fBindexdir\fR \fIstring\fR
.RS 4
Default
\fI"/usr/adm/amanda/index"\fR\&. The directory where index files (backup image catalogues) are stored\&. Index files are only generated for filesystems whose
\fBdumptype\fR
has the
\fBindex\fR
option enabled\&.
.RE
.PP
\fBtapelist\fR \fIstring\fR
.RS 4
Default:
\fI"tapelist"\fR\&. The file name for the active
\fBtapelist\fR(5)\&. Amanda maintains this file with information about the active set of tapes\&.
.RE
.PP
\fBdevice\-output\-buffer\-size\fR \fIint\fR
.RS 4
Default:
\fI1280k\fR\&. Controls the amount of memory used by Amanda to hold data as it is read from the network or disk before it is written to the output device\&. Higher values may be useful on fast tape drives and optical media\&.
.sp
The default unit is bytes if it is not specified\&.
.RE
.PP
\fBtapebufs\fR \fIint\fR
.RS 4
Default:
\fI20\fR\&. This option is deprecated; use the
\fBdevice\-output\-buffer\-size\fR
directive instead\&.
\fBtapebufs\fR
works the same way, but the number specified is multiplied by the device blocksize prior to use\&.
.RE
.PP
\fBreserve\fR \fIint\fR
.RS 4
Default:
\fI100\fR\&. The part of holding\-disk space that should be reserved for incremental backups if no tape is available, expressed as a percentage of the available holding\-disk space (0\-100)\&. By default, when there is no tape to write to, degraded mode (incremental) backups will be performed to the holding disk\&. If full backups should also be allowed in this case, the amount of holding disk space reserved for incrementals should be lowered\&.
.RE
.PP
\fBautoflush\fR \fBno\fR|\fByes\fR|\fBall\fR
.RS 4
Default:
\fBno\fR\&. Whether an amdump run will flush the dumps from holding disk to tape\&. With
\fByes\fR, only dump matching the command line argument are flushed\&. With
\fBall\fR, all dump are flushed\&.
.RE
.PP
\fBamrecover\-do\-fsf\fR \fIbool\fR
.RS 4
Deprecated; amrecover always uses fsf, and does not invoke amrestore\&.
.sp
Default:
\fBon\fR\&. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\&.
.RE
.PP
\fBamrecover\-check\-label\fR \fIbool\fR
.RS 4
Deprecated; amrecover always checks the label, and does not invoke amrestore\&.
.sp
Default:
\fBon\fR\&. Amrecover will call amrestore with the \-l flag to check the label\&.
.RE
.PP
\fBamrecover\-changer\fR \fIstring\fR
.RS 4
Default: not set\&. Amrecover will use the changer if you use \*(Aqsettape <string>\*(Aq and that string is the same as the
\fBamrecover\-changer\fR
setting\&.
.RE
.PP
\fBcolumnspec\fR \fIstring\fR
.RS 4
default: "HostName=0:12:12,Disk=1:11:11,Level=1:1:1,OrigKB=1:\-7:0,OutKB=1:\-7:0,Compress=1:\-6:1,DumpTime=1:\-7:7,Dumprate=1:\-6:1,TapeTime=1:\-6:6,TapeRate=1:\-6:1"
.sp
Defines the width of columns
\fBamreport\fR
should use\&.
\fIString\fR
is a comma (\*(Aq,\*(Aq) separated list of triples\&. Each triple consists of three parts which are separated by a equal sign (\*(Aq=\*(Aq) and a colon (\*(Aq:\*(Aq) (see the example)\&. These four parts specify:
.sp
.RS 4
.ie n \{\
\h'-04' 1.\h'+01'\c
.\}
.el \{\
.sp -1
.IP "  1." 4.2
.\}
the name of the column, which may be:
.sp
.nf
	Compress (compression ratio)
	Disk (client disk name)
	DumpRate (dump rate in KBytes/sec)
	DumpTime (total dump time in hours:minutes)
	HostName (client host name)
	Level (dump level)
	OrigKB (original image size in KBytes)
	OutKB (output image size in KBytes)
	TapeRate (tape writing rate in KBytes/sec)
	TapeTime (total tape time in hours:minutes)
.fi
.RE
.sp
.RS 4
.ie n \{\
\h'-04' 2.\h'+01'\c
.\}
.el \{\
.sp -1
.IP "  2." 4.2
.\}
the amount of space to display before the column (used to get whitespace between columns)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04' 3.\h'+01'\c
.\}
.el \{\
.sp -1
.IP "  3." 4.2
.\}
the width of the column itself\&. If set to a negative value, the width will be calculated on demand to fit the largest entry in this column\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04' 4.\h'+01'\c
.\}
.el \{\
.sp -1
.IP "  4." 4.2
.\}
the precision of the column, number of digit after the decimal point for number\&.
.RE
.sp
Here is an example:
.sp
.nf
columnspec "Disk=1:18,HostName=0:10,OrigKB=::2,OutKB=1:7"
.fi
.sp
The above will display the disk information in 18 characters and put one space before it\&. The hostname column will be 10 characters wide with no space to the left\&. The Original KBytes print 2 decimal digit\&. The output KBytes column is seven characters wide with one space before it\&.
.RE
.PP
\fBincludefile\fR \fIstring\fR
.RS 4
Default:
\fIno default\fR\&. The name of an Amanda configuration file to include within the current file\&. Useful for sharing dumptypes, tapetypes and interface definitions among several configurations\&. Relative pathnames are relative to the configuration directory\&.
.RE
.PP
\fBdebug\-days\fR \fIint\fR
.RS 4
Default:
\fI3\fR\&. The number of days the debug files are kept\&.
.RE
.PP
\fBdebug\-auth\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the auth module
.RE
.PP
\fBdebug\-event\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the event module
.RE
.PP
\fBdebug\-holding\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the holdingdisk module
.RE
.PP
\fBdebug\-protocol\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the protocol module
.RE
.PP
\fBdebug\-planner\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the planner process
.RE
.PP
\fBdebug\-driver\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the driver process
.RE
.PP
\fBdebug\-dumper\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the dumper process
.RE
.PP
\fBdebug\-chunker\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the chunker process
.RE
.PP
\fBdebug\-taper\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Debug level of the taper process
.RE
.PP
\fBdebug\-recovery\fR \fIint\fR
.RS 4
Default:
\fI1\fR\&. Debug level of all recovery process
.RE
.PP
\fBflush\-threshold\-dumped\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Amanda will not begin writing data to a new volume until the amount of data on the holding disk is at least this percentage of the volume size\&. In other words, Amanda will not begin until the amount of data on the holding disk is greater than the tape length times this parameter\&. This parameter may be larger than 100%, for example to keep more recent dumps on the holding disk for faster recovery\&.
.sp
Needless to say, your holding disk must be big enough that this criterion could be satisfied\&. If the holding disk cannot be used for a particular dump (because, for example, there is no remaining holding space) then Amanda will disregard the constraint specified by this setting and start a new volume anyway\&. Once writing to a volume has begun, this constraint is not applied unless and until a new volume is needed\&.
.sp
The value of this parameter may not exceed than that of the
\fBflush\-threshold\-scheduled\fR
parameter\&.
.RE
.PP
\fBflush\-threshold\-scheduled\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. Amanda will not begin writing data to a new volume until the sum of the amount of data on the holding disk and the estimated amount of data remaining to be dumped during this run is at least this percentage of the volume size\&. In other words, Amanda will not begin until the inequality
h + s > t \(mu d
is satisfied, where
h
is the amount of data on the holding disk,
s
is the total amount of data scheduled for this run but not dumped yet,
t
is the capacity of a volume, and
d
is this parameter, expressed as a percentage\&. This parameter may be larger than 100%\&.
.sp
Needless to say, your holding disk must be big enough that this criterion could be satisfied\&. If the holding disk cannot be used for a particular dump (because, for example, there is no remaining holding space) then Amanda will disregard the constraint specified by this setting and start a new volume anyway\&. Once writing to a volume has begun, this constraint is not applied unless and until a new volume is needed\&.
.sp
The value of this parameter may not be less than that of the
\fBflush\-threshold\-dumped\fR
or
\fBtaperflush\fR
parameters\&.
.RE
.PP
\fBtaperflush\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. At the end of a run, Amanda will start a new tape to flush remaining data if there is more data on the holding disk at the end of a run than this setting allows; the amount is specified as a percentage of the capacity of a single volume\&. In other words, at the end of a run, Amanda will begin a new tape if the inequality
h > t \(mu f
is satisfied, where
h
is the amount of data remaining on the holding disk from this or previous runs,
t
is the capacity of a volume, and
f
is this parameter, expressed as a percentage\&. This parameter may be greater than 100%\&.
.sp
The value of this parameter may not exceed that of the
\fBflush\-threshold\-scheduled\fR
parameter\&.;
\fBautoflush\fR
must be set to \*(Aqyes\*(Aq if
\fBtaperflush\fR
is greater than 0\&.
.RE
.PP
\fBreserved\-udp\-port\fR \fIint\fR,\fIint\fR
.RS 4
Default: \-\-with\-udpportrange or
\fI512,1023\fR\&. Reserved udp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
.RE
.PP
\fBreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
.RS 4
Default: \-\-with\-low\-tcpportrange or
\fI512,1023\fR\&. Reserved tcp port that will be used (bsdtcp)\&. Range is inclusive\&.
.RE
.PP
\fBunreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
.RS 4
Default: \-\-with\-tcpportrange or
\fI1024,65535\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
.RE
.PP
\fBrecovery\-limit\fR [ \fIstring\fR | \fBsame\-host\fR | \fBserver\fR]
.RS 4
Default: none (no limitations)\&. This parameter limits the hosts that may do recoveries\&. Hosts are identified by their authenticated peer name, as described in
\fBamanda-auth\fR(7); if this is not available and the recovery\-limit parameter is present, recovery will be denied\&. The arguments to the parameter are strings giving host match expressions (see
\fBamanda-match\fR(7)) or the special keywords
\fBsame\-host\fR
or
\fBserver\fR\&. The
\fBsame\-host\fR
keyword requires an exact match to the hostname of the DLE being recovered\&. The
\fBserver\fR
keyword require the connection come from the fqdn of the server\&. Specifying no arguments at all will disable all recoveries from any host\&.
.sp
Note that match expressions can be constructed to be forgiving of e\&.g\&., fully\-qualified vs\&. unqualified hostnames, but
\fBsame\-host\fR
requires an exact match\&.
.sp
The error messages that appear in amrecover are intentionally vague to avoid information leakage\&. Consult the amindexd debug log for more details on the reasons a recovery was rejected\&.
.sp
Recovery limits can be refined on a per\-DLE basis using the dumptype parameter of the same name\&. Note that the default value will apply to any dumpfiles for disks which no longer appear in the disklist; thus leaving the global parameter at its default value but setting it for all DLEs is not sufficient to maintain secure backups\&.
.RE
.SH "HOLDINGDISK SECTION"
.PP
The
\fBamanda\&.conf\fR
file may define one or more holding disks used as buffers to hold backup images before they are written to tape\&. The syntax is:
.nf
define holdingdisk \fIname\fR {
    \fIholdingdisk\-option\fR \fIholdingdisk\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIName\fR
is a logical name for this holding disk\&.
.PP
The options and values are:
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this holding disk\&.
.RE
.PP
\fBdirectory\fR \fIstring\fR
.RS 4
Default:
\fI"/dumps/amanda"\fR\&. The path to this holding area\&.
.RE
.PP
\fBuse\fR \fIint\fR
.RS 4
Default:
\fI0 Gb\fR\&. Amount of space that can be used in this holding disk area\&. If the value is zero, all available space on the file system is used\&. If the value is negative, Amanda will use all available space minus that value\&.
.RE
.PP
\fBchunksize\fR \fIint\fR
.RS 4
Default:
\fI1 Gb\fR\&. Holding disk chunk size\&. Dumps larger than the specified size will be stored in multiple holding disk files\&. The size of each chunk will not exceed the specified value\&. However, even though dump images are split in the holding disk, they are concatenated as they are written to tape, so each dump image still corresponds to a single continuous tape section\&.
.sp
The default unit is Kbytes if it is not specified\&.
.sp
If 0 is specified, Amanda will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&.
.sp
Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&.
.sp
Operating systems that are limited to a maximum file size of 2 Gbytes actually cannot handle files that large\&. They must be at least one byte less than 2 Gbytes\&. Since Amanda works with 32 Kbyte blocks, and to handle the final read at the end of the chunk, the chunk size should be at least 64 Kbytes (2 * 32 Kbytes) smaller than the maximum file size, e\&.g\&. 2047 Mbytes\&.
.RE
.SH "DUMPTYPE SECTION"
.PP
The
\fBamanda.conf\fR(5)
file may define multiple sets of backup options and refer to them by name from the
\fBdisklist\fR(5)
file\&. For instance, one set of options might be defined for file systems that can benefit from high compression, another set that does not compress well, another set for file systems that should always get a full backup and so on\&.
.PP
A set of backup options are entered in a
\fBdumptype\fR
section, which looks like this:
.nf
define dumptype "\fIname\fR" {
    \fIdumptype\-option\fR \fIdumptype\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIName\fR
is the name of this set of backup options\&. It is referenced from the
\fBdisklist\fR(5)
file\&.
.PP
Some of the options in a
\fBdumptype\fR
section are the same as those in the main part of
\fBamanda.conf\fR(5)\&. The main option value is used to set the default for all
\fBdumptype\fR
sections\&. For instance, setting
\fBdumpcycle\fR
to 50 in the main part of the config file causes all following
\fBdumptype\fR
sections to start with that value, but the value may be changed on a section by section basis\&. Changes to variables in the main part of the config file must be done before (earlier in the file) any
\fBdumptype\fRs are defined\&.
.PP
The dumptype options and values are:
.PP
\fBauth\fR \fIstring\fR
.RS 4
Default:
\fI"bsdtcp"\fR\&. Type of authorization to perform between tape server and backup client hosts\&. See
\fBamanda-auth\fR(7)
for more detail\&.
.RE
.PP
\fBamandad\-path\fR \fIstring\fR
.RS 4
Default:
\fI"$libexec/amandad"\fR\&. Specify the amandad path of the client, only use with rsh/ssh authentification\&.
.RE
.PP
\fBclient\-username\fR \fIstring\fR
.RS 4
Default:
\fICLIENT_LOGIN\fR\&. Specify the username to connect on the client, only use with rsh/ssh authentification\&.
.RE
.PP
\fBclient\-port\fR [ \fIint\fR | \fIstring\fR ]
.RS 4
Default:
\fI"amanda"\fR\&. Specifies the port to connect to on the client\&. It can be a service name or a numeric port number\&.
.RE
.PP
\fBbumpsize\fR \fIint\fR
.RS 4
Default:
\fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&. The value of this parameter is used only if the parameter
\fIbumppercent\fR
is set to 0\&.
.sp
The default unit is Kbytes if it is not specified\&.
.sp
See also the options
\fBbumppercent\fR,
\fBbumpmult\fR
and
\fBbumpdays\fR\&.
.RE
.PP
\fBbumppercent\fR \fIint\fR
.RS 4
Default:
\fI0\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
.sp
If this parameter is set to 0, the value of the parameter
\fIbumpsize\fR
is used to trigger bumping\&.
.sp
See also the options
\fBbumpsize\fR,
\fBbumpmult\fR
and
\fBbumpdays\fR\&.
.RE
.PP
\fBbumpmult\fR \fIfloat\fR
.RS 4
Default:
\fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
\fBbumpsize\fR
by this factor for each level\&. This prevents active filesystems from bumping too much by making it harder to bump to the next level\&. For example, with the default
\fBbumpsize\fR
and
\fBbumpmult\fR
set to 2\&.0, the bump threshold will be 10 Mbytes for level one, 20 Mbytes for level two, 40 Mbytes for level three, and so on\&.
.RE
.PP
\fBbumpdays\fR \fIint\fR
.RS 4
Default:
\fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
\fBbumpdays\fR
days, even if the other bump threshold criteria are met\&.
.RE
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this set of backup options\&.
.RE
.PP
\fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ]
.RS 4
Default:
\fI0\&.50, 0\&.50\fR\&. The expected full and incremental compression factor for dumps\&. It is only used if Amanda does not have any history information on compression rates for a filesystem, so should not usually need to be set\&. However, it may be useful for the first time a very large filesystem that compresses very little is backed up\&.
.RE
.PP
\fBcompress\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ] [ \fBbest\fR | \fBfast\fR | \fBcustom\fR ]
.RS 4
Default:
\fBclient fast\fR\&. If Amanda does compression of the backup images, it can do so either on the backup client host before it crosses the network or on the tape server host as it goes from the network into the holding disk or to tape\&. Which place to do compression (if at all) depends on how well the dump image usually compresses, the speed and load on the client or server, network capacity, holding disk capacity, availability of tape hardware compression, etc\&.
.sp
For either type of compression, Amanda also allows the selection of three styles of compression\&.
\fBbest\fR
is the best compression available, often at the expense of CPU overhead\&.
\fBfast\fR
is often not as good a compression as
\fBbest\fR, but usually less CPU overhead\&. Or to specify
\fBcustom\fR
to use your own compression method\&. (See dumptype custom\-compress in example/amanda\&.conf for reference)
.sp
So the
\fBcompress\fR
options line may be one of:
.PP
compress none
.RS 4
.RE
.PP
compress client fast
.RS 4
.RE
.PP
compress client best
.RS 4
.RE
.PP
compress client custom
.RS 4
Specify
\fBclient\-custom\-compress\fR
"PROG"
.sp
PROG must not contain white space and it must accept \-d for uncompress\&.
.RE
.PP
compress server fast
.RS 4
.RE
.PP
compress server best
.RS 4
.RE
.PP
compress server custom
.RS 4
Specify
\fBserver\-custom\-compress\fR
"PROG"
.sp
PROG must not contain white space and it must accept \-d for uncompress\&.
.RE
.sp
Note that some tape devices do compression and this option has nothing to do with whether that is used\&. If hardware compression is used (usually via a particular tape device name or
\fBmt\fR
option), Amanda (software) compression should be disabled\&.
.RE
.PP
\fBclient\-custom\-compress\fR \fIstring\fR
.RS 4
Default: none\&. The program to use to perform compression/decompression on the client; used with "compress client custom"\&. Must not contain whitespace\&. Must accept \-d to uncompress\&.
.RE
.PP
\fBserver\-custom\-compress\fR \fIstring\fR
.RS 4
Default: none\&. The program to use to perform compression/decompression on the server; used with "compress server custom"\&. Must not contain whitespace\&. Must accept \-d to uncompress\&.
.RE
.PP
\fBdumpcycle\fR \fIint\fR
.RS 4
Default:
\fI10 days\fR\&. The number of days in the backup cycle\&. Each disk using this set of options will get a full backup at least this of ten\&. Setting this to zero tries to do a full backup each run\&.
.RE
.PP
\fBencrypt\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ]
.RS 4
Default: not set\&. To encrypt backup images, it can do so either on the backup client host before it crosses the network or on the tape server host as it goes from the network into the holding disk or to tape\&.
.sp
So the
\fBencrypt\fR
options line may be one of:
.PP
encrypt none
.RS 4
.RE
.PP
encrypt client
.RS 4
Specify client\-encrypt "PROG"
.sp
PROG must not contain white space\&.
.sp
Specify client\-decrypt\-option "decryption\-parameter" Default: "\-d"
.sp
decryption\-parameter must not contain white space\&.
.sp
(See dumptype client\-encrypt\-nocomp in example/amanda\&.conf for reference)
.RE
.PP
encrypt server
.RS 4
Specify server\-encrypt "PROG"
.sp
PROG must not contain white space\&.
.sp
Specify server\-decrypt\-option "decryption\-parameter" Default: "\-d"
.sp
decryption\-parameter must not contain white space\&.
.sp
(See dumptype server\-encrypt\-fast in example/amanda\&.conf for reference)
.RE
.sp
Note that current logic assumes compression then encryption during backup(thus decrypt then uncompress during restore)\&. So specifying client\-encryption AND server\-compression is not supported\&.
\fIamcrypt\fR
which is a wrapper of
\fIaespipe\fR
is provided as a reference symmetric encryption program\&.
.RE
.PP
\fBclient\-encrypt\fR \fIstring\fR
.RS 4
Default: none\&. The program to use to perform encryption/decryption on the client; used with "encrypt client"\&. Must not contain whitespace\&.
.RE
.PP
\fBclient\-decrypt\-option\fR \fIstring\fR
.RS 4
Default: \-d\&. The option that can be passed to client\-encrypt to make it decrypt instead\&. Must not contain whitespace\&.
.RE
.PP
\fBserver\-encrypt\fR \fIstring\fR
.RS 4
Default: none\&. The program to use to perform encryption/decryption on the server; used with "encrypt server"\&. Must not contain whitespace\&.
.RE
.PP
\fBserver\-decrypt\-option\fR \fIstring\fR
.RS 4
Default: \-d\&. The option that can be passed to server\-encrypt to make it decrypt instead\&. Must not contain whitespace\&.
.RE
.PP
\fBestimate\fR [ \fBclient\fR | \fBcalcsize\fR | \fBserver\fR ]+
.RS 4
Default:
\fBclient\fR\&. Determine the way Amanda estimates the size of each DLE before beginning a backup\&. This is a list of acceptable estimate methods, and Amanda applies the first method supported by the application\&. The methods are:
.PP
client
.RS 4
Use the same program as the dumping program\&. This is the most accurate method to do estimates, but it can take a long time\&.
.RE
.PP
calcsize
.RS 4
Use a faster program to do estimates, but the result is less accurate\&.
.RE
.PP
server
.RS 4
Use only statistics from the previous few runs to give an estimate\&. This very quick, but the result is not accurate if your disk usage changes from day to day\&. If this method is specified, but the server does not have enough data to make an estimate, then the option is internally moved to the end of the list, thereby preferring \*(Aqclient\*(Aq or \*(Aqcalcsize\*(Aq in this case\&.
.RE
.RE
.PP
\fBexclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
.RS 4
Default:
\fBfile\fR\&. Exclude is the opposite of
\fBinclude\fR
and specifies files that will be excluded from the backup\&. The format of the exclude expressions depends on the application, and some applications do not support excluding files at all\&.
.sp
There are two exclude parameters,
\fBexclude\fR
\fBfile\fR
and
\fBexclude\fR
\fBlist\&.\fR
With
\fBexclude\fR
\fBfile\fR, the
\fIstring\fR
is an exclude expression\&. With
\fBexclude\fR
\fBlist\fR
, the
\fIstring\fR
is a file name on the client containing
\fBGNU\-tar\fR
exclude expressions\&. The path to the specified exclude list file, if present (see description of \*(Aqoptional\*(Aq below), must be readable by the Amanda user\&.
.sp
All exclude expressions are concatenated in one file and passed to the application as an
\fB\-\-exclude\-from\fR
argument\&.
.sp
For
\fBGNU\-tar\fR, exclude expressions must always be specified as relative to the top\-level directory of the DLE, and must start with "\&./"\&. See the manpages for individual applications for more information on supported exclude expressions\&.
.sp
With the
\fBappend\fR
keyword, the
\fIstring\fR
is appended to the current list, without it, the
\fIstring\fR
overwrites the list\&.
.sp
If
\fBoptional\fR
is specified for
\fBexclude\fR
\fBlist\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&.
.sp
For
\fBexclude\fR
\fBlist\fR, if the file name is relative, the disk name being backed up is prepended\&. So if this is entered:
.nf
    exclude list "\&.amanda\&.excludes"
.fi
the actual file used would be
/var/\&.amanda\&.excludes
for a backup of
/var,
/usr/local/\&.amanda\&.excludes
for a backup of
/usr/local, and so on\&.
.RE
.PP
\fBholdingdisk\fR [ \fBnever\fR | \fBauto\fR | \fBrequired\fR ]
.RS 4
Default:
\fBauto\fR\&. Whether a holding disk should be used for these backups or whether they should go directly to tape\&. If the holding disk is a portion of another file system that Amanda is backing up, that file system should refer to a dumptype with
\fBholdingdisk\fR
set to
\fInever\fR
to avoid backing up the holding disk into itself\&.
.PP
\fBnever\fR|no|false|off
.RS 4
Never use a holdingdisk, the dump will always go directly to tape\&. There will be no dump if you have a tape error\&.
.RE
.PP
\fBauto\fR|yes|true|on
.RS 4
Use the holding disk, unless there is a problem with the holding disk, the dump won\*(Aqt fit there or the medium doesn\*(Aqt require spooling (e\&.g\&., VFS device)
.RE
.PP
\fBrequired\fR
.RS 4
Always dump to holdingdisk, never directly to tape\&. There will be no dump if it doesn\*(Aqt fit on holdingdisk
.RE
.RE
.PP
\fBignore\fR \fIboolean\fR
.RS 4
Default:
\fBno\fR\&. Whether disks associated with this backup type should be backed up or not\&. This option is useful when the
\fIdisklist\fR
file is shared among several configurations, some of which should not back up all the listed file systems\&.
.RE
.PP
\fBinclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
.RS 4
Default:
\fBfile\fR
"\&."\&. There are two include lists,
\fBinclude file\fR
and
\fBinclude list\&.\fR
With
\fBinclude file\fR
, the
\fIstring\fR
is a glob expression\&. With
\fBinclude list\fR
, the
\fIstring\fR
is a file name on the client containing glob expressions\&.
.sp
All include expressions are expanded by Amanda, concatenated in one file and passed to
\fBGNU\-tar\fR
as a
\fB\-\-files\-from\fR
argument\&. They must start with "\&./" and contain no other "/"\&.
.sp
Include expressions must always be specified as relative to the head directory of the DLE\&.
.if n \{\
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
For globbing to work at all, even the limited single level, the top level directory of the DLE must be readable by the Amanda user\&.
.sp .5v
.RE
With the
\fBappend\fR
keyword, the
\fIstring\fR
is appended to the current list, without it, the
\fIstring\fR
overwrites the list\&.
.sp
If
\fBoptional\fR
is specified for
\fBinclude list\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&.
.sp
For
\fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\&.
.RE
.PP
\fBindex\fR \fIboolean\fR
.RS 4
Default:
\fBno\fR\&. Whether an index (catalogue) of the backup should be generated and saved in
\fBindexdir\fR\&. These catalogues are used by the
\fBamrecover\fR
utility\&.
.RE
.PP
\fBkencrypt\fR \fIboolean\fR
.RS 4
Default:
\fBno\fR\&. Whether the backup image should be encrypted by Kerberos as it is sent across the network from the backup client host to the tape server host\&.
.RE
.PP
\fBmaxdumps\fR \fIint\fR
.RS 4
Default:
\fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the main section parameter
\fBinparallel\fR\&.
.RE
.PP
\fBmaxpromoteday\fR \fIint\fR
.RS 4
Default:
\fI10000\fR\&. The maximum number of day for a promotion, set it 0 if you don\*(Aqt want promotion, set it to 1 or 2 if your disks get overpromoted\&.
.RE
.PP
\fBpriority\fR [ \fBlow\fR | \fBmedium\fR | \fBhigh\fR ]
.RS 4
Default:
\fBmedium\fR\&. When there is no tape to write to, Amanda will do incremental backups in priority order to the holding disk\&. The priority may be high (2), medium (1), low (0) or a number of your choice\&.
.RE
.PP
\fBprogram\fR [ \fB"DUMP"\fR | \fB"GNUTAR"\fR | \fB"APPLICATION"\fR ]
.RS 4
Default:
\fI"DUMP"\fR\&. The type of backup to perform\&. Valid values are:
.PP
\fB"DUMP"\fR
.RS 4
The native operating system backup program\&.
.RE
.PP
\fB"GNUTAR"\fR
.RS 4
To use GNU\-tar or to do PC backups using Samba\&.
.RE
.PP
\fB"APPLICATION"\fR
.RS 4
To use an application, see the
\fIapplication\fR
option\&.
.RE
.RE
.PP
\fBapplication\fR \fIstring\fR
.RS 4
No default\&. Must be the name of an application if
\fIprogram\fR
is set to
\fIAPPLICATION\fR\&. See APPLICATION SECTION below\&.
.RE
.PP
\fBscript\fR \fIstring\fR
.RS 4
No default\&. Must be the name of a script\&. You can have many script\&. See SCRIPT SECTION below\&.
.RE
.PP
\fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
.RS 4
These options can set various properties, they can be used by third party software to store information in the configuration file\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
\fBappend\fR
keyword append the values to the list of values for that property\&.
.RE
.PP
\fBrecord\fR \fIboolean\fR
.RS 4
Default:
\fIyes\fR\&. Whether to ask the backup program to update its database (e\&.g\&.
/var/lib/dumpdates
for DUMP or
/usr/local/var/amanda/gnutar\-lists
for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&.
.RE
.PP
\fBskip\-full\fR \fIboolean\fR
.RS 4
Default:
\fBno\fR\&. If
\fBtrue\fR
and
\fBplanner\fR
has scheduled a full backup, these disks will be skipped, and full backups should be run off\-line on these days\&. It was reported that Amanda only schedules level 1 incrementals in this configuration; this is probably a bug\&.
.RE
.PP
\fBskip\-incr\fR \fIboolean\fR
.RS 4
Default:
\fBno\fR\&. If
\fBtrue\fR
and
\fBplanner\fR
has scheduled an incremental backup, these disks will be skipped\&.
.RE
.PP
\fBssh\-keys\fR \fIstring\fR
.RS 4
Default: not set\&. The key file the ssh auth will use, it must be the private key\&. If this parameter is not specified, then the default ssh key will be used\&.
.RE
.PP
\fBstarttime\fR \fIint\fR
.RS 4
Default: not set\&. Backup of these disks will not start until after this time of day\&. The value should be hh*100+mm, e\&.g\&. 6:30PM (18:30) would be entered as
1830\&.
.RE
.PP
\fBstrategy\fR [ \fBstandard\fR | \fBnofull\fR | \fBnoinc\fR | \fBskip\fR | \fBincronly\fR ]
.RS 4
Default:
\fBstandard\fR\&. Strategy to use when planning what level of backup to run next\&. Values are:
.PP
\fBstandard\fR
.RS 4
The standard Amanda schedule\&.
.RE
.PP
\fBnofull\fR
.RS 4
Never do full backups, only level 1 incrementals\&.
.RE
.PP
\fBnoinc\fR
.RS 4
Never do incremental backups, only full dumps\&.
.RE
.PP
\fBskip\fR
.RS 4
Treat this DLE as if it doesn\*(Aqt exist (useful to disable DLEs when sharing the
\fIdisklist\fR
file between multiple configurations)\&. Skipped DLEs will not be checked or dumped, and will not be matched by disklist expressions\&.
.RE
.PP
\fBincronly\fR
.RS 4
Only do incremental dumps\&.
\fBamadmin force\fR
should be used to tell Amanda that a full dump has been performed off\-line, so that it resets to level 1\&.
.RE
.RE
.PP
\fBallow\-split\fR \fIbool\fR
.RS 4
Default: true\&. If true, then dumps with this dumptype can be split on the storage media\&. If false, then the dump will be written in a single file on the media\&. See "Dump Splitting Configuration" below\&.
.RE
.PP
\fBtape\-splitsize\fR \fIint\fR
.RS 4
Deprecated\&. See "Dump Splitting Configuration" below\&.
.sp
Default: not set\&. Split dump file on tape into pieces of a specified size\&. The default unit is Kbytes if it is not specified\&.
.RE
.PP
\fBsplit\-diskbuffer\fR \fIstring\fR
.RS 4
.PP
Deprecated\&. See "Dump Splitting Configuration" below\&.
Default: not set\&. When dumping a split dump in PORT\-WRITE mode (usually meaning "no holding disk"), buffer the split chunks to a file in the directory specified by this option\&.
.RE
.PP
\fBfallback\-splitsize\fR \fIint\fR
.RS 4
Deprecated\&. See "Dump Splitting Configuration" below\&.
.sp
Default:
\fI10M\fR\&. This specifies the part size used when no
\fBsplit\-diskbuffer\fR
is specified, or when it is too small or does not exist, and thus the maximum amount of memory consumed for in\-memory splitting\&. The default unit is Kbytes if it is not specified\&.
.RE
.PP
\fBrecovery\-limit\fR [ \fBserver\fR | \fBsame\-host\fR | \fIstring\fR ]*
.RS 4
Default: global value\&. This parameter overrides the global
\fBrecovery\-limit\fR
parameter for DLEs of this dumptype\&.
.RE
.PP
\fBdump\-limit\fR [ \fBserver\fR | \fBsame\-host\fR ]*
.RS 4
Default:
\fBserver\fR\&. Specify which host can initiate a backup of the dle\&. With
\fBserver\fR, the server can initiate a backup with the
\fBamdump\fR
command\&. With
\fBsame\-host\fR, the client can initiate a backup with the
\fBamdump_client\fR
command\&.
.RE
.PP
The following
\fBdumptype\fR
entries are predefined by Amanda:
.nf
define dumptype "no\-compress" {
    compress none
}
define dumptype "compress\-fast" {
    compress client fast
}
define dumptype "compress\-best" {
    compress client best
}
define dumptype "srvcompress" {
    compress server fast
}
define dumptype "bsd\-auth" {
    auth "bsd"
}
define dumptype "bsdtcp\-auth" {
    auth "bsdtcp"
}
define dumptype "no\-record" {
    record no
}
define dumptype "no\-hold" {
    holdingdisk no
}
define dumptype "no\-full" {
    skip\-full yes
} 
.fi
.PP
In addition to options in a
\fBdumptype\fR
section, one or more other
\fBdumptype\fR
names may be supplied as identifiers, which make this
\fBdumptype\fR
inherit options from other previously defined
\fBdumptype\fRs\&. For instance, two sections might be the same except for the
\fBrecord\fR
option:
.nf
define dumptype "normal" {
    comment "Normal backup, no compression, do indexing"
    no\-compress
    index yes
    maxdumps 2
}
define dumptype "testing" {
    comment "Test backup, no compression, do indexing, no recording"
    "normal"
    record no
}
.fi
.PP
Amanda provides a
\fBdumptype\fR
named
\fIglobal\fR
in the sample
\fBamanda\&.conf\fR
file that all
\fBdumptype\fRs should reference\&. This provides an easy place to make changes that will affect every
\fBdumptype\fR, although you must be careful that every dumptype explicitly inherits from the
\fIglobal\fR
dumptype \- Amanda does not do so automatically\&.
.SH "TAPETYPE SECTION"
.PP
The
\fBamanda\&.conf\fR
file may define multiple types of tape media and devices\&. The information is entered in a
\fBtapetype\fR
section, which looks like this in the config file:
.nf
define tapetype "\fIname\fR" {
    \fItapetype\-option\fR \fItapetype\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIName\fR
is the name of this type of tape medium/device\&. It is referenced from the
\fBtapetype\fR
option in the main part of the config file\&.
.PP
The tapetype options and values are:
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this set of tape information\&.
.RE
.PP
\fBfilemark\fR \fIint\fR
.RS 4
Default:
\fI1 kbytes\fR\&. How large a file mark (tape mark) is, measured in kbytes\&. If the size is only known in some linear measurement (e\&.g\&. inches), convert it to kbytes using the device density\&.
.RE
.PP
\fBlength\fR \fIint\fR
.RS 4
Default:
\fI2000 kbytes\fR\&. How much data will fit on a tape, expressed in kbytes\&.
.sp
Note that this value is only used by Amanda to schedule which backups will be run\&. Once the backups start, Amanda will continue to write to a tape until it gets an error, regardless of what value is entered for
\fBlength\fR
(but see
\fBamanda-devices\fR(7)
for exceptions)\&.
.RE
.PP
\fBblocksize\fR \fIint\fR
.RS 4
Default:
\fI32 kbytes\fR\&. How much data will be written in each tape record, expressed in kbytes\&. This is similar to the
\fIBLOCK_SIZE\fR
device property, but if the blocksize is not a multiple of 1024 bytes, then this parameter cannot be used to specify it, and the property must be used instead\&.
.RE
.PP
\fBreadblocksize\fR \fIint\fR
.RS 4
Default:
\fI32 kytes\fR
How much data will be read in each tape record\&. This can be used to override a device\*(Aqs block size for reads only\&. This may be useful, for example, in reading a tape written with a 256k block size when Amanda is configured to use 128k blocks\&. This unusual feature is not supported by all operating systems and tape devices\&.
.sp
The default unit is Kbytes if it is not specified\&.
.RE
.PP
\fBpart\-size\fR \fIint\fR
.RS 4
Default: none\&. This is the size (in KB if no units are specified) of each split part written to the volume\&. It is reduced to
\fBpart\-cache\-max\-size\fR
when part caching is required\&. If this is set to zero, then no splitting will take place; in this case, some devices can span dumps from volume to volume, while others will cause the entire dump to fail if they encounter end\-of\-medium before the dump is complete\&. See "Dump Splitting Configuration" below\&.
.RE
.PP
\fBpart\-cache\-type\fR [ \fBnone\fR | \fBdisk\fR | \fBmemory\fR ]
.RS 4
Default: none\&. When part caching is required, this parameter specifies the type of caching that will be used\&. The options include no caching (\fBnone\fR), in which case a failed part will cause the entire dump to fail; on\-disk caching (\fBdisk\fR), for which
\fBpart\-cache\-dir\fR
must be set properly; and in\-memory caching (\fBmemory\fR), which on most systems severely restrains the size of the part that can be written\&. See "Dump Splitting Configuration" below\&.
.RE
.PP
\fBpart\-cache\-dir\fR \fIstring\fR
.RS 4
Default: none\&. The directory in which part\-cache files can be written when caching on disk\&. See "Dump Splitting Configuration" below\&.
.RE
.PP
\fBpart\-cache\-max\-size\fR \fIint\fR
.RS 4
Default: none\&. The maximum part size to use when caching is in effect\&. This is used to limit the part size when disk or memory space for caching is constrained\&. This value must be greater than zero\&.
.RE
.PP
\fBspeed\fR \fIint\fR
.RS 4
Default:
\fI200 bps\fR\&. How fast the drive will accept data, in bytes per second\&. This parameter is NOT currently used by Amanda\&.
.RE
.PP
\fBlbl\-templ\fR \fIstring\fR
.RS 4
Default: not set\&. A PostScript template file used by
\fBamreport\fR
to generate labels\&. Several sample files are provided with the Amanda sources in the
\fIexample\fR
directory\&. See the
\fBamreport\fR(8)
man page for more information\&.
.RE
.PP
In addition to options, another
\fBtapetype\fR
name may be supplied as an identifier, which makes this
\fBtapetype\fR
inherit options from another
\fBtapetype\fR\&. For instance, the only difference between a DLT4000 tape drive using Compact\-III tapes and one using Compact\-IV tapes is the length of the tape\&. So they could be entered as:
.nf
define tapetype "DLT4000\-III" {
    comment "DLT4000 tape drives with Compact\-III tapes"
    length 12500 mbytes         # 10 Gig tapes with some compression
    filemark 2000 kbytes
    speed 1536 kps
}
define tapetype "DLT4000\-IV" {
    "DLT4000\-III"
    comment "DLT4000 tape drives with Compact\-IV tapes"
    length 25000 mbytes         # 20 Gig tapes with some compression
}
.fi
.SH "INTERFACE SECTION"
.PP
The
\fBamanda\&.conf\fR
file may define multiple types of network interfaces\&. The information is entered in an
\fBinterface\fR
section, which looks like this:
.nf
define interface "\fIname\fR" {
    \fIinterface\-option\fR \fIinterface\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIname\fR
is the name of this type of network interface\&. It is referenced from the
\fIdisklist\fR
file\&.
.PP
Note that these sections define network interface characteristics, not the actual interface that will be used\&. Nor do they impose limits on the bandwidth that will actually be taken up by Amanda\&. Amanda computes the estimated bandwidth each file system backup will take based on the estimated size and time, then compares that plus any other running backups with the limit as another of the criteria when deciding whether to start the backup\&. Once a backup starts, Amanda will use as much of the network as it can leaving throttling up to the operating system and network hardware\&.
.PP
The interface options and values are:
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this set of network information\&.
.RE
.PP
\fBuse\fR \fIint\fR
.RS 4
Default:
\fI80000 Kbps\fR\&. The speed of the interface in Kbytes per second\&.
.RE
.PP
In addition to options, another
\fBinterface\fR
name may be supplied as an identifier, which makes this
\fBinterface\fR
inherit options from another
\fBinterface\fR\&. At the moment, this is of little use\&.
.SH "APPLICATION SECTION"
.PP
The
\fBamanda\&.conf\fR
file may define multiple types of application\&. The information is entered in a
\fBapplication\fR
section, which looks like this:
.nf
define application "\fIname\fR" {
    \fIapplication\-option\fR \fIapplication\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIname\fR
is the name of this type of application\&. It is referenced from the
\fIdumptype\fR
.PP
The application options and values are:
.PP
\fBclient\-name\fR \fIstring\fR
.RS 4
No default, specifies an application name that is in the amanda\-client\&.conf on the client\&. The setting from that application will be merged with the current application\&. If
\fBclient\-name\fR
is set then it is an error if that application is not defined on the client\&.
.sp
If
\fBclient\-name\fR
is not set then the merge is done with the application that have the name equal to the plugin\&. eg\&. if the plugin is \*(Aqamgtar\*(Aq, then the setting from the application \*(Aqamgtar\*(Aq is used if it is defined\&.
.RE
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this application\&.
.RE
.PP
\fBplugin\fR \fIstring\fR
.RS 4
No default\&. Must be set to the name of the program\&. This program must be in the
\fI$libexecdir/amanda/application\fR
directory on the client\&.
.RE
.PP
\fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
.RS 4
No default\&. You can set property for the application, each application have a different set of property\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
\fBappend\fR
keyword append the values to the list of values for that property\&.
\fBpriority\fR
keyword disallow the setting of that property on the client\&.
.RE
.SH "SCRIPT SECTION"
.PP
The
\fBamanda\&.conf\fR
file may define multiple types of script\&. The information is entered in a
\fBscript\fR
section, which looks like this:
.nf
define script "\fIname\fR" {
    \fIscript\-option\fR \fIscript\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIname\fR
is the name of this type of script\&. It is referenced from the
\fIdumptype\fR
.PP
The script options and values are:
.PP
\fBclient\-name\fR \fIstring\fR
.RS 4
No default, specifies a script name that is in the amanda\-client\&.conf on the client\&. The setting from that script will be merged with the currect script\&. If
\fBclient\-name\fR
is set then it is an error if that script is not defined on the client\&.
.sp
If
\fBclient\-name\fR
is not set then the merge is done with the script that have the name equal to the plugin\&. eg\&. if the plugin is \*(Aqamlog\-script\*(Aq, then the setting from the script \*(Aqamlog\-script\*(Aq is used\&.
.RE
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this script\&.
.RE
.PP
\fBplugin\fR \fIstring\fR
.RS 4
No default\&. Must be set to the name of the program\&. This program must be in the
\fI$libexecdir/amanda/application\fR
directory on the client and/or server\&.
.RE
.PP
\fBorder\fR \fIint\fR
.RS 4
Default:
\fI5000\fR\&. Scripts are executed in that order, it is useful if you have many scripts and they must be executed in a spefific order\&.
.RE
.PP
\fBsingle\-execution\fR \fIboolean\fR
.RS 4
Default:
\fIno\fR\&. The script is executed for each dle\&. If
\fIyes\fR, the script is executed one time only\&.
.RE
.PP
\fBexecute\-where\fR [ \fBclient\fR | \fBserver\fR ]
.RS 4
Default:
\fBclient\fR\&. Where the script must be executed, on the client or server\&.
.RE
.PP
\fBexecute\-on\fR \fIexecute_on\fR [,\fIexecute_on\fR]*
.RS 4
No default\&. When the script must be executed, you can specify many of them:
.PP
\fBpre\-amcheck\fR
.RS 4
Execute before the amcheck command for all dle\&. Can only be run on server\&.
.RE
.PP
\fBpre\-dle\-amcheck\fR
.RS 4
Execute before the amcheck command for the dle\&.
.RE
.PP
\fBpre\-host\-amcheck\fR
.RS 4
Execute before the amcheck command for all dle for the client\&.
.RE
.PP
\fBpost\-amcheck\fR
.RS 4
Execute after the amcheck command for all dle\&. Can only be run on server\&.
.RE
.PP
\fBpost\-dle\-amcheck\fR
.RS 4
Execute after the amcheck command for the dle\&.
.RE
.PP
\fBpost\-host\-amcheck\fR
.RS 4
Execute after the amcheck command for all dle for the client\&.
.RE
.PP
\fBpre\-estimate\fR
.RS 4
Execute before the estimate command for all dle\&. Can only be run on server\&.
.RE
.PP
\fBpre\-dle\-estimate\fR
.RS 4
Execute before the estimate command for the dle\&.
.RE
.PP
\fBpre\-host\-estimate\fR
.RS 4
Execute before the estimate command for all dle for the client\&.
.RE
.PP
\fBpost\-estimate\fR
.RS 4
Execute after the estimate command for all dle\&. Can only be run on server\&.
.RE
.PP
\fBpost\-dle\-estimate\fR
.RS 4
Execute after the estimate command for the dle\&.
.RE
.PP
\fBpost\-host\-estimate\fR
.RS 4
Execute after the estimate command for all dle for the client\&.
.RE
.PP
\fBpre\-backup\fR
.RS 4
Execute before the backup command for all dle\&. Can only be run on server\&.
.RE
.PP
\fBpre\-dle\-backup\fR
.RS 4
Execute before the backup command for the dle\&.
.RE
.PP
\fBpre\-host\-backup\fR
.RS 4
Execute before the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server
.RE
.PP
\fBpost\-backup\fR
.RS 4
Execute after the backup command for all dle\&. Can only be run on server\&.
.RE
.PP
\fBpost\-dle\-backup\fR
.RS 4
Execute after the backup command for the dle\&.
.RE
.PP
\fBpost\-host\-backup\fR
.RS 4
Execute after the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server
.RE
.PP
\fBpre\-recover\fR
.RS 4
Execute before any level is recovered\&.
.RE
.PP
\fBpost\-recover\fR
.RS 4
Execute after all levels are recovered\&.
.RE
.PP
\fBpre\-level\-recover\fR
.RS 4
Execute before each level recovery\&.
.RE
.PP
\fBpost\-level\-recover\fR
.RS 4
Execute after each level recovery\&.
.RE
.PP
\fBinter\-level\-recover\fR
.RS 4
Execute between two levels of recovery\&.
.RE
.sp
If you recover level 0 and 2 of the disk /usr with amrecover, it will execute:
.nf
script \-\-pre\-recover
script \-\-pre\-level\-recover \-\-level 0
#recovering level 0
script \-\-post\-level\-recover \-\-level 0
script \-\-inter\-level\-recover \-\-level 0 \-\-level 2
script \-\-pre\-level\-recover \-\-level 2
#recovering level 2
script \-\-post\-level\-recover \-\-level 2
script \-\-post\-recover
.fi
.RE
.PP
\fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
.RS 4
No default\&. You can set property for the script, each script have a different set of property\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
\fBappend\fR
keyword append the values to the list of values for that property\&.
\fBpriority\fR
keyword disallow the setting of that property on the client\&.
.RE
.SH "DEVICE SECTION"
.PP
Backend storage devices are specified in
\fBamanda\&.conf\fR
in the form of "device" sections, which look like this:
.nf
define device \fIname\fR {
    commend "\fIcomment (optional)\fR"
    tapedev "\fIdevice\-specifier\fR"
    device\-property "\fIprop\-name\fR" "\fIprop\-value\fR"
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIname\fR
is the user\-specified name of this device\&. It is referenced from the global
\fItapedev\fR
parameter\&. The
\fIdevice\-specifier\fR
specifies the device name to use; see
\fBamanda-devices\fR(7)\&. As with most sections, the
\fIcomment\fR
parmeter is optional and only for the user\*(Aqs convenience\&.
.PP
An arbitrary number of
\fIdevice\-property\fR
parameters can be specified\&. Again, see
\fBamanda-devices\fR(7)
for information on device properties\&.
.SH "CHANGER SECTION"
.PP
Changers are described in
\fBamanda\&.conf\fR
in the form of "changer" sections, which look like this:
.nf
define changer \fIname\fR {
    comment "\fIcomment (optional)\fR"
    tpchanger "\fIchanger\-spec\fR"
    changerdev "\fIdevice\-name\fR"
    changerfile "\fIstate\-file\fR"
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIname\fR
is the user\-specified name of this device\&. The remaining parameters are specific to the changer type selected\&.
.PP
See
\fBamanda-changers\fR(7)
for more information on configuring changers\&.
.SH "INTERACTIVITY SECTION"
.PP
The
\fBamanda\&.conf\fR
file may define multiple interactivyt methods, although only one will be used \- that specified by the
\fBinteractivity\fR
parameter\&. The information is entered in a
\fBinteractivity\fR
section, which looks like this:
.nf
define interactivity \fIname\fR {
    \fIinteractivity\-option\fR \fIinteractivity\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIname\fR
is the user\-specified name of this interactivity\&. The remaining parameters are specific to the interactivity type selected\&.
.PP
The interactivity options and values are:
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this interactivity\&.
.RE
.PP
\fBplugin\fR \fIstring\fR
.RS 4
No default\&. Must be set to the name of the interactivity module, as described in
\fBamanda-interactivity\fR(7)\&.
.RE
.PP
\fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
.RS 4
No default\&. You can set arbitrary properties for the interactivity\&. Each interactivity module has a different set of properties\&. The first string contains the name of the property to set, and the others contains its values\&. All strings should be quoted\&. The
\fBappend\fR
keyword appends the given values to an existing list of values for that property\&.
.RE
.PP
See
\fBamanda-interactivity\fR(7)
for more information on configuring interactivity methods\&.
.SH "TAPERSCAN SECTION"
.PP
The
\fBamanda\&.conf\fR
file may define multiple taperscan methods, although only one will be used \- that specified by the
\fBtaperscan\fR
parameter\&. The information is entered in a
\fBtaperscan\fR
section, which looks like this:
.nf
define taperscan \fIname\fR {
    \fItaperscan\-option\fR \fItaperscan\-value\fR
    \&.\&.\&.
}
.fi
.PP
The { must appear at the end of a line, and the } on its own line\&.
.PP
\fIname\fR
is the user\-specified name of this taperscan\&. The remaining parameters are specific to the taperscan type selected\&.
.PP
The taperscan options and values are:
.PP
\fBcomment\fR \fIstring\fR
.RS 4
Default: not set\&. A comment string describing this taperscan\&.
.RE
.PP
\fBplugin\fR \fIstring\fR
.RS 4
No default\&. Must be set to the name of the taperscan module\&. See
<man></man>
for a list of defined taperscan modules\&.
.RE
.PP
\fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
.RS 4
No default\&. Operates just like properties for interactivity methods, above\&.
.RE
.PP
See
\fBamanda-taperscan\fR(7)
for more information on configuring taperscan\&.
.SH "DUMP SPLITTING CONFIGURATION"
.PP
Amanda can "split" dumps into parts while writing them to storage media\&. This allows Amanda to recover gracefully from a failure while writing a part to a volume, by simply selecting a new volume and re\-writing the dump from the beginning of the failed part\&. Parts also allow Amanda to seek directly to the required data, although this functionality is not yet used\&.
.PP
In order to support re\-writing from the beginning of a failed part, Amanda must have access to the contents of the part after it has been partially written\&. If the dump is being read from holding disk, then the part contents are availble there\&. Otherwise, the part must be cached, and this can be done memory or on disk\&. In either of the latter cases, the cache must have enough space to hold an entire part\&.
.PP
Because it is common for a single Amanda configuration to use both holding\-disk (FILE\-WRITE) and direct (known as PORT\-WRITE) dumps, Amanda allows the configuration of different split sizes for the two cases\&. This allows, for example, for a part size appropriate to large tapes when performing FILE\-WRITE dumps, with a part size limited by available disk or memory when performing PORT\-WRITE dumps\&.
.PP
Selecting a proper split size is a delicate matter\&. If the parts are too large, substantial storage space may be wasted in failed parts\&. If too small, large dumps will be split into innumerable tiny dumpfiles, adding to restoration complexity; furthermore, an excess of filemarks will cause slower tape drive operation and reduce the usable space on tape\&. A good rule of thumb is 1/10 of the size of a volume of storage media\&.
.PP
In versions of Amanda through 3\&.1\&.*, splitting was controlled by the dumptype parameters
\fBtape\-splitsize\fR,
\fBsplit\-diskbuffer\fR, and
\fBfallback\-splitsize\fR\&. These keywords had confusing and non\-intuitive interactions, and have since been deprecated\&.
.PP
If the deprecated keywords are not present, subsequent versions of Amanda use the dumptype parameter
\fBallow\-split\fR
to control whether a DLE can be split, and the
\fItapetype\fR
parameters
\fBpart\-size\fR,
\fBpart\-cache\-type\fR,
\fBpart\-cache\-dir\fR, and
\fBpart\-cache\-max\-size\fR\&. The
\fBpart\-size\fR
specifies the "normal" part size, while the
\fBpart\-cache\-*\fR
parameters describe how to behave when caching is required (on PORT\-WRITE)\&. Full details on these parameters are given above\&.
.SH "SEE ALSO"
.PP
\fBamanda\fR(8),
\fBamanda-client.conf\fR(5),
\fBamanda-applications\fR(7),
\fBamanda-auth\fR(7),
\fBamanda-changers\fR(7),
\fBamanda-devices\fR(7),
\fBamanda-interactivity\fR(7),
\fBamanda-scripts\fR(7),
\fBamanda-taperscan\fR(7)
.PP
The Amanda Wiki:
: http://wiki.zmanda.com/
.SH "AUTHORS"
.PP
\fBJames da Silva\fR <\&jds@amanda\&.org\&>
.PP
\fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>