All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 4th, 2018, 5:48 
Offline

Joined: May 28th, 2016, 9:16
Posts: 127
Location: Karlsruhe / Germany
Hey Guys,

Currently I have a 1GB disk on my table. The disk is reading fine, but it's Mac drive. Currently I have two problems with this disk. First of all, I tried to just take a target HDD and write the data sector to sector to it. But the target HDD is too small. About 300 LBA are missing on the target drive (both drives are WD Passport drives with 1TB). The next thing I tried is to extract the files. This didn't work well for me. The drive is a HFS+ drive. And on the drive I have a TimeMachine backup and two "strange" folders. ".HFS Private Directory Data_" and "HFS+ Private Data". In the first "hidden" dot Folder I have 100.000 sub folders like "dir_1000000" and in this folders are the actual files. When I extract the files with PC-3000, I have about 1,2TB of Data, just in this one folder. And the other data was about 400GB. So something is wrong, my guess is, that some Unix file links are extracted into real data. So what can I do?

My current idea is to image the data into a single binary file, to mount it on a native Mac or Linux device and to copy the data. But with PC-3000 I only can create binary Image files of 2GB chunks. So I have to glue it together again.

Does anyone have a better idea?


Top
 Profile  
 
 Post subject: Re: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 4th, 2018, 7:55 
Offline
User avatar

Joined: March 6th, 2010, 3:46
Posts: 312
Location: Kolding | Denmark
I would make a clone with DE to a larger drive, if needed can set max LBA to match patient.
After that copy data on a Mac.

DE can export image to a single file, no problem. But i would prefer a drive :)

_________________
Digitalsupport Data Recovery
https://digitalsupport.dk


Top
 Profile  
 
 Post subject: Re: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 6th, 2018, 10:22 
Offline

Joined: May 28th, 2016, 9:16
Posts: 127
Location: Karlsruhe / Germany
Ok, I was able to dump everything into a file with DE. And the normal files I was able to copy with rsync on a Mac. But I can't back up the TimeMachine. With rsync I was able to copy just one file per minute.
Code:
sh-3.2# find Backups.backupdb/ -type f | wc -l

54369102


=> 100 Years!?!
And with the MacOS Drag&Drop Copy? After 1,5 Days of "preparing" to copy I got the message, that there is not enough free space on the target drive and another 9.4TB are needed. I think, next I'm going to try to copy everything just with cp on shell, but I don't think, this is also going to work ;(


Top
 Profile  
 
 Post subject: Re: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 6th, 2018, 10:27 
Offline
User avatar

Joined: April 3rd, 2011, 0:19
Posts: 1841
Location: Providence, RI
Moving a TimeBackup should only be done using MacOS's own built-in function as described here: https://support.apple.com/en-us/HT202380

It also should be copied before any other data to the destination (trust me, you'll regret it if you try it the other way around)

Because of the versioning used in TimeBackup, trying to copy/recover it any other way can easily result in 20Tb coming off a 500Gb disk.

Personally, I charge extra if they want a TimeBackup recovered since it often results in a lot more work. Most people just decline the extra charge and decide to redo the backup. Saves me time, saves them money, win-win.

_________________
Data Medics - Hard Drive and RAID Data Recovery Service Company


Top
 Profile  
 
 Post subject: Re: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 6th, 2018, 12:06 
Offline

Joined: August 31st, 2017, 4:34
Posts: 14
Location: Belgium
Looks like you are cloning backup folders from TimeMachine. They have HardLinks and you have been cloning a lot of hardlinks several times. DE recognizes hardlinks as different items and creates separate maps for each one. You can check by yourself that all backup folders have very-very similar data... If you don't have 10 TB drive then you can either save the backup with the latest timestump or wait for the pc3000 update (perhaps, this bug would be fixed in new version).


Top
 Profile  
 
 Post subject: Re: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 8th, 2018, 5:42 
Offline

Joined: May 28th, 2016, 9:16
Posts: 127
Location: Karlsruhe / Germany
data-medics wrote:
Moving a TimeBackup should only be done using MacOS's own built-in function as described here: https://support.apple.com/en-us/HT202380

Seems like Apple built a special function to copy a TM-Backup into their finder. Because I tried to copy the TM-Files with PathFinder and it didn't work for me (I got the message with the 9TB of needed space.)

data-medics wrote:
It also should be copied before any other data to the destination (trust me, you'll regret it if you try it the other way around)


Thank you for the hint!

data-medics wrote:
Because of the versioning used in TimeBackup, trying to copy/recover it any other way can easily result in 20Tb coming off a 500Gb disk.

Apple is using Hard Links on their TM Backups. Hard Links are normally not a problem on a Unix based system. rsync and cp are able to handle it. I don't understand why there was a problem on OS X / HFS+ with them.

data-medics wrote:
Personally, I charge extra if they want a TimeBackup recovered since it often results in a lot more work. Most people just decline the extra charge and decide to redo the backup. Saves me time, saves them money, win-win.

The first priority of the client was to get the TM Backups back, everything else is "bonus". Why? I have no idea.


Top
 Profile  
 
 Post subject: Re: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 8th, 2018, 7:00 
Offline
User avatar

Joined: February 9th, 2009, 16:13
Posts: 2038
Location: Ontario, Canada
For TM backups, I usually get the best clone possible, fix the file system on the clone so it is mountable, then use the apple disk utility to do a partition copy.

_________________
Luke
RAID Data Recovery


Top
 Profile  
 
 Post subject: Re: How can I restore a HFS+ Disk? Linked files, e.g.
PostPosted: August 8th, 2018, 11:55 
Offline

Joined: May 28th, 2016, 9:16
Posts: 127
Location: Karlsruhe / Germany
lcoughey wrote:
For TM backups, I usually get the best clone possible, fix the file system on the clone so it is mountable, then use the apple disk utility to do a partition copy.


Yes, I think that's the best way. But I don't know why, the 1TB WD Passport Patient drive was about 200 LBA larger then the 1TB target drive. So the content didn't fit to it. I have no idea, why that was the case. My idea was just to make a 1 to 1 image, but it didn't work out.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group