Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
SCRIPT-EMAIL(8) 	 System Administration Commands 	 SCRIPT-EMAIL(8)

NAME
     script-email - Amanda script to send email notifications

DESCRIPTION
     script-email is an Amanda script implementing the Script API. It should not
     be  run  by  users directly. It sends a notification email to the addresses
     specified in the MAILTO property.

PROPERTIES
     This section lists the properties that control  script-email's  functional-
     ity.  See	amanda-scripts(7) for information on the Script API, script con-
     figuration.

     MAILTO

	 List of email addresses that will receive an email  on  command  execu-
	 tion. It is a multi-valued property:
	   property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"

EXAMPLE
     In this example, script-email is scheduled to be run before the DLE, on the
     server.   The  unqualified email address amanda will be passed to the email
     system unchanged.	The script is then attached to	a  dumptype,  which  can
     then be specified for any DLEs which require notification.
      define script-tool pre-email {
	comment "email me before this DLE is backed up"
	plugin	"script-email"
	execute-on pre-dle-backup
	execute-where server
	property "mailto" "amanda"
      }

      define dumptype user-tar-email {
	user-tar
	script "pre-email"
      }

SEE ALSO
     amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)

     The Amanda Wiki: : http://wiki.zmanda.com/

AUTHORS
     Jean-Louis Martineau <martineau@zmanda.com>
	 Zmanda, Inc. (http://www.zmanda.com)

     Dustin J. Mitchell <dustin@zmanda.com>
	 Zmanda, Inc. (http://www.zmanda.com)

Amanda 3.5.1			   12/01/2017			 SCRIPT-EMAIL(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=script-email&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help