Man page - amanda-scripts(7)
Packages contains this manual
- amlabel(8)
- amaespipe(8)
- amanda-match(7)
- amsamba(8)
- amcleanup(8)
- amrecover(8)
- amstar(8)
- amanda-client.conf(5)
- amanda.conf(5)
- amtoc(8)
- amcheckdb(8)
- amanda-archive-format(5)
- amanda-auth(7)
- amflush(8)
- amoverview(8)
- amgpgcrypt(8)
- amcrypt(8)
- amvault(8)
- amservice(8)
- amcrypt-ossl(8)
- amserverconfig(8)
- amarchiver(8)
- amanda-interactivity(7)
- amzfs-snapshot(8)
- amanda-security.conf(5)
- amssl(8)
- activate-devpay(1)
- amdump_client(8)
- amoldrecover(8)
- amanda-rest-server(8)
- amdevcheck(8)
- amanda-applications(7)
- amreindex(8)
- disklist(5)
- amsuntar(8)
- amtape(8)
- amzfs-sendrecv(8)
- script-email(8)
- amcryptsimple(8)
- amcleanupdisk(8)
- amreport(8)
- ambackup(8)
- amcrypt-ossl-asym(8)
- amanda-compatibility(7)
- amraw(8)
- amanda-command-file(5)
- amadmin(8)
- tapelist(5)
- amaddclient(8)
- amdump(8)
- amanda-devices(7)
- amanda(8)
- amplot(8)
- amrmtape(8)
- amanda-taperscan(7)
- amfetchdump(8)
- amanda-auth-ssl(7)
- amanda-changers(7)
- amtapetype(8)
- amcheck(8)
- ambsdtar(8)
- amstatus(8)
- amcheckdump(8)
- amanda-scripts(7)
- amrestore(8)
- ampgsql(8)
- amgetconf(8)
- amgtar(8)
apt-get install amanda-common
Manual
AMANDA-SCRIPTS
NAMEDESCRIPTION
SCRIPTS
SCRIPTS OUTPUT PROPERTY
SCRIPTS FAILURE (TO ABORT A BACKUP)
SEE ALSO
AUTHORS
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 <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)