DevHeads.net

Backing up a damaged SSD

I've got a laptop with a damaged main drive. It's a 2TB NVME SSD, and gets
an error on a dd copy of the main Ubuntu partition, and about 200 errors on
a ntfsclone --rescue of my Windows partition.

Of course, I'm getting it replaced -- it's even under warranty from the
company that makes the laptop. But I'd like to have the best backup
possible. I like the ntfsclone --rescue option. I wonder if the dd
--ignore-failed-read works the same way -- skip a single sector, on both
the input and the output or whether is skips a whole block of the size I
told it to use. I also wonder if there's anything better.

++ kevin

Comments

Re: Backing up a damaged SSD

By Liam Proven at 07/08/2019 - 07:28

gddrescue is the tool to go for, IMHO

<a href="https://packages.debian.org/sid/utils/gddrescue" title="https://packages.debian.org/sid/utils/gddrescue">https://packages.debian.org/sid/utils/gddrescue</a>

It is a newer fork of an older program called dd_rescue:

<a href="https://askubuntu.com/questions/211578/whats-the-difference-between-ddrescue-gddrescue-and-dd-rescue" title="https://askubuntu.com/questions/211578/whats-the-difference-between-ddrescue-gddrescue-and-dd-rescue">https://askubuntu.com/questions/211578/whats-the-difference-between-ddre...</a>

Re: Backing up a damaged SSD

By Tommy Trussell at 07/05/2019 - 22:39

I believe this is the exact sort of situation ddrescue was designed for...
though I don't know whether it handles SSD drives as well as "old
fashioned" magnetic drives. You will also need some other utilities to work
with (what's left of) the recovered files.

Several places have assembled "forensic" bootable images that include all
the utilities you might need.

Re: Backing up a damaged SSD

By Kevin O'Gorman at 07/18/2019 - 14:54

I looked into forensic images a bit. I found the information unorganized
enough to be just irritating. When I'm not under time pressure, I'll
probably try to sort out what makes sense for me.

However, thanks for reminding me about ddrescue. That was just what I
needed. But I wound up finding it could not work any better than the other
tools, and for a reason that surprised me: the actual problem was not with
the NVME drive, but with the drive dock I was sending the backups to. It
would freeze. At first briefly, but after 20 minutes or so it would freeze
so completely that nothing could touch that drive. Even reboot was slowed
enormously or completely stalled. Turning off the drive dock was the only
"solution". I've filed a review on that product.

I got clean backups with all tools after I substituted a drive dock of a
different manufacturer.

On Fri, Jul 5, 2019 at 7:42 PM Tommy Trussell <tommy. ... at gmail dot com>
wrote:

Re: Backing up a damaged SSD

By Ian Bruntlett at 07/06/2019 - 05:09

Hi Tommy,

I have a collection of links to forensic and other utility isos on this
page: <a href="https://sites.google.com/site/ianabruntlett/home/free-software" title="https://sites.google.com/site/ianabruntlett/home/free-software">https://sites.google.com/site/ianabruntlett/home/free-software</a>

Look for them under the category "Linux Live CD/DVDs (technical stuff)"

HTH,

Ian

Re: Backing up a damaged SSD

By Colin Law at 07/06/2019 - 05:49

On Sat, 6 Jul 2019 at 10:12, Ian Bruntlett <ian. ... at gmail dot com> wrote:
That link appears to want me to login to google before I can see it.

Colin

Re: Backing up a damaged SSD

By Gary Curtin at 07/06/2019 - 06:56

On Sat, 2019-07-06 at 10:49 +0100, Colin Law wrote:
Yeah, and when you do get past the Google login, you get site not
found!!

Re: Backing up a damaged SSD

By Ian Bruntlett at 07/06/2019 - 16:26

Hi Gary and Colin,

Temporary work around.
1 Go to <a href="https://sites.google.com/site/ianbruntlett/" title="https://sites.google.com/site/ianbruntlett/">https://sites.google.com/site/ianbruntlett/</a>
2. In the navigation sidebar, click on "Free Software"
3. Scroll down to "Linux Live CD/DVDs (technical stuff)" and you'll see
what I'm talking about :)

In case that doesn't work, the key live CD/DVDs that I would consider using
are:-
1. CAINE (an investigation tool) <a href="https://www.caine-live.net/" title="https://www.caine-live.net/">https://www.caine-live.net/</a>
2. Hirens Boot CD (actually a DVD these days) <a href="https://www.hirensbootcd.org/" title="https://www.hirensbootcd.org/">https://www.hirensbootcd.org/</a>
3. System Rescue CD <a href="http://www.system-rescue-cd.org/" title="http://www.system-rescue-cd.org/">http://www.system-rescue-cd.org/</a>

I have used CAINE to rescue data from a Windows laptop's harddrive which
had been rendered unbootable because of a software problem.

If I was to be backing up a damaged SSD, I would definitely try using
ddrescue, possibly after having booted CAINE.

If you know of other rescue CDs/DVDs I should link to, let me know :)

HTH,

Ian

Re: Backing up a damaged SSD

By Kevin O'Gorman at 07/09/2019 - 17:41

On Sat, Jul 6, 2019 at 1:29 PM Ian Bruntlett <ian. ... at gmail dot com>
wrote:

I'm found another list that includes two of yours. It may be of some
interest.

<a href="https://techtalk.gfi.com/top-5-free-rescue-discs-for-your-sys-admin-toolkit/" title="https://techtalk.gfi.com/top-5-free-rescue-discs-for-your-sys-admin-toolkit/">https://techtalk.gfi.com/top-5-free-rescue-discs-for-your-sys-admin-tool...</a>

HTH

++ kevin

Kevin O'Gorman
#define QUESTION ((bb) || (!bb)) /* Shakespeare */

Please consider the environment before printing this email.

Re: Backing up a damaged SSD

By Ian Bruntlett at 07/10/2019 - 12:52

Hi Kevin,

BW,

Ian