1AMREPORT(8)             System Administration Commands             AMREPORT(8)
2
3
4

NAME

6       amreport - generate a formatted output of statistics for an Amanda run
7

SYNOPSIS

9       amreport [config] [-i] [-M address] [-l logfile] [-f outputfile]
10                [-p postscriptfile] [-o configoption]...
11

DESCRIPTION

13       Amreport generates a summary report of an amanda(8) backup run. If no
14       configuration name is specified, amanda.conf is read from the current
15       directory.
16
17       See the amanda(8) man page for more details about Amanda.
18

OPTIONS

20       config
21           Name of the configuration to process.
22
23       -i
24           Don´t email the report.
25
26       -M address
27           Mail the report to address instead of the mailto value from
28           amanda.conf.
29
30       -l logfile
31           Name of the log file to parse to generate the report. If a log file
32           is not specified, it defaults to the file:
33
34       logdir/log
35
36       where logdir is the log directory defined in amanda.conf.
37
38       -f outputfile
39           Normally, amreport sends the report via e-mail to the mailto user
40           as defined in the amanda.conf file. If outputfile is specified,
41           then the report is put in outputfile.
42
43       -p postscriptfile
44           Send the postscript output to the file postscriptfile instead of to
45           the lpr(1) command. This option has an effect only if the lbl-templ
46           directive is specified in amanda.conf.
47
48       -o configoption
49           See the "CONFIGURATION OVERRIDE" section in amanda(8).
50

LABEL PRINTING

52       Amanda can print postscript labels describing the contents of tape(s)
53       written in a run. The labels are designed to be folded and inserted
54       into the tape case along with the tape or hole punched and put in a
55       3-ring binder. Various label templates are provided to format data for
56       different tape sizes.
57
58       The information printed varies slightly between label templates due to
59       size constraints. Labels contain one line for each host/file-system
60       pair and may also contain the file number on the tape, the level of the
61       dump, the original size of the dump and the size of the (possibly
62       compressed) tape file.
63
64       Add the lbl-templ parameter to the tapetype definition in amanda.conf
65       to enable labels. If you don´t add this line to your tapetype
66       definition, amreport will not print tape labels.
67
68       You may use the remap=´I´>printer keyword in amanda.conf to print to
69       other than the system default printer.
70

TEMPLATES

72       Amanda provides label templates for the following tape types. These are
73       pretty generic labels and should be easy to customize for other tape
74       types or particular site needs.
75
76           * ExaByte 8mm tapes
77           * DAT 4mm tapes
78           * DLT tapes
79           * 3-ring binder
80
81       The 3-ring binder type is the most generic. It may be used to make a
82       hardcopy log of the tapes.
83

EXIT CODE

85       The exit code of amreport is the ORed value of:
86        0  = success
87        1  = error
88        2  = a dle give strange message
89        4  = a dle failed
90        8  = Don´t know the status of a dle (RESULT_MISSING in the report)
91        16 = tape error or no more tape
92

SEE ALSO

94       amanda(8), amflush(8), : http://wiki.zmanda.com
95

AUTHOR

97       Stefan G. Weichinger <sgw@amanda.org>
98
99
100
101Amanda 2.6.1p2                    11/05/2009                       AMREPORT(8)
Impressum