Imported Upstream version 2.6.0p1
[debian/amanda] / man / amcleanup.8
1 .\"     Title: amcleanup
2 .\"    Author: 
3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4 .\"      Date: 05/14/2008
5 .\"    Manual: 
6 .\"    Source: 
7 .\"
8 .TH "AMCLEANUP" "8" "05/14/2008" "" ""
9 .\" disable hyphenation
10 .nh
11 .\" disable justification (adjust text to left margin only)
12 .ad l
13 .SH "NAME"
14 amcleanup - run the Amanda cleanup process after a failure
15 .SH "SYNOPSIS"
16 .HP 10
17 \fBamcleanup\fR [\fB\-k\fR] [\fB\-v\fR] \fIconfig\fR
18 .SH "DESCRIPTION"
19 .PP
20 \fBAmcleanup\fR
21 generates the
22 \fI\fIAmanda\fR\fR\fI Mail Report\fR
23 and updates the
24 \fIAmanda\fR
25 databases after a system failure on a tape server host\. This cleanup process is normally done automatically as part of the
26 \fBamdump\fR
27 program, but if
28 \fBamdump\fR
29 cannot complete for some reason (usually because of a tape server host crash),
30 \fBamcleanup\fR
31 must be run some time later (usually during system boot)\.
32 .PP
33 See the
34 \fBamanda\fR(8)
35 man page for more details about
36 \fIAmanda\fR\.
37 .SH "OPTIONS"
38 .PP
39 \fB\-k\fR
40 .RS 4
41 Kill all Amanda processes\.
42 .RE
43 .PP
44 \fB\-v\fR
45 .RS 4
46 Generate verbose output\.
47 .RE
48 .SH "EXAMPLES"
49 .PP
50 This example runs the
51 \fIAmanda\fR
52 cleanup process by hand after a failure\.
53 .sp
54 .RS 4
55 .nf
56 % amcleanup daily
57 .fi
58 .RE
59 .PP
60 Putting the following line in a system boot script (e\.g\.
61 \fI/etc/rc\.local\fR) runs the
62 \fIAmanda\fR
63 cleanup process as part of the reboot, eliminating the need to run it by hand\.
64 .sp
65 .RS 4
66 .nf
67 /usr/local/sbin/amcleanup daily
68 .fi
69 .RE
70 .PP
71 If nothing needs to be done,
72 \fBamcleanup\fR
73 exits normally with the message:
74 .sp
75 .RS 4
76 .nf
77 amcleanup: no unprocessed logfile to clean up\.
78 .fi
79 .RE
80 .SH "AUTHOR"
81 .PP
82 James da Silva,
83 <jds@amanda\.org>: Original text
84 .PP
85 Stefan G\. Weichinger,
86 <sgw@amanda\.org>, maintainer of the
87 \fIAmanda\fR\-documentation: XML\-conversion
88 .SH "SEE ALSO"
89 .PP
90 \fBamanda\fR(8),
91 \fBamdump\fR(8),
92 \fI\%http://wiki.zmanda.com\fR