NAME

dumpnet.host.reportmail - send a generated report via email


SYNOPSIS

dumpnet.host.reportmail [-d DUMPNET_CONFIG] [-C REPORTMAIL_CONFIG] SESSIONID HOST_CONFIG


DESCRIPTION

Emails a report generated by dumpnet.host.report using the commands specified in the configuration file dumpnet.reportmail.conf. Please see dumpnet.reportmail.conf(8) for details.


OPTIONS

-d DUMPNET_CONFIG
Use DUMPNET_CONFIG instead of the default $DUMPNET_HOME/conf/dumpnet.conf.

-C REPORTMAIL_CONFIG
Use REPORTMAIL_CONFIG as the configuration file (the default is ``dumpnet.reportmail.conf'', set in the default host configuration file). REPORTMAIL_CONFIG can be the path to the configuration file or `-' to read the configuration from STDIN.

SESSIONID
Send the report about the backup sesssion that has the ID SESSIONID.

HOST_CONFIG
The host configuration file. For the target host 192.168.1.10 it could be conf/192.168.1.10/dumpnet.HOST.conf.


EXAMPLES

Send the report of the backup session 10001 for the target host 192.168.1.10 - if you don't know what you want, you want something like this:

        dumpnet.host.reportmail 10001 /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf


EXIT STATUS

dumpnet.host.reportmail will return a zero exit status if the report exist and all mail commands returned 0. In any other case it will return 1.


FILES

 $DUMPNET_HOME/conf/$host/dumpnet.reportmail.conf


SEE ALSO

 dumpnet(8)
 dumpnet.host(8)
 dumpnet.reportmail.conf(8)


AUTHOR

 Lukas Feiler <lukas.feiler@lukasfeiler.com>


COPYRIGHT AND LICENSE

dumpnet is published under the LGPL (GNU LESSER GENERAL PUBLIC LICENSE). Please see the LICENSE file contained in the installation tarball for details. The official web site is http://dumpnet.sourceforge.net.