44a7682dfd6fcb4d4b627ee9c962c441f3b8dbef
[debian/amanda] / man / amcleanup.8
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "AMCLEANUP" 8 "" "" ""
21 .SH "NAME"
22 amcleanup - run the Amanda cleanup process after a failure
23 .SH "SYNOPSIS"
24 .HP 10
25 \fBamcleanup\fR \fIconfig\fR
26 .SH "DESCRIPTION"
27 .PP
28 \fBAmcleanup\fR
29 generates the
30 \fB\fBAmanda\fR Mail Report\fR
31 and updates the
32 \fBAmanda\fR
33 databases after a system failure on a tape server host. This cleanup process is normally done automatically as part of the
34 \fBamdump\fR
35 program, but if
36 \fBamdump\fR
37 cannot complete for some reason (usually because of a tape server host crash),
38 \fBamcleanup\fR
39 must be run some time later (usually during system boot).
40 .PP
41 See the
42 \fBamanda\fR(8)
43 man page for more details about
44 \fBAmanda\fR.
45 .SH "EXAMPLES"
46 .PP
47 This example runs the
48 \fBAmanda\fR
49 cleanup process by hand after a failure.
50 .nf
51
52 % amcleanup daily
53 .fi
54 .PP
55 Putting the following line in a system boot script (e.g.
56 \fI/etc/rc.local\fR) runs the
57 \fBAmanda\fR
58 cleanup process as part of the reboot, eliminating the need to run it by hand.
59 .nf
60
61 /usr/local/sbin/amcleanup daily
62 .fi
63 .PP
64 If nothing needs to be done,
65 \fBamcleanup\fR
66 exits normally with the message:
67 .nf
68
69 amcleanup: no unprocessed logfile to clean up.
70 .fi
71 .SH "AUTHOR"
72 .PP
73 James da Silva,
74 <jds@amanda.org>: Original text
75 .PP
76 Stefan G. Weichinger,
77 <sgw@amanda.org>, maintainer of the
78 \fBAmanda\fR-documentation: XML-conversion
79 .SH "SEE ALSO"
80 .PP
81 \fBamanda\fR(8),
82 \fBamdump\fR(8)
83