Computers & Electronics
188,454 views
25 min · 3 min read
7 steps
Advanced

How to recover data from a failing external hard drive using safe cloning techniques

A failing external hard drive can be stressful, but careful, methodical cloning gives you the best chance to recover your data safely. This guide walks you through a low-risk cloning workflow using read-only and error-tolerant tools, so you can preserve as much data as possible before attempting file recovery.

Verified by pleasexplain editors
  1. Step 1: Stop using the drive immediately

    Disconnect the failing drive at the first sign of clicking, unusual noises, or frequent errors to avoid further damage. Continued reads and writes amplify mechanical wear and increase the chance of permanent data loss, so power it down for at least 10 minutes before reconnecting for a controlled session.

    [Illustration: external hard drive disconnected on desk next to a laptop, power cable unplugged]

  2. Step 2: Prepare a clean recovery system

    Use a separate, reliable computer with plenty of free disk space (at least 150% of the failing drive size) and avoid installing new software on the target disk. Boot the system into a stable environment such as a Linux live USB or a dedicated recovery machine to minimize background writes and interference.

    [Illustration: laptop running Linux live USB with terminal window and disk info visible]

  3. Step 3: Attach a larger target drive

    Connect a destination drive that is at least as large as the failing drive; ideally 150% capacity to allow room for multiple images. Use powered USB hubs or direct SATA connections to ensure stable power and avoid consumer hubs that can drop the connection during long reads.

    [Illustration: two external drives connected to a desktop via SATA and powered USB hub on a tidy desk]

  4. Step 4: Create a read-only image first

    Use tools like ddrescue in read-only mode to create a full image (.img) of the failing disk, logging progress to a mapfile. Start with a single pass that reads sequential blocks for 30–60 minutes to capture the healthy regions quickly, then log results so you can resume without repeating good reads.

    [Illustration: terminal showing ddrescue command copying drive to image with mapfile progress]

  5. Step 5: Run targeted retry passes

    After the quick pass, perform multiple ddrescue retry passes focused on bad sectors, increasing wait times to 1–5 seconds between retries and limiting per-block retries to avoid overheating. Keep each pass to 6–12 hours depending on drive condition and monitor device temperature below 45°C to prevent thermal failure.

    [Illustration: terminal showing ddrescue retry pass and temperature monitor overlay]

  6. Step 6: Use imaging verification and checksums

    Generate and compare checksums (MD5/SHA256) of the image and any recovered partitions to ensure data integrity; record checksum files separately. If checksums differ, consult the ddrescue mapfile to locate corruption and reattempt targeted reads only on those regions to preserve remaining data.

    [Illustration: command output showing sha256sum of disk image and verification success]

  7. Step 7: Recover files from the image safely

    Mount the image read-only or attach it via loopback and use file-recovery tools like photorec or filesystem-aware utilities to extract files to the healthy target drive. Work from the image copy rather than the original failing disk for all recovery attempts, and keep the original powered off and stored safely after imaging.

    [Illustration: file recovery utility scanning mounted disk image with recovered files listed]


  • Label the faulty drive and image with date, time, and actions performed for tracking.
  • Keep at least two copies of the image on separate physical drives once created.
  • Use a cooled environment and avoid desktop fans blowing directly on the drive to reduce dust ingress.
  • If unsure about physical noise or clicking, consult a professional data recovery lab before extensive DIY attempts.
  • Use a powered USB 3.0 enclosure or direct SATA for faster and more reliable cloning speeds (50–150 MB/s typical).
  • Run cloning during off-hours and allow 8–24 hours for full imaging depending on size and condition.

  • Do not attempt DIY disassembly of a sealed hard drive; opening it destroys the cleanroom environment and often makes recovery impossible.
  • Avoid writing to the failing drive; every write increases the risk of further data loss and reduces chances of successful cloning.
  • Frequent power cycles reduce recovery odds; plan continuous, monitored sessions instead of many short attempts.
  • If the drive makes loud grinding or repeated clicking, stop immediately and consult professionals—continued operation can cause irreparable damage.

Was this guide helpful?