Amcleanup: Difference between revisions
No edit summary |
Paul.bijnens (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
==Name== | ==Name== | ||
amcleanup — run the AMANDA cleanup process after a failure | '''amcleanup''' — run the AMANDA cleanup process after a failure | ||
==Synopsis== | ==Synopsis== | ||
amcleanup config | '''amcleanup''' config | ||
==DESCRIPTION== | ==DESCRIPTION== | ||
Line 11: | Line 11: | ||
Amcleanup generates the 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 amdump program, but if amdump cannot complete for some reason (usually because of a tape server host crash), amcleanup must be run some time later (usually during system boot). | Amcleanup generates the 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 amdump program, but if amdump cannot complete for some reason (usually because of a tape server host crash), amcleanup must be run some time later (usually during system boot). | ||
See the amanda(8) man page for more details about | See the [[amanda]](8) man page for more details about Amanda. | ||
==EXAMPLES== | ==EXAMPLES== | ||
This example runs the | This example runs the Amanda cleanup process by hand after a failure. | ||
% amcleanup daily | % 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. | 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. | ||
/usr/local/sbin/amcleanup daily | /usr/local/sbin/amcleanup daily | ||
If nothing needs to be done, amcleanup exits normally with the message: | If nothing needs to be done, amcleanup exits normally with the message: | ||
Line 35: | Line 35: | ||
==SEE ALSO== | ==SEE ALSO== | ||
amanda(8), amdump(8) | [[amanda]](8), [[amdump]](8) |
Revision as of 22:58, 1 December 2005
Name
amcleanup — run the AMANDA cleanup process after a failure
Synopsis
amcleanup config
DESCRIPTION
Amcleanup generates the 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 amdump program, but if amdump cannot complete for some reason (usually because of a tape server host crash), amcleanup must be run some time later (usually during system boot).
See the amanda(8) man page for more details about Amanda.
EXAMPLES
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.
/usr/local/sbin/amcleanup daily
If nothing needs to be done, amcleanup exits normally with the message:
amcleanup: no unprocessed logfile to clean up.
AUTHOR
James da Silva, <[email protected]>: Original text
Stefan G. Weichinger, <[email protected]>, maintainer of the AMANDA-documentation: XML-conversion