System Grab Bag

View all TLDR pages from Linux (or from all pages)

ddrescue

Data recovery tool that reads data from damaged block devices. More information: https://www.gnu.org/software/ddrescue/.
  • Take an image of a device, creating a log file:
    sudo ddrescue {{/dev/sdb}} {{path/to/image.dd}} {{path/to/log.txt}}
  • Clone Disk A to Disk B, creating a log file:
    sudo ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}} {{path/to/log.txt}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.