Difference between revisions of "Dd rescue"

From ForensicsWiki
Jump to: navigation, search
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Infobox_Software |
 
{{Infobox_Software |
   name = dd_rescure |
+
   name = dd_rescue |
 
   os = {{Linux}}|
 
   os = {{Linux}}|
 
   genre = {{Disk imaging}} |
 
   genre = {{Disk imaging}} |
 
   license = {{GPL}} |
 
   license = {{GPL}} |
   website = [http://www.garloff.de/kurt/linux/ddrescue/] |
+
   website = [http://www.garloff.de/kurt/linux/ddrescue/ www.garloff.de/kurt/linux/ddrescue/]
 
}}
 
}}
  
'''dd_rescure''', is an an advanced evolution of [[dd]], a command line program that has been ported only for UNIX/Linux; dd_rescure uses a complex series of flags to allow the user to image or write data from and to [[raw image file]]s. It is a tool more suit that update to you in real time with the status of the operation visualizing some important info.
+
'''dd_rescue''', is an an advanced evolution of [[dd]], a command line program that has been ported only for UNIX/Linux. The program uses a complex series of flags to allow the user to image or write data from and to [[raw image file|raw image files]]. Like [[dcfldd]], the program makes an effort to keep the user apprised of the status of the current operation.
  
== Example ==
+
'''[[ddrescue]]''' and '''dd_rescue''' are completely different programs which share no development between them.  The two projects are not related in any way except that they both attempt to enhance the standard [[dd]] tool and coincidentally chose similar names for their new programs.
 +
 
 +
== Sample usage ==
  
 
Here is a common dd_rescue command:
 
Here is a common dd_rescue command:
Line 15: Line 17:
 
'''UNIX/Linux'''
 
'''UNIX/Linux'''
  
dd_rescue /dev/hda myfile.img
+
<pre>$ dd_rescue /dev/hda myfile.img</pre>
  
==  Cautions ==
+
'''STDOUT'''
  
Don't us if= and of= like [[dd]] becouse dd_rescure doesn't work!
+
A large difference between '''[[ddrescue]]''' and '''dd_rescue''' is that '''dd_rescue''' can pipe output to STDOUT whereas '''[[ddrescue]]''' can only transfer block/file to block/file.
 +
 
 +
One example of this usage would be transfering a disk image over the network using ssh.
 +
 
 +
<pre>dd_rescue /dev/sda1 - | ssh user@remote.host "cat - > /remote/destination/file.img"</pre>
 +
 
 +
Another example would be adding compression to an image file on the fly.
 +
 
 +
<pre>dd_rescue /dev/sda1 - | bzip2 > /dir/file.img.bz2</pre>
 +
 
 +
==  Cautions ==
  
 +
Unlike regular [[dd]], dd_rescue does not use the command line arguments <tt>if</tt> or <tt>of</tt>.
  
 
== See also ==
 
== See also ==
Line 28: Line 41:
 
* [[dcfldd]]
 
* [[dcfldd]]
 
* [[dd]]
 
* [[dd]]
 +
* [[ddrescue]]
 
* [[sdd]]
 
* [[sdd]]

Latest revision as of 19:39, 24 November 2009

dd_rescue
Maintainer: {{{maintainer}}}
OS: Linux
Genre: Disk imaging
License: GPL
Website: www.garloff.de/kurt/linux/ddrescue/

dd_rescue, is an an advanced evolution of dd, a command line program that has been ported only for UNIX/Linux. The program uses a complex series of flags to allow the user to image or write data from and to raw image files. Like dcfldd, the program makes an effort to keep the user apprised of the status of the current operation.

ddrescue and dd_rescue are completely different programs which share no development between them. The two projects are not related in any way except that they both attempt to enhance the standard dd tool and coincidentally chose similar names for their new programs.

Sample usage

Here is a common dd_rescue command:

UNIX/Linux

$ dd_rescue /dev/hda myfile.img

STDOUT

A large difference between ddrescue and dd_rescue is that dd_rescue can pipe output to STDOUT whereas ddrescue can only transfer block/file to block/file.

One example of this usage would be transfering a disk image over the network using ssh.

dd_rescue /dev/sda1 - | ssh user@remote.host "cat - > /remote/destination/file.img"

Another example would be adding compression to an image file on the fly.

dd_rescue /dev/sda1 - | bzip2 > /dir/file.img.bz2

Cautions

Unlike regular dd, dd_rescue does not use the command line arguments if or of.

See also