'\" t .\" Title: amrmtape .\" Author: Adrian T. Filipi-Martin .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 12/01/2017 .\" Manual: System Administration Commands .\" Source: Amanda 3.5.1 .\" Language: English .\" .TH "AMRMTAPE" "8" "12/01/2017" "Amanda 3\&.5\&.1" "System Administration Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" amrmtape \- remove a tape from the Amanda database .SH "SYNOPSIS" .HP \w'\fBamrmtape\fR\ 'u \fBamrmtape\fR [\-\-changer\ \fIchanger\-name\fR] [\-\-cleanup] [\-\-dryrun] [\-n] [\-\-erase] [\-\-external\-copy] [\-\-keep\-label] [\-\-list\-retention] [\-\-list\-no\-retention] [\-\-remove\-no\-retention] [\-\-quiet] [\-q] [\-\-verbose] [\-v] \fIconfig\fR [\fIlabel\fR]* .SH "DESCRIPTION" .PP \fBAmrmtape\fR 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\&. .PP See the \fBamanda\fR(8) man page for more details about Amanda\&. .SH "OPTIONS" .PP \fB\-\-changer \fR\fB\fIchanger\-name\fR\fR\fB \fR .RS 4 Specify which changer to use when erasing \fIlabel\fR .RE .PP \fB\-\-cleanup\fR .RS 4 Remove logs and indexes associated with \fIlabel\fR\&. Otherwise, they\*(Aqll remain until the next run of amdump\&. .RE .PP \fB\-\-dryrun\fR, \fB\-n\fR .RS 4 Generate new \fBtapelist\fR(5) and database files with \fIlabel\fR removed, but leave them in /tmp and do not update the original copies\&. .RE .PP \fB\-\-erase\fR .RS 4 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\&. .RE .PP \fB\-\-external\-copy\fR .RS 4 The volume is erased but the \fIlabel\fR is kept in the tapelist and the log file\&. This function must be used if you manually made a copy of the volume that you can manually restore\&. .sp You should also mark the label as noreuse\&. .RE .PP \fB\-\-keep\-label\fR .RS 4 Do not remove \fIlabel\fR from the tapelist\&. The volume become like a new labelled tape and can be reused by any storage using the same tape\-pool\&. .RE .PP \fB\-\-list\-retention\fR .RS 4 List all labels that are required for the policy of each storage\&. .RE .PP \fB\-\-list\-no\-retention\fR .RS 4 List all labels that are not required for the policy of each storage\&. They are the volumes that can be reused\&. .RE .PP \fB\-\-remove\-no\-retention\fR .RS 4 Remove all labels that are not required for the policy of each storage\&. Useful with \fB\-\-keep\-label\fR and/or \fB\-\-erase\fR\&. .RE .PP \fB\-\-verbose\fR, \fB\-v\fR .RS 4 List backups of hosts and disks that are being discarded\&. Enabled by default\&. .RE .PP \fB\-\-quiet\fR, \fB\-q\fR .RS 4 Opposite of \fB\-v\fR\&. .RE .SH "EXAMPLE" .PP Remove tape labeled \fIDAILY034\fR and \fIDAILY035\fR from the \fIDailySet1\fR configuration\&. .nf # amrmtape DailySet1 DAILY034 DAILY035 .fi .SH "SEE ALSO" .PP \fBamanda\fR(8), \fBamadmin\fR(8) .PP The Amanda Wiki: : http://wiki.zmanda.com/ .SH "AUTHORS" .PP \fBAdrian T\&. Filipi\-Martin\fR <\&atf3r@cs\&.virginia\&.edu\&> .PP \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>