X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2Ftemplate.d%2Famanda-S3.conf;fp=example%2Ftemplate.d%2Famanda-S3.conf;h=70297b0cfd6a31b2960e4e28ffaa05ae4653f904;hb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;hp=0000000000000000000000000000000000000000;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/example/template.d/amanda-S3.conf b/example/template.d/amanda-S3.conf new file mode 100644 index 0000000..70297b0 --- /dev/null +++ b/example/template.d/amanda-S3.conf @@ -0,0 +1,54 @@ +org "DailySet1" # your organization name for reports +mailto "martinea" # space separated list of operators at your site +dumpcycle 1 week # the number of days in the normal dump cycle +runspercycle 5 # the number of amdump runs in dumpcycle days + # (1 week * 5 amdump runs per week -- just weekdays) +tapecycle 10 tapes # the number of tapes in rotation + # 1 week (dumpcycle) times 5 tapes per week (just + # the weekdays) plus a few to handle errors that + # need amflush and so we do not overwrite the full + # backups performed at the beginning of the previous + # 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 "/etc/amanda/DailySet1/changer.conf" +#changerdev "/dev/sg1" +tapetype HARDDISK # what kind of tape it is (see tapetypes below) + +holdingdisk hd2 { + directory "/var/lib/amanda/holdings/DailySet1" + use 1000 Mb + } + +label_new_tapes "DailySet1-%%%%" # Enable auto labeling +labelstr "^DailySet1-[0-9][0-9]*$" # label constraint regex: all tapes must match + +dtimeout 1800 # number of idle seconds before a dump is aborted. +ctimeout 30 # maximum number of seconds that amcheck waits + # for each client host +etimeout 300 # number of seconds per filesystem for estimates. + +define dumptype global { + comment "Global definitions" + auth "bsdtcp" +} + +define dumptype gui-base { + global + program "GNUTAR" + comment "gui base dumptype dumped with tar" + compress none + index yes +} + +define tapetype HARDDISK { + comment "Virtual Tapes" + length 5000 mbytes +} + + +includefile "./advanced.conf" +includefile "/etc/amanda/template.d/dumptypes" +includefile "/etc/amanda/template.d/tapetypes" +