How do I restore my home directory from a time machine backup

I have my Home directory on a second internal drive. Because I am having multiple failures, I am preparing to migrate to a new machine. The new machine will only have a single drive so I need to migrate my home directory back to the initial drive. Part of that is to remove all the guff (photos, music etc) that has built up over the years. (Home is approx 750Gb. "Macintosh HD" is only 250GB) As part of that process I accidentally moved the entire contents of Home to a different location on the same HDD. I immediately moved them back but all permissions and history were lost. Also Home is showing in the sidebar of Finder as a folder. Not home.


I thought the best solution would be to restore from my most recent TM backup. Unfortunately, it will not restore directly from that account. "directory in use" or some such message. If I try to restore using a separate Admin account, it cannot restore as it does not have permission to use the folder.


How do I get around this impasse?


Yosemite 10.10.3

iMac 27" Mid 2011

3.4GHz Intel Core i7

Startup disk is Macintosh HD and is an SSD

Home Directory is on "Macintosh HD 2" this is a 2Tb HDD

iMac (27-inch Mid 2011), OS X Yosemite (10.10)

Posted on Aug 13, 2015 6:00 PM

Reply
8 replies

Aug 14, 2015 8:14 PM in response to Eric Root

I don't see how this helps me.

It will allow me to create either a new Admin account which I expect will have the same problem restoring my user account as the spare Admin account I already have.

Or

I would be able to create a new user account with Admin privileges which will not have the history (passwords, browsing etc) that I am trying to get back. My main user account is still there. It has just lost all the customisation.


If I am missing something, please explain.


What I did was pare down my user directory then attempt to copy it from the HDD to the SSD using drag 'n drop. I realised partway through that that approach would not preserve permissions so I attempted to put it back, but missed so it moved the directory instead (target was on same disk). In hindsight I would have been much better off if I had placed it on the new drive, then aborted the copy.


At the moment I have installed a new HDD and am attempting a restore of the User profile there. I will know in a day or two if it is a successful strategy. (Copy is currently reporting "About a day")

Aug 15, 2015 8:32 AM in response to Greg Darcy

It's not entirely clear to me what you did, but to undo whatever it was, restore the entire system from the Time Machine backup created prior to doing it. To do that read OS X Yosemite: Recover your entire system. That action erases the entire source prior to restoring it, obviating incorrect permissions or other problems that may have been created.


Then: To migrate a Home folder from any particular volume, use Migration Assistant. It can migrate an entire User account from one volume to another and ensure all Permissions will be correct, but it must be uniquely named. For example if you already created a User named Greg Darcy on the destination and you want to migrate an account having that same name, Migration Assistant will tell you that account "needs attention" prior to migrating. Providing a unique name is the attention MA requires.

Aug 15, 2015 6:47 PM in response to John Galt

I am not sure what happened either. It was one of those late night mistakes. My explanation above is my best guess as to what I did. It did happen virtually instantaneously though.


My action of replacing the hard drive then restoring just the User home folder has worked. The only thing missing that I have noticed so far is my DropBox account. Signing in and waiting for a sync has rectified that.


I need to repeat the paring down so I can move the HomeDir to the smaller drive as the last backup was before the last pare down.


I am intrigued about using the Migration Assistant to move a User from one drive to another. I thought it was just for moving from one computer to another. I will have to look into it. All the suggestions I have seen have involved Finder or a command line copy followed by adjusting the location in SystemPreferences->Users->Advanced.

Aug 15, 2015 8:14 PM in response to John Galt

I did. Migration Assistant does not see the internal disk drive I want to transfer from. That makes it impossible to use for my purpose. It does see my two TM NAS boxes (but not the other NAS drives) though. The trouble with them is that the Home Folder backed up on them is too large to fit on the SSD.


Oh and iTunes has lost my music library. I will need to transfer some of the Music folder back from where I moved it to. Music must have backed up after the pare down.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I restore my home directory from a time machine backup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.