amrmtape

Langue: en

Version: 10/04/2010 (fedora - 01/12/10)

Section: 8 (Commandes administrateur)

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 FC/tmpF[] 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>