Section: System Administration Commands (8)Updated: 10/18/2010Local indexUp
amcleanup - run the Amanda cleanup process after a failure
amcleanup [-k] [-p] [-v] config
Amanda Mail Report
and updates the Amanda databases after a system failure on a tape server host. This cleanup process is normally done automatically as part of the
program, but if
cannot complete for some reason (usually because of a tape server host crash),
must be run some time later (usually during system boot).
man page for more details about Amanda.
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.
Do the cleanup only if all process listed in the log file are already terminated.
Generate verbose output.
This example runs the Amanda cleanup process by hand after a failure.
% amcleanup daily
Putting the following line in a system boot script (e.g.
/etc/rc.local) runs the Amanda cleanup process as part of the reboot, eliminating the need to run it by hand.
If nothing needs to be done,
exits normally with the message: