lintian doesn't like orphan packages with uploaders...
[debian/amanda] / example / template.d / amanda-tape-changer.conf.in
index f46e7298775746d613a8f49631c286ead7e2120e..d4a9831ac9586a8322988de6c59ae9e97dbb7a3c 100644 (file)
@@ -10,10 +10,12 @@ tapecycle 10 tapes  # the number of tapes in rotation
                        # 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-zd-mtx" # the tape-changer glue script
-tapedev "tape:/dev/nst0"       # the no-rewind tape device to be used
-changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf" 
-changerdev "/dev/sg1"
+
+define changer my_robot {
+    tpchanger "chg-robot:/dev/sg1"
+    property "tape-device" "0=tape:/dev/nst0"
+}
+tpchanger "my_robot"
 tapetype HP-DAT                        # what kind of tape it is (see tapetypes below)
 
 holdingdisk hd2 {
@@ -33,9 +35,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