public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jack <ostroffjh@users.sourceforge.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] data recovery advice needed
Date: Sat, 15 Dec 2018 18:33:35 -0500	[thread overview]
Message-ID: <PTB7FHTJ.HEXXCBAH.FUPTO4TX@OUI5LIUD.XXD5N6PL.3SUDEF64> (raw)

Some months ago, I borked a laptop HDD by trying to move a partition in  
a way that left both the old and new partitions invalid.  (For my  
sanity, I've forced the details out of my memory, but the old and new  
locations overlapped, and I think the move might have been  
interrupted.  My own fault, I know.)  In addition, the drive started  
having read errors, so it was time to replace it anyway.

So, I removed that HDD for safekeeping (completely reinstalled the  
laptop on a new drive) and now I'm trying to recover data from an  
intact partition on the old drive, the problem being that the drive is  
giving some read errors, so I want to minimize access, lest it die  
completely.  I have the drive attached with a SATA to USB adaptor, and  
mounted the partition.  I made the mistake of trying to copy one  
directory (and everything below it) with "cp -r /path/to/mounted/folder  
/path/to/new/location".  As far as I can tell, all the files got copied  
(slowly) but all the new files have the timestamp of when they were  
created.  I know I should have done a "cp -ar" to preserve timestamps.   
Is there any way to fix this other than completely repeating the copy?   
Will some version of rsync do what I want?

Thanks for any suggestions, other than to think more carefully before  
typing.


Jack

             reply	other threads:[~2018-12-15 23:33 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 23:33 Jack [this message]
2018-12-16  0:06 ` [gentoo-user] data recovery advice needed Grant Taylor
2018-12-16  0:19 ` Rich Freeman
2018-12-17 19:32   ` Jack
2018-12-17 19:42     ` Rich Freeman
2018-12-17 20:53       ` Grant Taylor
2018-12-17 20:45     ` Grant Taylor
2018-12-18 12:21     ` Wols Lists
2018-12-18 14:20       ` Dale
2018-12-18 15:56       ` Grant Taylor
2018-12-18 21:28         ` Marc Joliet
2018-12-19 11:51           ` Mick
2018-12-18 17:43       ` Jack
2018-12-17 22:32 ` Heiko Baums
2018-12-17 23:19   ` Jack
2018-12-18  9:43     ` Peter Humphrey
2018-12-18 17:11       ` Jack
2018-12-18 17:42         ` Mick
2018-12-18 17:49           ` Jack
2018-12-18 18:33             ` Mick
2018-12-18 18:58             ` Grant Taylor
2018-12-18 18:51           ` Grant Taylor
2018-12-19 11:43             ` Mick
2018-12-19 18:46               ` Grant Taylor
2018-12-19 22:16                 ` Mick
2018-12-19 23:02                   ` Grant Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PTB7FHTJ.HEXXCBAH.FUPTO4TX@OUI5LIUD.XXD5N6PL.3SUDEF64 \
    --to=ostroffjh@users.sourceforge.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox