# Ddrescue

Ddrescue is a self-hosted backup app. GNU ddrescue is a data recovery and disk imaging tool for recovering data from failing drives or damaged media by copying readable sectors first to another file or block device, preserving as much recoverable data as... It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/4148/ddrescue

## Description

GNU ddrescue is a data recovery and disk imaging tool for recovering data from failing drives or damaged media by copying readable sectors first to another file or block device, preserving as much recoverable data as possible before further failure.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

27/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (last commit 2519 days ago)
- Popular: 34 (48 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 75 (no serious findings)

## Links

- Official website: http://www.gnu.org/software/ddrescue/ddrescue.html
- GitHub: https://github.com/mruffalo/ddrescue
- Unraid: https://ca.unraid.net/apps/ddrescue-15q7ie11buvt9x?q=ddrescue
- Documentation: https://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html

## Common questions

### Is the mapfile optional when using ddrescue?

No, the manual says the mapfile is essential because it tracks copied and failed areas. It also lets you interrupt the rescue and resume later instead of starting over.

### Can the damaged drive be used as the output device?

No, use the damaged disk only as the input and point ddrescue to a different safe destination. Writing to the source by mistake can erase the data you are trying to recover.

### Should I open files on the damaged drive or copy an image first?

The manual advises copying the disk into an image file on a healthy drive before trying to open or repair files. This keeps the source untouched and makes it easier to retry failed areas.

### Can ddrescue show zero rescued blocks even when the device is recognized?

Yes. A user reported that Linux recognized the stick and lsblk showed the correct size, but every ddrescue read failed and rescued blocks remained zero.

### Does ddrescue copy empty space too?

A user reports that ddrescue copies even empty space.

## Alternatives

- Acronis True Image: Full image backup and disk cloning for Windows, macOS, iOS, and Android with ransomware protection, cloud storage, and fast recovery option…
- Autopsy Forensic Browser: Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools.
- Foremost: Foremost is a console program to recover files based on their headers, footers, and internal data structures.
- PhotoRec: PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from hard disks, CD-ROMs, an…
- Recuva: Retrieve lost files from your PC, recycle bin, or portable devices with a free and user-friendly tool offering deep scans and secure overwr…
- TestDisk: Free command-line tool for recovering lost partitions, repairing non-booting disks, supporting multiple file systems and converting disks t…

---
Source: Our Local Host (https://ourlocalhost.com/app/4148/ddrescue), the self-hosted and open-source app directory.
