Imported Upstream version 2.6.1
[debian/amanda] / example / template.d / amanda-single-tape.conf.in
index 60123055a43913ad5d317f442bbead2928051f7d..7a26942f6ba05301da3d062e2604d9c70a76bd3a 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 "@CONFIG_DIR@/@DEFAULT_CONFIG@/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