3 .\" Author: James da Silva <jds@amanda.org>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
6 .\" Manual: System Administration Commands
7 .\" Source: Amanda 2.6.1p2
10 .TH "AMCLEANUP" "8" "11/05/2009" "Amanda 2\&.6\&.1p2" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 amcleanup \- run the \fIAmanda\fR cleanup process after a failure
24 .HP \w'\fBamcleanup\fR\ 'u
25 \fBamcleanup\fR [\fB\-k\fR] [\fB\-p\fR] [\fB\-v\fR] \fIconfig\fR
30 \fI\fIAmanda\fR\fR\fI Mail Report\fR
33 databases after a system failure on a tape server host\&. This cleanup process is normally done automatically as part of the
37 cannot complete for some reason (usually because of a tape server host crash),
39 must be run some time later (usually during system boot)\&.
43 man page for more details about
49 Kill all process listed in the log file are their child\&. if there is no log file, then kill all amdump and amflush process and their child\&.
54 Do the cleanup only if all process listed in the log file are already terminated\&.
59 Generate verbose output\&.
65 cleanup process by hand after a failure\&.
70 Putting the following line in a system boot script (e\&.g\&.
71 /etc/rc\&.local) runs the
73 cleanup process as part of the reboot, eliminating the need to run it by hand\&.
75 /usr/local/sbin/amcleanup daily
78 If nothing needs to be done,
80 exits normally with the message:
82 amcleanup: no unprocessed logfile to clean up\&.
88 : http://wiki.zmanda.com
91 \fBJames da Silva\fR <\&jds@amanda\&.org\&>
93 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>