dumpnet.host.report - generate a report about a backup session of a target host
dumpnet.host.report [-f|-o] [-i|-e] [-I|-E] [-d DUMPNET_CONFIG] [-C REPORT_CONFIG] SESSIONID HOST_CONFIG
Generate a report about the backup session of a target host by running predefined and userdefined commands specified in the configuration file dumpnet.report.conf. Please see dumpnet.report.conf(8) for details.
The report will contain the following sections:
- Header
-
A little header with the current date and time.
- Standard Log Entries
-
The entries in the standard logfile created in this backup session for $host.
- Files
-
The files created in this backup session for $host.
- Userdefined Commands
-
The output of all commands defined in dumpnet.report.conf(8).
- Extended Log Entries
-
The entries in the extended logfile filtered by $sessionId and $host.
- dumpnet.cmddates entries filtered by $host and $sessionId.
-
Contents of dumpnet.cmddates(8) filted by $host and $sessionId.
- dumpnet.cmddates entries filtered by $host
-
Contents of dumpnet.cmddates(8) filtered only by $host.
- The output file of dumpnet.host.info
-
The file created by dumpnet.host.info(8). See the -i and -e options.
- The report file generated by dumpnet.host.aide
-
The report file generated by dumpnet.host.aide(8). See the -I and -E options.
- -f
-
Force - overwrite an existing report file.
- -o
-
Only output the report on STDOUT.
- -i
-
Include the file generated by dumpnet.host.info. This overwrites the include_info option in REPORT_CONFIG.
- -e
-
Exclude the file generated by dumpnet.host.info. This overwrites the include_info option in REPORT_CONFIG.
- -I
-
Include the file generated by dumpnet.host.aide. This overwrites the include_aide option in REPORT_CONFIG.
- -E
-
Exclude the file generated by dumpnet.host.aide. This overwrites the include_aide option in REPORT_CONFIG.
- -d DUMPNET_CONFIG
-
Use DUMPNET_CONFIG instead of the default $DUMPNET_HOME/conf/dumpnet.conf.
- -C REPORT_CONFIG
-
Use REPORT_CONFIG as the configuration file (the default is ``dumpnet.report.conf'', set in the default host configuration file). REPORT_CONFIG can be the path to the configuration file or `-' to read the configuration from STDIN.
- SESSIONID
-
Generate a report about the backup session with an ID of 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.
Generate the report of the backup session of 192.168.1.10 with an SESSIONID of 10001 - if you don't know what you want, you want something like this:
dumpnet.host.report 10001 /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf
Same as the privious but include the files generated by dumpnet.host.aide and dumpnet.host.info and only send the report to STDOUT.
dumpnet.host.report -oiI conf/192.168.1.11/dumpnet.HOST.conf
dumpnet.host.report will generally return a zero exit status.
$DUMPNET_HOME/conf/$host/dumpnet.report.conf
dumpnet(8)
dumpnet.host(8)
dumpnet.report.conf(8)
Lukas Feiler <lukas.feiler@lukasfeiler.com>
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.