ddrescue - Data recovery tool trying hard to rescue data in case of read errors

Distribution: Fedora 25
Repository: CERT Forensics Tools x86_64
Package name: ddrescue
Package version: 1.21
Package release: 1.fc25
Package architecture: x86_64
Package type: rpm
Installed size: 256.70 KB
Download size: 121.03 KB
Official Mirror: forensics.cert.org
GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cd-rom, etc) to another, trying hard to rescue data in case of read errors. GNU ddrescue does not truncate the output file if not asked to. So, every time you run it on the same output file, it tries to fill in the gaps.



  • ddrescue = 1.21-1.fc25
  • ddrescue(x86-64) = 1.21-1.fc25


    Install Howto

    1. Download cert-forensics-tools-release-25 rpm:
    2. Install cert-forensics-tools-release-25 rpm:
      # rpm -Uvh cert-forensics-tools-release*rpm
    3. Install ddrescue rpm package:
      # dnf --enablerepo=forensics install ddrescue


    • /usr/bin/ddrescue
    • /usr/bin/ddrescuelog
    • /usr/share/doc/ddrescue/AUTHORS
    • /usr/share/doc/ddrescue/COPYING
    • /usr/share/doc/ddrescue/ChangeLog
    • /usr/share/doc/ddrescue/NEWS
    • /usr/share/doc/ddrescue/README
    • /usr/share/info/ddrescue.info.gz
    • /usr/share/man/man1/ddrescue.1.gz
    • /usr/share/man/man1/ddrescuelog.1.gz


    2016-03-18 - Lawrence Rogers <lrr@cert.org> 1.21-1 - Update to 1.21-1 * Version 1.21 released. * mapbook.cc (Mapbook): Fix iobuf alignment. (Reported by Heikki Tauriainen). * Removed short option names '-1' and '-2'. * Allow only regular files for '--log-rates' and '--log-reads'. * Option '-D, --odirect' now works also in fill mode. * rescuebook.cc (copy_block): Return 1 on unaligned read error. Set e_code on any error if verify_on_error. * Option '-X, --exit-on-error' has been extended to all phases. * Assigned short name '-Z' to option '--max-read-rate'. * mapbook.cc (update_mapfile): 'fsync' the mapfile every 5 minutes. * Rescuebook: Show full range of sizes from non-tried to finished. * rescuebook.cc (show_status): Show percent rescued. * configure: Avoid warning on some shells when testing for g++. * Makefile.in: Detect the existence of install-info.

    2015-09-11 - Lawrence Rogers <lrr@cert.org> 1.20-1 - Update to 1.20-1 * 'logfile' has been renamed to 'mapfile' everywhere. * Changed short name of option '--synchronous' to '-y'. * Changed long name of option '-d' to '--idirect'. * Added new option '-D, --odirect'. * Added new option '-J, --verify-on-error'. * Added new option '--max-read-rate'. * rescuebook.cc (copy_block): Copy arbitrary blocks with '--idirect'. * Include only bad_sector blocks in 'errsize'. * rescuebook.cc (show_status): Show the estimated remaining time. * io.cc (format_time): Show time in days, hours, minutes and seconds. * Added per sector location data to fill mode. * mapbook.cc: Added emergency save of the mapfile. * Show device name with '--ask' or '-vv' on Haiku. * mapfile.cc (read_mapfile): Read read-only mapfiles from stdin. * ddrescuelog.cc: Allow multiple mapfiles for '-t, --show-status'. * ddrescuelog.cc (create_mapfile): '-' writes mapfile to stdout. * ddrescue.texi: Added new chapter 'Optical media'. * ddrescue.texi: Documented maximum size of the rescue domain. * configure: Option '--enable-linux' renamed to '--enable-non-posix'. * Makefile.in: Added new targets 'install*-compress'. * File 'ddrescue.h' renamed to 'mapbook.h'. * File 'logbook.cc' renamed to 'mapbook.cc'. * File 'logfile.cc' renamed to 'mapfile.cc'. * Files linux.{h,cc} renamed to non_posix.{h,cc}.

    2014-10-03 - Lawrence Rogers <lrr@cert.org> 1.19-1 - Update to 1.19-1 * Fixed a race condition at start of run with '--timeout=0'. * Added new option '-P, --data-preview'. * Added new option '-u, --unidirectional'. * Added new option '-X, --exit-on-error'. * Added new option '--ask' to ask for user confirmation. * Added new option '--cpass' to select passes during copying phase. * Added new option '--pause' to insert a pause between passes. * Removed option '-l, --logfile-size'. * Skip on the first error during the copying phase. * rescuebook.cc: Trimming done in one pass, may be run in reverse. * The splitting phase has been replaced by a scraping phase. * Changed long name of option '-n' to '--no-scrape'. * rescuebook.cc: Alternate direction of passes during retrying phase. * Show ATA model and serial number with '--ask' or '-vv' on Linux. * configure: Added new option '--enable-linux'. * New files linux.h linux.cc. * License changed to GPL version 2 or later.