Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

amrmtape(8) [centos man page]

AMRMTAPE(8)						  System Administration Commands					       AMRMTAPE(8)

NAME
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

TAPELIST(5)						   File formats and conventions 					       TAPELIST(5)

NAME
tapelist - The list of Amanda volumes in use DESCRIPTION
The tapelist file contains the list of tapes in active use. This file is not ordinarily ordinarily edited or examined manually. Its format may change, or it may be removed altogether, in future versions of Amanda. It contains lines of the form: YYYYMMDD label flags [BARCODE:barcode] [META:meta] [#comment] Where YYYYMMDD is the date the tape was written, label is a label for the tape as written by amlabel and flags is one of "reuse" or "no-reuse" and tells Amanda whether the tape may be reused. A non-reusable tape will not be overwritten, even if it is older than dumpcycle dumps. See the reuse options of amadmin(8). The optional barcode is prefixed with 'BARCODE' if the volume have a barcode. The optional meta label is prefixed with 'META' if the volume is on a meta volume. The optional comment is prefixed with a '#' and continues to the end of the line. Amanda will maintain this comment until the tape is overwritten. Note that comments are not allowed on blank lines. The file is sorted such that the most-recently used tape appears on the first line, and the oldest tape appears on the last line. Amdump and amflush will by default refuse to write to an unlabeled tape, or to a labeled tape that is considered active or marked "no-reuse". There must be more tapes in active rotation (see the tapecycle option) than there are runs in the backup cycle (see the dumpcycle option) to prevent overwriting a backup image that would be needed to do a full recovery. SEE ALSO
amanda(8), amanda.conf(5) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
James da Silva <jds@amanda.org> Stefan G. Weichinger <sgw@amanda.org> Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.1 02/21/2012 TAPELIST(5)
Man Page