149fc9efa057ce57da3ca999fe1549d82762548d
[debian/amanda] / example / template.d / amanda-S3.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 tpchanger "chg-multi"   # the tape-changer glue script
14 tapedev "S3:"           # the no-rewind tape device to be used
15 changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf" 
16 #changerdev "/dev/sg1"
17 tapetype S3     # what kind of tape it is (see tapetypes below)
18
19 holdingdisk hd2 {
20     directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@"
21     use 1000 Mb
22     }
23
24 label_new_tapes "@DEFAULT_CONFIG@-%%%%" # Enable auto labeling 
25 labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"       # label constraint regex: all tapes must match
26
27 dtimeout 1800           # number of idle seconds before a dump is aborted.
28 ctimeout 30             # maximum number of seconds that amcheck waits
29                         # for each client host
30 etimeout 300            # number of seconds per filesystem for estimates.
31
32 define dumptype global {
33         comment "Global definitions"
34         auth "bsdtcp"
35 }
36
37 #define application-tool and dumptype for the amgtar application
38 define application-tool app_amgtar {
39     comment "amgtar"
40     plugin  "amgtar"
41     #property "GNUTAR-PATH" "/path/to/gtar"
42     #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
43 }
44
45 define dumptype gui-base {
46         global
47         program "APPLICATION"
48         application "app_amgtar"
49         comment "gui base dumptype dumped with tar"
50         compress none
51         index yes
52 }
53
54 define tapetype HARDDISK {
55     comment "Virtual Tapes"
56     length 5000 mbytes
57 }
58
59 define tapetype S3 {
60     comment "S3 Bucket"
61     length 10240 gigabytes # Bucket size 10TB
62 }
63
64 includefile "./advanced.conf"
65 includefile "@CONFIG_DIR@/template.d/dumptypes"
66 includefile "@CONFIG_DIR@/template.d/tapetypes"
67