1DDRESCUE(1) User Commands DDRESCUE(1)
2
3
4
6 ddrescue - data recovery tool
7
9 ddrescue [options] infile outfile [logfile]
10
12 GNU ddrescue - Data recovery tool. Copies data from one file or block
13 device to another, trying hard to rescue data in case of read errors.
14
15 You should use a logfile unless you know what you are doing.
16
18 -h, --help
19 display this help and exit
20
21 -V, --version
22 output version information and exit
23
24 -b, --block-size=<bytes>
25 sector size of input device [default 512]
26
27 -B, --binary-prefixes
28 show binary multipliers in numbers [SI]
29
30 -c, --cluster-size=<sectors>
31 sectors to copy at a time [128]
32
33 -C, --complete-only
34 do not read new data beyond logfile limits
35
36 -d, --direct
37 use direct disc access for input file
38
39 -D, --synchronous
40 use synchronous writes for output file
41
42 -e, --max-errors=<n>
43 maximum number of error areas allowed
44
45 -f, --force
46 overwrite output device or partition
47
48 -F, --fill=<types>
49 fill given type blocks with infile data (?*/-+)
50
51 -g, --generate-logfile
52 generate approximate logfile from partial copy
53
54 -i, --input-position=<pos>
55 starting position in input file [0]
56
57 -m, --domain-logfile=<file>
58 restrict domain to finished blocks in file
59
60 -n, --no-split
61 do not try to split or retry failed blocks
62
63 -o, --output-position=<pos>
64 starting position in output file [ipos]
65
66 -p, --preallocate
67 preallocate space on disc for output file
68
69 -q, --quiet
70 suppress all messages
71
72 -r, --max-retries=<n>
73 exit after given retries (-1=infinity) [0]
74
75 -R, --retrim
76 mark all failed blocks as non-trimmed
77
78 -s, --max-size=<bytes>
79 maximum size of input data to be copied
80
81 -S, --sparse
82 use sparse writes for output file
83
84 -t, --truncate
85 truncate output file to zero size
86
87 -T, --try-again
88 mark non-split, non-trimmed blocks as non-tried
89
90 -v, --verbose
91 verbose operation
92
93 Numbers may be followed by a multiplier: b = blocks, k = kB = 10^3 =
94 1000, Ki = KiB = 2^10 = 1024, M = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30,
95 etc...
96
98 Report bugs to bug-ddrescue@gnu.org
99 Ddrescue home page: http://www.gnu.org/software/ddrescue/ddrescue.html
100 General help using GNU software: http://www.gnu.org/gethelp
101
103 Copyright © 2010 Antonio Diaz Diaz. License GPLv3+: GNU GPL version 3
104 or later <http://gnu.org/licenses/gpl.html>
105 This is free software: you are free to change and redistribute it.
106 There is NO WARRANTY, to the extent permitted by law.
107
109 The full documentation for ddrescue is maintained as a Texinfo manual.
110 If the info and ddrescue programs are properly installed at your site,
111 the command
112
113 info ddrescue
114
115 should give you access to the complete manual.
116
117
118
119ddrescue 1.13 August 2010 DDRESCUE(1)