X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2Ftemplate.d%2Famanda-single-tape.conf.in;h=7a26942f6ba05301da3d062e2604d9c70a76bd3a;hb=cb115640695b55ed9c0a8dbeb414219b09438aa7;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..7a26942 100644 --- a/example/template.d/amanda-single-tape.conf.in +++ b/example/template.d/amanda-single-tape.conf.in @@ -11,7 +11,6 @@ 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" @@ -34,9 +33,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