Imported Upstream version 2.5.0p2
[debian/amanda] / man / amdd.8
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "AMDD" 8 "" "" ""
21 .SH "NAME"
22 amdd - Amanda version of dd
23 .SH "SYNOPSIS"
24 .HP 5
25 \fBamdd\fR [-d] [\fIif=input\fR] [\fIof=output\fR] [\fIbs=blocksize\fR] [\fIskip=count\fR] [\fIcount=count\fR]
26 .SH "DESCRIPTION"
27 .PP
28 \fBAmdd\fR
29 provides just enough of the standard UNIX
30 \fBdd\fR
31 command for the needs of
32 \fBAmanda\fR. This is handy when doing a full restore and the standard
33 \fBdd\fR
34 program has not yet been found.
35 .PP
36 \fBAmdd\fR
37 also provides access to the
38 \fBAmanda\fR
39 output drivers that support various tape simulations. This may be used for debugging or to convert from one format to another.
40 .PP
41 See the
42 \fBamanda\fR(8)
43 man page for more details about
44 \fBAmanda\fR. See the
45 \fBOUTPUT DRIVERS\fR
46 section of
47 \fBamanda(8)\fR
48 for more information on the
49 \fBAmanda\fR
50 output drivers.
51 .SH "OPTIONS"
52 .TP
53 \fB-d\fR
54 Turn on debugging output.
55 .TP
56 \fB-l\fR\fIlength\fR
57 Set the output length. If the output driver limits the output size, this controls when end of tape will be simulated.
58 .sp
59 \fBLength\fR
60 may have a multiplier suffix:
61 .sp
62 .nf
63
64 k -> 1024 (Kilobytes)
65 b -> 512 (Blocks)
66 M -> 1024*1024 (Megabytes)
67
68 .fi
69 The default is no multiplier (bytes).
70 .TP
71 \fBif=\fR\fBinput\fR
72 Input to
73 \fBdd\fR. Default is stdin.
74 .TP
75 \fBof=\fR\fBoutput\fR
76 Where to send the output of
77 \fBdd\fR. Default is stdout.
78 .TP
79 \fBbs=\fR\fBblocksize\fR
80 Size of each record. Input records smaller than this will
81 \fBnot\fR
82 be padded. Output records will be the same size as the corresponding input record. Default is 512 bytes.
83 .sp
84 \fBBlocksize\fR
85 may have a multiplier suffix:
86 .sp
87 .nf
88
89 k -> 1024 (Kilobytes)
90 b -> 512 (Blocks)
91 M -> 1024*1024 (Megabytes)
92
93 .fi
94 The default is no multiplier (bytes).
95 .TP
96 \fBcount=\fR\fBcount\fR
97 Number of records to copy. Default is all records until end of file.
98 .TP
99 \fBskip=\fR\fBcount\fR
100 Number of records to skip before copying input to output. Default is zero.
101 .SH "AUTHOR"
102 .PP
103 Marc Mengel
104 <mengel@fnal.gov>, John R. Jackson
105 <jrj@purdue.edu>
106 : Original text
107 .PP
108 Stefan G. Weichinger,
109 <sgw@amanda.org>, maintainer of the
110 \fBAmanda\fR-documentation: XML-conversion
111 .SH "SEE ALSO"
112 .PP
113 \fBamanda\fR(8)
114