X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2Ftemplate.d%2Famanda-S3.conf.in;h=149fc9efa057ce57da3ca999fe1549d82762548d;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=96592d62d301ef838751df3b5baca15253136547;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/example/template.d/amanda-S3.conf.in b/example/template.d/amanda-S3.conf.in index 96592d6..149fc9e 100644 --- a/example/template.d/amanda-S3.conf.in +++ b/example/template.d/amanda-S3.conf.in @@ -14,7 +14,7 @@ tpchanger "chg-multi" # the tape-changer glue script tapedev "S3:" # the no-rewind tape device to be used changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf" #changerdev "/dev/sg1" -tapetype HARDDISK # what kind of tape it is (see tapetypes below) +tapetype S3 # what kind of tape it is (see tapetypes below) holdingdisk hd2 { directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@" @@ -34,9 +34,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 @@ -47,6 +56,10 @@ define tapetype HARDDISK { length 5000 mbytes } +define tapetype S3 { + comment "S3 Bucket" + length 10240 gigabytes # Bucket size 10TB +} includefile "./advanced.conf" includefile "@CONFIG_DIR@/template.d/dumptypes"