Imported Upstream version 2.6.1
[debian/amanda] / example / template.d / amanda-single-tape.conf
index 8cd47c9d9ed467b0e09a2b34006920fc62342e23..0add4f31e8906c37b26eba456fafaeb0a4bafb13 100644 (file)
@@ -11,7 +11,6 @@ tapecycle 10 tapes    # the number of tapes in rotation
                        # cycle
 
 runtapes 1             # number of tapes to be used in a single run of amdump
-tpchanger "chg-manual" # the tape-changer glue script
 tapedev "tape:/dev/nst0"       # the no-rewind tape device to be used
 changerfile "/etc/amanda/DailySet1/chg-manual.conf"
 changerdev "/dev/null"
@@ -34,9 +33,18 @@ define dumptype global {
         auth "bsdtcp"
 }
 
+#define application-tool and dumptype for the amgtar application
+define application-tool app_amgtar {
+    comment "amgtar"
+    plugin  "amgtar"
+    #property "GNUTAR-PATH" "/path/to/gtar"
+    #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
+}
+
 define dumptype gui-base {
         global
-        program "GNUTAR"
+        program "APPLICATION"
+        application "app_amgtar"
         comment "gui base dumptype dumped with tar"
         compress none
         index yes