X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=blobdiff_plain;f=example%2Ftemplate.d%2Famanda-S3.conf.in;h=73e07de3c7af1a3284d61ef36197017432786bc8;hp=149fc9efa057ce57da3ca999fe1549d82762548d;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e diff --git a/example/template.d/amanda-S3.conf.in b/example/template.d/amanda-S3.conf.in index 149fc9e..73e07de 100644 --- a/example/template.d/amanda-S3.conf.in +++ b/example/template.d/amanda-S3.conf.in @@ -11,9 +11,7 @@ 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-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 S3 # what kind of tape it is (see tapetypes below) holdingdisk hd2 { @@ -21,7 +19,7 @@ holdingdisk hd2 { use 1000 Mb } -label_new_tapes "@DEFAULT_CONFIG@-%%%%" # Enable auto labeling +autolabel "@DEFAULT_CONFIG@-%%%%" empty 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. @@ -51,14 +49,11 @@ define dumptype gui-base { index yes } -define tapetype HARDDISK { - comment "Virtual Tapes" - length 5000 mbytes -} - define tapetype S3 { - comment "S3 Bucket" - length 10240 gigabytes # Bucket size 10TB + comment "S3 pseudo-tape" + length 10240 gigabytes + part_size 100G + part_cache_type none } includefile "./advanced.conf"