Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

amrmtape(8) [debian 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.1 02/21/2012 AMRMTAPE(8)

Check Out this Related Man Page

AMLABEL(8)						      System Manager's Manual							AMLABEL(8)

NAME
amlabel - label an Amanda tape SYNOPSIS
amlabel [-f] config label [ slot slot ] DESCRIPTION
All Amanda tapes must be pre-labeled before they are used. Amanda verifies the label in amdump and amflush before writing to make sure the proper tape is loaded. Amlabel writes an Amanda label on the tape in the device specified by the amanda.conf file in /etc/amanda/config. Label may be any string that does not contain whitespace and that matches the amanda.conf labelstr regular expression option. It is up to the system administrator to define a naming convention. Amlabel appends the new tape to the tapelist file so it will be used by Amanda before it reuses any other tapes. When you amlabel multiple tapes, they will be used in the order you amlabel them. Amlabel will not write the label if the tape contains an active Amanda tape or if the label specified is on an active tape. The -f (force) flag bypasses these verifications. An optional slot may be specified after the tape label. If a tape changer is in use, amlabel will label the tape in the specified slot instead of the currently loaded tape. See the amanda(8) man page for more details about Amanda. EXAMPLE
Write an Amanda label with the string "DMP000" on the tape loaded in the device named in the tapedev option in /etc/amanda/Daily- Set1/amanda.conf: % amlabel DailySet1 DMP000 Label the tape in slot 3 of the currently configured tape changer with the string "DMP003": % amlabel DailySet1 DMP003 slot 3 MESSAGES
label label doesn't match labelstr "str" Label label on the command line does not match the labelstr regular expression str from amanda.conf. label label already on a tape Label label is already listed as an active Amanda tape. no tpchanger specified in "path", so slot command invalid The command line has the slot parameter but the amanda.conf file in path does not have a tape changer configured. reading label label, tape is in another amanda configuration This tape appears to be a valid Amanda tape, but label does not match labelstr for this configuration so it is probably part of a different Amanda configuration. reading label label, tape is active Tape label appears to already be part of this Amanda configuration and active, i.e. has valid data on it. no label found, are you sure tape is non-rewinding? While checking that the label was written correctly, amlabel got an error that might be caused by mis-configuring Amanda with a rewinding tape device name instead of a non-rewinding device name for tape. AUTHOR
James da Silva <jds@cs.umd.edu> University of Maryland, College Park SEE ALSO
amanda(8) amdump(8) amflush(8) AMLABEL(8)
Man Page