Imported Upstream version 2.6.0
[debian/amanda] / example / template.d / amanda-harddisk.conf.in
diff --git a/example/template.d/amanda-harddisk.conf.in b/example/template.d/amanda-harddisk.conf.in
new file mode 100644 (file)
index 0000000..e1c920b
--- /dev/null
@@ -0,0 +1,44 @@
+org "@DEFAULT_CONFIG@"         # your organization name for reports
+mailto "@CLIENT_LOGIN@"        # space separated list of operators at your site
+dumpcycle 1 week               # the number of days in the normal dump cycle
+runspercycle 5                 # the number of amdump runs in dumpcycle days
+                               # (1 week * 5 amdump runs per week -- just weekdays)
+tapecycle 10 tapes             # the number of tapes in rotation
+                               # 1 week (dumpcycle) times 5 tapes per week (just
+                               # the weekdays) plus a few to handle errors that
+                               # need amflush and so we do not overwrite the full
+                               # backups performed at the beginning of the previous
+                               # cycle
+runtapes 1                     # number of tapes to be used in a single run of amdump
+tpchanger "chg-disk"           # the tape-changer glue script
+tapedev "file://var/lib/amanda/vtapes/@DEFAULT_CONFIG@" # the no-rewind tape device to be used
+changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
+changerdev "/dev/null"
+tapetype HARDDISK               # what kind of tape it is 
+labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"    # label constraint regex: all tapes must match
+dtimeout 1800                          # number of idle seconds before a dump is aborted.
+ctimeout 30                            # maximum number of seconds that amcheck waits
+                                       # for each client host
+etimeout 300                           # number of seconds per filesystem for estimates.
+
+define dumptype global {
+        comment "Global definitions"
+        auth "bsdtcp"
+}
+
+define dumptype gui-base {
+       global
+        program "GNUTAR"
+        comment "gui base dumptype dumped with tar"
+        compress none
+        index yes
+}
+
+define tapetype HARDDISK {
+    comment "Virtual Tapes"
+    length 5000 mbytes
+}
+
+includefile "./advanced.conf"
+includefile "@CONFIG_DIR@/template.d/dumptypes"
+includefile "@CONFIG_DIR@/template.d/tapetypes"