1SCRIPT-EMAIL(8)         System Administration Commands         SCRIPT-EMAIL(8)
2
3
4

NAME

6       script-email - Amanda script to send email notifications
7

DESCRIPTION

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

PROPERTIES

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

EXAMPLE

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

SEE ALSO

43       amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
44

AUTHORS

46       Jean-Louis Martineau <martineau@zmanda.com>
47           Zmanda, Inc. (http://www.zmanda.com)
48
49       Dustin J. Mitchell <dustin@zmanda.com>
50           Zmanda, Inc. (http://www.zmanda.com)
51
52
53
54Amanda 2.6.1p2                    11/05/2009                   SCRIPT-EMAIL(8)
Impressum