SIMPLE SOLUTIONS

AMANDA-SCRIPTS(7) - Linux man page online | Overview, conventions, and miscellany

Configuring and using the Script API.

Chapter
12/01/2017
AMANDA-SCRIPTS(7) Miscellanea AMANDA-SCRIPTS(7)

NAME

amanda-scripts - Configuring and using the Script API

DESCRIPTION

The Script API is a flexible system for invoking user-supplied scripts at various points in the execution of Amanda. This manual page describes the operation and configuration of the API. For help writing Script API scripts, see http://wiki.zmanda.com/index.php/Script_API.

SCRIPTS

This section lists the scripts included with Amanda, see the individual man page for instructions on using them. For complete How-To information, consult the Amanda wiki at http://wiki.zmanda.com. · amzfs-snapshot(8), - create/destroy zfs snapshot. · script-email(8), - send email. Script properties work just like application properties: they are insensitive to case, and - (dash) and _ (underscore) may be used interchangeably.

SCRIPTS OUTPUT PROPERTY

A pre-dle-amcheck, pre-dle-estimate or pre-dle-backup executed on the client can output property on stdout that are sent to the application. If the output line matches "PROPERTY str1 str2", Amanda sets a property called "str1" by the value of "str2", that property is sent to the application. SCRIPTS FAILURE (TO ABORT A BACKUP) A pre-host-estimate, pre-dle-estimate or pre-dle-backup executed on the client can abort a backup by writing an error message (single line) to STDERR and exit with != 0. A post-dle-backup executed on the client can make a backup a failure by writing an error message (single line) to STDERR and exit with != 0.

SEE ALSO

amanda(8), amanda.conf(5) The Amanda Wiki: : http://wiki.zmanda.com/

AUTHORS

Jean-Louis Martineau <@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Dustin J. Mitchell <@zmanda.com> Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.5.1 12/01/2017 AMANDA-SCRIPTS(7)
This manual Reference Other manuals
amanda-scripts(7) referred by amanda(8) | amanda.conf(5) | amzfs-snapshot(8) | script-email(8)
refer to amanda(8) | amanda.conf(5) | amzfs-snapshot(8) | script-email(8)
Download raw manual
Index Miscellanea (+12) Amanda 3&.5&.1 (+66) № 7 (+1560)
Go top