Imported Upstream version 2.5.2p1
[debian/amanda] / man / amdd.8
1 .\"     Title: amdd
2 .\"    Author: 
3 .\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
4 .\"      Date: 06/06/2007
5 .\"    Manual: 
6 .\"    Source: 
7 .\"
8 .TH "AMDD" "8" "06/06/2007" "" ""
9 .\" disable hyphenation
10 .nh
11 .\" disable justification (adjust text to left margin only)
12 .ad l
13 .SH "NAME"
14 amdd \- Amanda version of dd
15 .SH "SYNOPSIS"
16 .HP 5
17 \fBamdd\fR [\-d] [\fIif=input\fR] [\fIof=output\fR] [\fIbs=blocksize\fR] [\fIskip=count\fR] [\fIcount=count\fR]
18 .SH "DESCRIPTION"
19 .PP
20 \fBAmdd\fR
21 provides just enough of the standard UNIX
22 \fBdd\fR
23 command for the needs of
24 \fIAmanda\fR. This is handy when doing a full restore and the standard
25 \fBdd\fR
26 program has not yet been found.
27 .PP
28 \fBAmdd\fR
29 also provides access to the
30 \fIAmanda\fR
31 output drivers that support various tape simulations. This may be used for debugging or to convert from one format to another.
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\-l\fR\fIlength\fR
51 .RS 4
52 Set the output length. If the output driver limits the output size, this controls when end of tape will be simulated.
53 .sp
54 \fILength\fR
55 may have a multiplier suffix:
56 .sp
57 .RS 4
58 .nf
59 k \-> 1024 (Kilobytes)
60 b \-> 512 (Blocks)
61 M \-> 1024*1024 (Megabytes)
62 .fi
63 .RE
64 The default is no multiplier (bytes).
65 .RE
66 .PP
67 \fBif=\fR\fIinput\fR
68 .RS 4
69 Input to
70 \fBdd\fR. Default is stdin.
71 .RE
72 .PP
73 \fBof=\fR\fIoutput\fR
74 .RS 4
75 Where to send the output of
76 \fBdd\fR. Default is stdout.
77 .RE
78 .PP
79 \fBbs=\fR\fIblocksize\fR
80 .RS 4
81 Size of each record. Input records smaller than this will
82 \fInot\fR
83 be padded. Output records will be the same size as the corresponding input record. Default is 512 bytes.
84 .sp
85 \fIBlocksize\fR
86 may have a multiplier suffix:
87 .sp
88 .RS 4
89 .nf
90 k \-> 1024 (Kilobytes)
91 b \-> 512 (Blocks)
92 M \-> 1024*1024 (Megabytes)
93 .fi
94 .RE
95 The default is no multiplier (bytes).
96 .RE
97 .PP
98 \fBcount=\fR\fIcount\fR
99 .RS 4
100 Number of records to copy. Default is all records until end of file.
101 .RE
102 .PP
103 \fBskip=\fR\fIcount\fR
104 .RS 4
105 Number of records to skip before copying input to output. Default is zero.
106 .RE
107 .SH "AUTHOR"
108 .PP
109 Marc Mengel
110 <mengel@fnal.gov>, John R. Jackson
111 <jrj@purdue.edu>
112 : Original text
113 .PP
114 Stefan G. Weichinger,
115 <sgw@amanda.org>, maintainer of the
116 \fIAmanda\fR\-documentation: XML\-conversion
117 .SH "SEE ALSO"
118 .PP
119 \fBamanda\fR(8)