Imported Upstream version 2.4.4p3
[debian/amanda] / man / amcleanup.8.in
1 .\"
2 .de EX
3 .if t .ft C
4 .nf
5 ..
6 .de EE
7 .fi
8 .if t .ft
9 ..
10 .TH AMCLEANUP 8
11 .SH NAME
12 amcleanup \- run the Amanda cleanup process after a failure
13 .SH SYNOPSIS
14 .B amcleanup
15 .I config
16 .SH DESCRIPTION
17 .B Amcleanup
18 generates the
19 .I Amanda Mail Report
20 and updates the Amanda databases after a system failure on a tape server host.
21 This cleanup process is normally done automatically as part of the
22 .B amdump
23 program, but if
24 .B amdump
25 cannot complete for some reason (usually because of a tape server host crash),
26 .B amcleanup
27 must be run some time later
28 (usually during system boot).
29 .LP
30 See the
31 .IR amanda (8)
32 man page for more details about Amanda.
33 .SH EXAMPLES
34 This example runs the Amanda cleanup process by hand after
35 a failure.
36 .LP
37 .RS
38 .EX
39 % amcleanup @DEFAULT_CONFIG@
40 .EE
41 .RE
42 .LP
43 Putting the following line in a system boot script (e.g.\&
44 .IR /etc/rc.local )
45 runs the Amanda cleanup process as part of the reboot,
46 eliminating the need to run it by hand.
47 .LP
48 .RS
49 .EX
50 .ie '@sbindir@'${exec_prefix}/sbin' \{\
51 .ie '@exec_prefix@'${prefix}' .ds pr @prefix@/sbin
52 .el .ds pr @exec_prefix@/sbin\}
53 .el .ds pr @sbindir@
54 \*(pr/amcleanup @DEFAULT_CONFIG@
55 .EE
56 .RE
57 .LP
58 If nothing needs to be done,
59 .B amcleanup
60 exits normally with the message:
61 .LP
62 .RS
63 .EX
64 amcleanup: no unprocessed logfile to clean up.
65 .EE
66 .RE
67 .SH AUTHOR
68 James da Silva <jds@cs.umd.edu>
69 .br
70 University of Maryland, College Park
71 .SH "SEE ALSO"
72 amanda(8),
73 amdump(8)