Imported Upstream version 2.6.1p2
[debian/amanda] / example / template.d / amanda-harddisk.conf
1 org "DailySet1"         # your organization name for reports
2 mailto "martinea"        # 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 tpchanger "chg-disk"           # the tape-changer glue script
14 tapedev "file://var/lib/amanda/vtapes/DailySet1" # the no-rewind tape device to be used
15 changerfile "/etc/amanda/DailySet1/changer.conf"
16 changerdev "/dev/null"
17 tapetype HARDDISK               # what kind of tape it is 
18 labelstr "^DailySet1-[0-9][0-9]*$"    # label constraint regex: all tapes must match
19 dtimeout 1800                          # number of idle seconds before a dump is aborted.
20 ctimeout 30                            # maximum number of seconds that amcheck waits
21                                        # for each client host
22 etimeout 300                           # number of seconds per filesystem for estimates.
23
24 define dumptype global {
25         comment "Global definitions"
26         auth "bsdtcp"
27 }
28
29 #define application-tool and dumptype for the amgtar application
30 define application-tool app_amgtar {
31     comment "amgtar"
32     plugin  "amgtar"
33     #property "GNUTAR-PATH" "/path/to/gtar"
34     #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
35 }
36
37 define dumptype gui-base {
38         global
39         program "APPLICATION"
40         application "app_amgtar"
41         comment "gui base dumptype dumped with tar"
42         compress none
43         index yes
44 }
45
46 define tapetype HARDDISK {
47     comment "Virtual Tapes"
48     length 5000 mbytes
49 }
50
51 includefile "./advanced.conf"
52 includefile "/etc/amanda/template.d/dumptypes"
53 includefile "/etc/amanda/template.d/tapetypes"