public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] data recovery advice needed
@ 2018-12-15 23:33 Jack
  2018-12-16  0:06 ` Grant Taylor
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Jack @ 2018-12-15 23:33 UTC (permalink / raw
  To: gentoo-user

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2018-12-19 23:02 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-15 23:33 [gentoo-user] data recovery advice needed Jack
2018-12-16  0:06 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox