]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/mtx-changer.in
ebl Add example to use IMPORT/EXPORT slots as normal slots
[bacula/bacula] / bacula / scripts / mtx-changer.in
index 1dbc5b410f66dd3fcee010b28e7acf2675c945d4..1a5ecc578bbbc8c8a155420783726abcb2d0faf5 100644 (file)
@@ -197,6 +197,10 @@ case $cmd in
       ${MTX} -f $ctl status >${TMPFILE}
       rtn=$?
       cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
+
+# If you want/can use IMPORT/EXPORT slots as normal slots within bacula
+# replace the previous line by this one
+# sed "s/ IMPORT\/EXPORT//" "${TMPFILE}" | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
 #
 # If you have a VXA PacketLoader and the above does not work, try
 #  turning it off and enabling the following line.