X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=example%2Ftemplate.d%2Famanda-single-tape.conf.in;h=c4fde14914ede2dd56b3db06f2341a0f68e358b7;hb=e676d2a937a46194f0bd97a130ae1a4138e8b4e9;hp=60123055a43913ad5d317f442bbead2928051f7d;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/example/template.d/amanda-single-tape.conf.in b/example/template.d/amanda-single-tape.conf.in index 6012305..c4fde14 100644 --- a/example/template.d/amanda-single-tape.conf.in +++ b/example/template.d/amanda-single-tape.conf.in @@ -11,10 +11,11 @@ tapecycle 10 tapes # the number of tapes in rotation # cycle runtapes 1 # number of tapes to be used in a single run of amdump -tpchanger "chg-manual" # the tape-changer glue script -tapedev "tape:/dev/nst0" # the no-rewind tape device to be used -changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/chg-manual.conf" -changerdev "/dev/null" + +define changer my_single { + tpchanger "chg-single:tape:/dev/nst0" +} +tpchanger "my_single" tapetype HP-DAT # what kind of tape it is (see tapetypes below) holdingdisk hd2 { directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@" @@ -34,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