1SCRIPT-EMAIL(8) System Administration Commands SCRIPT-EMAIL(8)
2
3
4
6 script-email - Amanda script to send email notifications
7
9 script-email is an Amanda script implementing the Script API. It should
10 not be run by users directly. It sends a notification email to the
11 addresses specified in the MAILTO property.
12
14 This section lists the properties that control script-email's
15 functionality. See amanda-scripts(7) for information on the Script API,
16 script configuration.
17
18 MAILTO
19
20 List of email addresses that will receive an email on command
21 execution. It is a multi-valued property:
22 property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"
23
25 In this example, script-email is scheduled to be run before the DLE, on
26 the server. The unqualified email address amanda will be passed to the
27 email system unchanged. The script is then attached to a dumptype,
28 which can then be specified for any DLEs which require notification.
29 define script-tool pre-email {
30 comment "email me before this DLE is backed up"
31 plugin "script-email"
32 execute-on pre-dle-backup
33 execute-where server
34 property "mailto" "amanda"
35 }
36
37 define dumptype user-tar-email {
38 user-tar
39 script "pre-email"
40 }
41
43 amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
44
45 The Amanda Wiki: : http://wiki.zmanda.com/
46
48 Jean-Louis Martineau <martineau@zmanda.com>
49 Zmanda, Inc. (http://www.zmanda.com)
50
51 Dustin J. Mitchell <dustin@zmanda.com>
52 Zmanda, Inc. (http://www.zmanda.com)
53
54
55
56Amanda 3.5.1 12/01/2017 SCRIPT-EMAIL(8)