]> git.gag.com Git - debian/amanda/blobdiff - example/template.d/amanda-harddisk.conf.in
Merge branch 'master' into squeeze
[debian/amanda] / example / template.d / amanda-harddisk.conf.in
index 53ec87b830dbecb12f3e07d14f94bd2c7f62f670..3abbc16d47e194a1ac5d71239e9754c633ef2d82 100644 (file)
@@ -10,10 +10,13 @@ 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-disk"           # the tape-changer glue script
-tapedev "file://var/lib/amanda/vtapes/@DEFAULT_CONFIG@" # the no-rewind tape device to be used
-changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
-changerdev "/dev/null"
+
+define changer my_vtapes {
+    tpchanger "chg-disk:/@prefix@/var/lib/amanda/vtapes/@DEFAULT_CONFIG@"
+    property "num-slot" "10"
+    property "auto-create-slot" "yes"
+}
+tpchanger "my_vtapes"
 tapetype HARDDISK               # what kind of tape it is 
 labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"    # label constraint regex: all tapes must match
 dtimeout 1800                          # number of idle seconds before a dump is aborted.
@@ -46,6 +49,8 @@ define dumptype gui-base {
 define tapetype HARDDISK {
     comment "Virtual Tapes"
     length 5000 mbytes
+    part_size 500 mbytes
+    part_cache_type none
 }
 
 includefile "./advanced.conf"