Login or Register to Ask a Question and Join Our Community

Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

amrmtape(8) [centos man page]

AMRMTAPE(8)						  System Administration Commands					       AMRMTAPE(8)

amrmtape - remove a tape from the Amanda database SYNOPSIS
amrmtape [--changer changer-name] [--cleanup] [--dryrun] [-n] [--erase] [--keep-label] [--quiet] [-q] [--verbose] [-v] config label DESCRIPTION
Amrmtape invalidates the contents of an existing backup tape in the configuration database. This is meant as a recovery mechanism when a good backup is damaged either by faulty hardware or user error, e.g. the tape is eaten by the drive or is overwritten. See the amanda(8) man page for more details about Amanda. OPTIONS
--changer changer-name Specify which changer to use when erasing label --cleanup Remove logs and indexes associated with label. Otherwise, they'll remain until the next run of amdump. --dryrun, -n Generate new tapelist(5) and database files with label removed, but leave them in /tmp and do not update the original copies. --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. Erasure is not supported by all Amanda devices, and the erasure is not "secure" in the sense that the data can most likely be recovered by someone with the right tools. --keep-label Do not remove label from the tapelist. --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 from the DailySet1 configuration. # amrmtape DailySet1 DAILY034 SEE ALSO
amanda(8), amadmin(8) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Adrian T. Filipi-Martin <atf3r@cs.virginia.edu> Stefan G. Weichinger <sgw@amanda.org> Amanda 3.3.3 01/10/2013 AMRMTAPE(8)

Check Out this Related Man Page

AMTAPE(8)						  System Administration Commands						 AMTAPE(8)

amtape - Control Amanda changers SYNOPSIS
amtape [-o configoption...] config subcommand [subcommand_options...] DESCRIPTION
Amtape is the command-line interface to Amanda's tape changers (amanda-changers(7)) and to the taperscan algorithm (amanda-taperscan(7)). Tape changers maintain a notion of the current slot for each configuration. This may or may not correspond to an actual physical state of the device, but is used by some taperscan algorithms to minimize searching through the slots. Amtape uses the default changer. To use a different changer, use the config override option, e.g., -otpchanger=otherchanger. SUBCOMMANDS
label label Search for and load the Amanda tape with label [label], also setting the current slot. slot slot Load the volume in the given slot, also setting the current slot. The slot names current, next, first, and last have special meaning. current Shorthand for slot current. inventory Show the contents of all slots, based on the changer's cached metadata. This is a quick operation as it does not load or unload any volumes, but is not supported by all changers. show [slots] Show the contents of all slots (or listed slots) by loading each slot and reading its label. This can be very slow. The slots arguments is of the form 1,3-5,7. reset Reset the changer to a known state. This subcommand is intended to clear any unknown and potentially incorrect state the changer may have stored. eject [drive] Eject the tape currently in the drive. This only applies to some changers. Specify a drive (by drive number) if more than one drive is available. clean [drive] If a cleaning tape is defined for the changer, used it to clean the specified drive. The [drive] is optional if the changer only has one drive. taper Run the taperscan algorithm (see amanda-taperscan(7)), displaying information about the progress of the scan. update [what] Update changer state. Consult amanda-changers(7) for changer-specific details on the format of what. -o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8). SEE ALSO
amanda(8), amanda-changers(7), amanda-taperscan(7), amanda-devices(7) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) James da Silva <jds@amanda.org> Stefan G. Weichinger <sgw@amanda.org> Amanda 3.3.3 01/10/2013 AMTAPE(8)
Man Page

Featured Tech Videos