X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2Ftemplate.d%2Famanda-S3.conf;h=e05b66d17434610ce202b18fa56ae89a4604a0a5;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=70297b0cfd6a31b2960e4e28ffaa05ae4653f904;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/example/template.d/amanda-S3.conf b/example/template.d/amanda-S3.conf index 70297b0..e05b66d 100644 --- a/example/template.d/amanda-S3.conf +++ b/example/template.d/amanda-S3.conf @@ -14,7 +14,7 @@ tpchanger "chg-multi" # the tape-changer glue script tapedev "S3:" # the no-rewind tape device to be used changerfile "/etc/amanda/DailySet1/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/DailySet1" @@ -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 "/etc/amanda/template.d/dumptypes"