AMRMTAPE(8)
β¨ AMRMTAPE β¨
okay so this is amrmtape, and it lives in section 8 β System Administration Commands, iykyk. it's the little tool that lets you tell Amanda "bestie that tape? yeah, she's gone, we don't know her anymore." π«Ά
πΈ NAME
amrmtape β remove a tape from the Amanda database
π SYNOPSIS
amrmtape [--changer changer-name] [--cleanup] [--dryrun] [-n] [--erase]
[--external-copy] [--keep-label] [--list-retention]
[--list-no-retention] [--remove-no-retention] [--quiet] [-q]
[--verbose] [-v] config [label]*
π¦ DESCRIPTION
amrmtape invalidates the contents of an existing backup tape in the configuration database. Think of it as the glow-up-your-life recovery move π β it exists for when a genuinely good backup gets wrecked, whether by faulty hardware or by user error (yes, the situation where the tape gets eaten by the drive, or just fully overwritten). no cap, it happens.
For all the deets about Amanda itself, go read the amanda(8) man page. periodt.
π OPTIONS
--changerchanger-name β tells it which changer to use when erasing label. pick your girl π--cleanupβ remove logs and indexes associated with label. otherwise they just sit there chilling until the next run ofamdump.--dryrun,-nβ generate newtapelist(5)and database files with label removed, but leave them in/tmpand do not touch the original copies. a lil rehearsal, no commitment π§--eraseβ attempt to erase the data contained on the volume with the given label. this requires that Amanda be able to find that volume using the tape changer. not every Amanda device supports erasure, and heads up: the erasure is not "secure" β the data can most likely be recovered by someone with the right tools. so likeβ¦ it's gone, but not gone gone. π--external-copyβ the volume is erased but the label is kept in the tapelist and the log file. you must use this function if you manually made a copy of the volume that you can manually restore. you should also mark the label asnoreuse.--keep-labelβ do not remove label from the tapelist. the volume become like a new labelled tape and can be reused by any storage using the same tape-pool. it's giving rebrand π--list-retentionβ list all labels that are required for the policy of each storage.--list-no-retentionβ list all labels that are not required for the policy of each storage. these are the volumes that can be reused.--remove-no-retentionβ remove all labels that are not required for the policy of each storage. useful with--keep-labeland/or--erase.--verbose,-vβ list backups of hosts and disks that are being discarded. enabled by default.--quiet,-qβ opposite of-v.
π₯ EXAMPLE
remove tape labeled DAILY034 and DAILY035 from the DailySet1 configuration:
# amrmtape DailySet1 DAILY034 DAILY035
ate. no crumbs left. πβ¨
β SEE ALSO
The Amanda Wiki: : http://wiki.zmanda.com/
π AUTHORS
- Adrian T. Filipi-Martin
<atf3r@cs.virginia.edu> - Stefan G. Weichinger
<sgw@amanda.org>
and that's the whole vibe, bestie β this was Amanda 3.5.4, dated 08/26/2026. go forth and manage your tapes responsibly ππβ¨
π¦ 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