X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=blobdiff_plain;f=example%2Ftemplate.d%2Famanda-harddisk.conf.in;h=3abbc16d47e194a1ac5d71239e9754c633ef2d82;hp=9ed969e4a320f44753139273dfd9e068c8a9679e;hb=c6f0a88c567f8536c498f554285aed1f8150da18;hpb=cd0b924f27312d57bd42f6c4fae2b795139e2d0b diff --git a/example/template.d/amanda-harddisk.conf.in b/example/template.d/amanda-harddisk.conf.in index 9ed969e..3abbc16 100644 --- a/example/template.d/amanda-harddisk.conf.in +++ b/example/template.d/amanda-harddisk.conf.in @@ -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.