Imported Upstream version 3.3.1
[debian/amanda] / example / template.d / amanda-tape-changer.conf.in
index d2922a29fd8726fd59d2d15487fdb0bdd314d300..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 {