Imported Upstream version 2.6.0p1
[debian/amanda] / man / ammt.8
1 .\"     Title: ammt
2 .\"    Author: 
3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4 .\"      Date: 05/14/2008
5 .\"    Manual: 
6 .\"    Source: 
7 .\"
8 .TH "AMMT" "8" "05/14/2008" "" ""
9 .\" disable hyphenation
10 .nh
11 .\" disable justification (adjust text to left margin only)
12 .ad l
13 .SH "NAME"
14 ammt - Amanda version of mt
15 .SH "SYNOPSIS"
16 .HP 5
17 \fBammt\fR [\-d] [\-f | \-t | \fIdevice\fR] \fIcommand\fR [\fIcount\fR]
18 .SH "DESCRIPTION"
19 .PP
20 \fBAmmt\fR
21 provides just enough of the standard UNIX
22 \fBmt\fR
23 command for the needs of
24 \fIAmanda\fR\. This is handy when doing a full restore and the standard
25 \fBmt\fR
26 program has not yet been found\.
27 .PP
28 \fBAmmt\fR
29 also provides access to the
30 \fIAmanda\fR
31 output drivers that support various tape simulations\.
32 .PP
33 See the
34 \fBamanda\fR(8)
35 man page for more details about
36 \fIAmanda\fR\. See the
37 \fBOUTPUT DRIVERS\fR
38 section of
39 \fIamanda(8)\fR
40 for more information on the
41 \fIAmanda\fR
42 output drivers\.
43 .SH "OPTIONS"
44 .PP
45 \fB\-d\fR
46 .RS 4
47 Turn on debugging output\.
48 .RE
49 .PP
50 \fB\-f\fR\fI device\fR
51 .RS 4
52 Access tape device
53 \fIdevice\fR\. If not specified, the
54 \fBTAPE\fR
55 environment variable is used\.
56 .RE
57 .PP
58 \fB\-t\fR\fI device\fR
59 .RS 4
60 Same as
61 \fB\-f\fR\.
62 .RE
63 .PP
64 \fBcommand\fR\fI count\fR
65 .RS 4
66 Which command to issue, and an optional count of operations\.
67 .RE
68 .SH "COMMANDS"
69 .PP
70 Each command may be abbreviated to whatever length makes it unique\.
71 .PP
72 \fBeof|weof\fR\fI count\fR
73 .RS 4
74 Write
75 \fIcount\fR
76 (default: 1) end of file marks (tapemarks)\.
77 .RE
78 .PP
79 \fBfsf\fR\fI count\fR
80 .RS 4
81 Skip forward
82 \fIcount\fR
83 (default: 1) files\.
84 .RE
85 .PP
86 \fBbsf\fR\fI count\fR
87 .RS 4
88 Skip backward
89 \fIcount\fR
90 (default: 1) files\.
91 .RE
92 .PP
93 \fBasf\fR\fI count\fR
94 .RS 4
95 Position to file number
96 \fIcount\fR
97 (default: 0) where zero is beginning of tape\. This is the same as a
98 \fBrewind\fR
99 followed by a
100 \fBfsf\fR
101 \fIcount\fR\.
102 .RE
103 .PP
104 \fBrewind\fR
105 .RS 4
106 Rewind to beginning of tape\.
107 .RE
108 .PP
109 \fBoffline|rewoffl\fR
110 .RS 4
111 Rewind to beginning of tape and unload the tape from the drive\.
112 .RE
113 .PP
114 \fBstatus\fR
115 .RS 4
116 Report status information about the drive\. Which data reported, and what it means, depends on the underlying operating system, and may include:
117 .PP
118 ONLINE
119 .RS 4
120 Indicates the drive is online and ready\.
121 .RE
122 .PP
123 OFFLINE
124 .RS 4
125 Indicates the drive is offline or not ready\.
126 .RE
127 .PP
128 BOT
129 .RS 4
130 Indicates the drive is at beginning of tape\.
131 .RE
132 .PP
133 EOT
134 .RS 4
135 Indicates the drive is at end of tape\.
136 .RE
137 .PP
138 PROTECTED
139 .RS 4
140 Indicates the tape is write protected\.
141 .RE
142 .PP
143 ds
144 .RS 4
145 Device status\.
146 .RE
147 .PP
148 er
149 .RS 4
150 Error register\.
151 .RE
152 .PP
153 fileno
154 .RS 4
155 Current tape file number\.
156 .RE
157 .PP
158 blkno
159 .RS 4
160 Current tape block number file\.
161 .RE
162 .RE
163 .sp
164 .it 1 an-trap
165 .nr an-no-space-flag 1
166 .nr an-break-flag 1
167 .br
168 Note
169 .PP
170 Many systems only report good data when a tape is in the drive and ready\.
171 .SH "AUTHOR"
172 .PP
173 Marc Mengel
174 <mengel@fnal\.gov>, John R\. Jackson
175 <jrj@purdue\.edu>: Original text
176 .PP
177 Stefan G\. Weichinger,
178 <sgw@amanda\.org>, maintainer of the
179 \fIAmanda\fR\-documentation: XML\-conversion
180 .SH "SEE ALSO"
181 .PP
182 \fBamanda\fR(8),
183 \fI\%http://wiki.zmanda.com\fR