Am 09.07.2014 16:17, schrieb Stefan G. Weichinger: > > Would anyone mind sharing some real world scripts he uses with amanda? > > I think of stopping/starting DBs or something like that. > > I would appreciate some good templates ;-)
I started playing with the email examples from the docs but they fail straight away: define script-tool sc-email { comment "email me before this DLE is backed up" plugin "script-email" execute-on pre-dle-backup execute-where server property "mailto" "l...@xunil.at" } ... gives me Jul 09 16:37:11 amanda Script_email[20663]: Use of uninitialized value in concatenation (.) or string at /usr/libexec/amanda/application/script-email line 181. Jul 09 16:37:11 amanda Script_email[20663]: Use of uninitialized value $args[2] in join or string at /usr/libexec/amanda/application/script-email line 182. Jul 09 16:37:11 amanda Script_email[20664]: Use of uninitialized value $args[2] in open at /usr/libexec/amanda/application/script-email line 185. Jul 09 16:37:11 amanda Script_email[20663]: Use of uninitialized value in concatenation (.) or string at /usr/libexec/amanda/application/script-email line 186. Does that work for anyone else? Does it need anymore properties set? Thanks, Stefan