ddrescue -d /dev/sda /backup/disk.img /backup/rescue.log

Category: Backup & Restore

ddrescue -d /dev/sda /backup/disk.img /backup/rescue.log

Read the disk directly, bypassing the cache

The -d (direct) flag reads the raw device without the operating system cache, which can reach sectors the cached path cannot and avoids polluting memory. Useful for very damaged drives. Follow up with -r retries afterwards for maximum recovery.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.