Imported Upstream version 3.3.1
[debian/amanda] / example / template.d / amanda-harddisk.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 runtapes 1                     # number of tapes to be used in a single run of amdump
13
14 define changer my_vtapes {
15     tpchanger "chg-disk:/@prefix@/var/lib/amanda/vtapes/@DEFAULT_CONFIG@"
16     property "num-slot" "10"
17     property "auto-create-slot" "yes"
18 }
19 tpchanger "my_vtapes"
20 tapetype HARDDISK               # what kind of tape it is 
21 labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"    # label constraint regex: all tapes must match
22 dtimeout 1800                          # number of idle seconds before a dump is aborted.
23 ctimeout 30                            # maximum number of seconds that amcheck waits
24                                        # for each client host
25 etimeout 300                           # number of seconds per filesystem for estimates.
26
27 define dumptype global {
28         comment "Global definitions"
29         auth "bsdtcp"
30 }
31
32 #define application-tool and dumptype for the amgtar application
33 define application-tool app_amgtar {
34     comment "amgtar"
35     plugin  "amgtar"
36     #property "GNUTAR-PATH" "/path/to/gtar"
37     #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
38 }
39
40 define dumptype gui-base {
41         global
42         program "APPLICATION"
43         application "app_amgtar"
44         comment "gui base dumptype dumped with tar"
45         compress none
46         index yes
47 }
48
49 define tapetype HARDDISK {
50     comment "Virtual Tapes"
51     length 5000 mbytes
52     part_size 500 mbytes
53     part_cache_type none
54 }
55
56 includefile "./advanced.conf"
57 includefile "@CONFIG_DIR@/template.d/dumptypes"
58 includefile "@CONFIG_DIR@/template.d/tapetypes"