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

NAME

6       amcleanup - run the Amanda cleanup process after a failure
7

SYNOPSIS

9       amcleanup [-k] [-p] [-r] [-v] [--note string] config
10

DESCRIPTION

12       Amcleanup generates the Amanda Mail Report and updates the Amanda
13       databases after a system failure on a tape server host. This cleanup
14       process is normally done automatically as part of the amdump program,
15       but if amdump cannot complete for some reason (usually because of a
16       tape server host crash), amcleanup must be run some time later (usually
17       during system boot).
18
19       The amcleanupdisk program is run with the same [-r] and [-v] options.
20
21       See the amanda(8) man page for more details about Amanda.
22

OPTIONS

24       -k
25           Kill all process listed in the log file are their child. if there
26           is no log file, then kill all amdump, amflush and amvault process
27           and their child.
28
29       -p
30           Do the cleanup only if all process listed in the log file are
31           already terminated.
32
33       -r
34           Remove bad file in holding disk. This options is passed to
35           amcleanupdisk.
36
37       -v
38           Generate verbose output. This options is passed to amcleanupdisk.
39
40       --note string
41           Add the string to the log files, it will show up in the NOTES
42           section of the report.
43

EXAMPLES

45       This example runs the Amanda cleanup process by hand after a failure.
46       % amcleanup daily
47
48       Putting the following line in a system boot script (e.g.
49       /etc/rc.local) runs the Amanda cleanup process as part of the reboot,
50       eliminating the need to run it by hand.
51       /usr/local/sbin/amcleanup daily
52
53       If nothing needs to be done, amcleanup exits normally with the message:
54       amcleanup: no unprocessed logfile to clean up.
55

SEE ALSO

57       amanda(8), amdump(8)
58
59       The Amanda Wiki: : http://wiki.zmanda.com/
60

AUTHORS

62       James da Silva <jds@amanda.org>
63
64       Stefan G. Weichinger <sgw@amanda.org>
65
66
67
68Amanda 3.5.4                      07/27/2023                      AMCLEANUP(8)
Impressum