7a26942f6ba05301da3d062e2604d9c70a76bd3a
[debian/amanda] / example / template.d / amanda-single-tape.conf.in
1 org "@DEFAULT_CONFIG@"  # your organization name for reports
2 mailto "@CLIENT_LOGIN@" # space separated list of operators at your site
3 dumpcycle 1 week        # the number of days in the normal dump cycle
4 runspercycle 5          # the number of amdump runs in dumpcycle days
5                         # (1 week * 5 amdump runs per week -- just weekdays)
6 tapecycle 10 tapes      # the number of tapes in rotation
7                         # 1 week (dumpcycle) times 5 tapes per week (just
8                         # the weekdays) plus a few to handle errors that
9                         # need amflush and so we do not overwrite the full
10                         # backups performed at the beginning of the previous
11                         # cycle
12
13 runtapes 1              # number of tapes to be used in a single run of amdump
14 tapedev "tape:/dev/nst0"        # the no-rewind tape device to be used
15 changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/chg-manual.conf"
16 changerdev "/dev/null"
17 tapetype HP-DAT                 # what kind of tape it is (see tapetypes below)
18 holdingdisk hd2 {
19     directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@"
20     use 1000 Mb
21     }
22
23 labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"       # label constraint regex: all tapes must match
24
25 dtimeout 1800           # number of idle seconds before a dump is aborted.
26 ctimeout 30             # maximum number of seconds that amcheck waits
27                         # for each client host
28 etimeout 300            # number of seconds per filesystem for estimates.
29
30
31 define dumptype global {
32         comment "Global definitions"
33         auth "bsdtcp"
34 }
35
36 #define application-tool and dumptype for the amgtar application
37 define application-tool app_amgtar {
38     comment "amgtar"
39     plugin  "amgtar"
40     #property "GNUTAR-PATH" "/path/to/gtar"
41     #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
42 }
43
44 define dumptype gui-base {
45         global
46         program "APPLICATION"
47         application "app_amgtar"
48         comment "gui base dumptype dumped with tar"
49         compress none
50         index yes
51 }
52
53 includefile "./advanced.conf"
54 includefile "@CONFIG_DIR@/template.d/dumptypes"
55 includefile "@CONFIG_DIR@/template.d/tapetypes"