AMCLEANUP(8)
β¨ AMCLEANUP(8) β the "oops we crashed, let's fix it" era β¨
okay bestie, so this page lives in the System Administration Commands corner of the manual-verse, and it's about amcleanup, the lil cleanup fairy that shows up after the tape server has a whole meltdown. π§π
πΈ NAME πΈ
amcleanup β run the Amanda cleanup process after a failure. yes. that's the whole job. she cleans up the mess. π
π SYNOPSIS π
amcleanup [-k] [-p] [-r] [-v] [--note string] config
π¦ DESCRIPTION π¦
so here's the vibe: amcleanup generates the Amanda Mail Report and updates the Amanda databases after a system failure on a tape server host. like, she's doing the post-crash paperwork. iconic of her honestly. β¨
normally this cleanup process just runs automatically as part of the amdump program. no thoughts, head empty, it just happens. but if amdump can't complete for some reason β usually because the tape server host crashed π β then amcleanup has to be run some time later, which is usually during system boot.
also, the amcleanupdisk program is run with the same [-r] and [-v] options. they're besties, they share. π«Ά
if you want the full Amanda lore, go read the amanda(8) man page. she has the details. π
π OPTIONS π
-kβ kill all the processes listed in the log file, plus their children. and if there's no log file at all? then she kills allamdump,amflushandamvaultprocesses and their children too. very "no survivors" energy, ngl. π-pβ only do the cleanup if all the processes listed in the log file are already terminated. she's patient. she's not gonna yank anything mid-run. π-rβ remove bad files in the holding disk. this option gets passed straight on toamcleanupdisk. sharing is caring β¨-vβ generate verbose output, aka she tells you everything. this one also gets passed toamcleanupdisk. π’--note stringβ add string to the log files, and it'll show up in the NOTES section of the report. cute lil sticky note moment π
π EXAMPLES π
this one runs the Amanda cleanup process by hand after a failure. ya know, the "i guess i'll do it myself" route:
% amcleanup daily
now, if you put this next line in a system boot script (like /etc/rc.local for example), the Amanda cleanup process just runs as part of the reboot β meaning you never have to do it by hand again. set it and forget it, queen:
/usr/local/sbin/amcleanup daily
and if there's literally nothing to do? she just exits normally with the message:
amcleanup: no unprocessed logfile to clean up.
no drama. no fuss. she said "nothing to see here" and left. π
β SEE ALSO β
The Amanda Wiki: : http://wiki.zmanda.com/
π AUTHORS π
- James da Silva
<jds@amanda.org> - Stefan G. Weichinger
<sgw@amanda.org>
aaaand that's the page bestie, you ate that fr fr π«Ά this whole thing came to you courtesy of Amanda 3.5.4, dated 08/26/2026 β so when you're running amcleanup at 3am after a crash, just know she was written with love. mwah. πβ¨π
π¦ where this page comes from
- ubuntu stonking: amanda-common 1:3.5.4-2.1ubuntu1 Β· Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms