Imported Upstream version 2.4.5
[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 .ad l
25 .hy 0
26 .HP 5
27 \fBamdd\fR [\-d] [\fIif=input\fR] [\fIof=output\fR] [\fIbs=blocksize\fR] [\fIskip=count\fR] [\fIcount=count\fR]
28 .ad
29 .hy
30
31 .SH "DESCRIPTION"
32
33 .PP
34 \fBAmdd\fR provides just enough of the standard UNIX \fBdd\fR command for the needs of \fBAMANDA\fR\&. This is handy when doing a full restore and the standard \fBdd\fR program has not yet been found\&.
35
36 .PP
37 \fBAmdd\fR also provides access to the \fBAMANDA\fR output drivers that support various tape simulations\&. This may be used for debugging or to convert from one format to another\&.
38
39 .PP
40 See the \fBamanda\fR(8) man page for more details about \fBAMANDA\fR\&. See the \fBOUTPUT DRIVERS\fR section of \fBamanda(8)\fR for more information on the \fBAMANDA\fR output drivers\&.
41
42 .SH "OPTIONS"
43
44 .TP
45 \fB\-d\fR
46 Turn on debugging output\&.
47
48 .TP
49 \fB\-l\fR\fIlength\fR
50 Set the output length\&. If the output driver limits the output size, this controls when end of tape will be simulated\&.
51
52 \fBLength\fR may have a multiplier suffix:
53
54
55 .nf
56
57 k \-> 1024 (Kilobytes)
58 b \-> 512 (Blocks)
59 M \-> 1024*1024 (Megabytes)
60
61 .fi
62 The default is no multiplier (bytes)\&.
63
64 .TP
65 \fBif=\fR\fBinput\fR
66 Input to \fBdd\fR\&. Default is stdin\&.
67
68 .TP
69 \fBof=\fR\fBoutput\fR
70 Where to send the output of \fBdd\fR\&. Default is stdout\&.
71
72 .TP
73 \fBbs=\fR\fBblocksize\fR
74 Size of each record\&. Input records smaller than this will \fBnot\fR be padded\&. Output records will be the same size as the corresponding input record\&. Default is 512 bytes\&.
75
76 \fBBlocksize\fR may have a multiplier suffix:
77
78
79 .nf
80
81 k \-> 1024 (Kilobytes)
82 b \-> 512 (Blocks)
83 M \-> 1024*1024 (Megabytes)
84
85 .fi
86 The default is no multiplier (bytes)\&.
87
88 .TP
89 \fBcount=\fR\fBcount\fR
90 Number of records to copy\&. Default is all records until end of file\&.
91
92 .TP
93 \fBskip=\fR\fBcount\fR
94 Number of records to skip before copying input to output\&. Default is zero\&.
95
96 .SH "AUTHOR"
97
98 .PP
99 Marc Mengel <mengel@fnal\&.gov>, John R\&. Jackson <jrj@purdue\&.edu> : Original text
100
101 .PP
102 Stefan G\&. Weichinger, <sgw@amanda\&.org>, maintainer of the \fBAMANDA\fR\-documentation: XML\-conversion
103
104 .SH "SEE ALSO"
105
106 .PP
107 \fBamanda\fR(8)
108