Imported Upstream version 3.2.0
[debian/amanda] / man / amrmtape.8
1 '\" t
2 .\"     Title: amrmtape
3 .\"    Author: Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
5 .\"      Date: 10/18/2010
6 .\"    Manual: System Administration Commands
7 .\"    Source: Amanda 3.2.0
8 .\"  Language: English
9 .\"
10 .TH "AMRMTAPE" "8" "10/18/2010" "Amanda 3\&.2\&.0" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 amrmtape \- remove a tape from the Amanda database
23 .SH "SYNOPSIS"
24 .HP \w'\fBamrmtape\fR\ 'u
25 \fBamrmtape\fR [\-\-changer\ \fIchanger\-name\fR] [\-\-cleanup] [\-\-dryrun] [\-n] [\-\-erase] [\-\-keep\-label] [\-\-quiet] [\-q] [\-\-verbose] [\-v] \fIconfig\fR \fIlabel\fR
26 .SH "DESCRIPTION"
27 .PP
28 \fBAmrmtape\fR
29 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\&.
30 .PP
31 See the
32 \fBamanda\fR(8)
33 man page for more details about Amanda\&.
34 .SH "OPTIONS"
35 .PP
36 \fB\-\-changer \fR\fB\fIchanger\-name\fR\fR\fB \fR
37 .RS 4
38 Specify which changer to use when erasing
39 \fIlabel\fR
40 .RE
41 .PP
42 \fB\-\-cleanup\fR
43 .RS 4
44 Remove logs and indexes associated with
45 \fIlabel\fR\&. Otherwise, they\'ll remain until the next run of amdump\&.
46 .RE
47 .PP
48 \fB\-\-dryrun\fR, \fB\-n\fR
49 .RS 4
50 Generate new
51 \fBtapelist\fR(5)
52 and database files with
53 \fIlabel\fR
54 removed, but leave them in
55 /tmp
56 and do not update the original copies\&.
57 .RE
58 .PP
59 \fB\-\-erase\fR
60 .RS 4
61 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\&.
62 .RE
63 .PP
64 \fB\-\-keep\-label\fR
65 .RS 4
66 Do not remove
67 \fIlabel\fR
68 from the tapelist\&.
69 .RE
70 .PP
71 \fB\-\-verbose\fR, \fB\-v\fR
72 .RS 4
73 List backups of hosts and disks that are being discarded\&. Enabled by default\&.
74 .RE
75 .PP
76 \fB\-\-quiet\fR, \fB\-q\fR
77 .RS 4
78 Opposite of
79 \fB\-v\fR\&.
80 .RE
81 .SH "EXAMPLE"
82 .PP
83 Remove tape labeled
84 \fIDAILY034\fR
85 from the
86 \fIDailySet1\fR
87 configuration\&.
88 .nf
89 # amrmtape DailySet1 DAILY034
90 .fi
91 .SH "SEE ALSO"
92 .PP
93 \fBamanda\fR(8),
94 \fBamadmin\fR(8)
95 .PP
96 The Amanda Wiki:
97 : http://wiki.zmanda.com/
98 .SH "AUTHORS"
99 .PP
100 \fBAdrian T\&. Filipi\-Martin\fR <\&atf3r@cs\&.virginia\&.edu\&>
101 .PP
102 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>