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