Okay, so I need to restore a machine from a Time Machine backup, but before it failed it had two separate volumes; one for the OS, apps and the administrator account, and one for all other user accounts. However, both volumes were lost, and will need to be recreated from my backup.
What I want to know in advance is whether it is possible to restore the user accounts to the new users volume using the Migration Assistant, or will it try to restore them onto the system volume? If the latter, is there another way I can seamlessly restore the user accounts?
I've restored files using other means in the past, but that was a long manual process targeting specific things, and usually as part of a clean install for a new OS version, to avoid restoring leftovers etc. However this time I'm restoring due to hardware failure, so I'm not changing the OS, and I'm hoping to restore as much as possible as-is, albeit in stages (as some user accounts are very large, probably needing to be left overnight).
Basically I want to be able to setup my replacement hardware, restore the OS, apps and admin on one volume, and restore the other users one at a time, such that each can just log-in like nothing happened.
Best Answer
Okay so I went ahead with the update anyway and it turns out that Migration Assistant is clever enough to recognise relocated user accounts.
In my particular case it recognised them, but provided no option to restore their contents (just the account itself), possibly because my users volume hadn't been recreated at this point.
However, after restoration was complete, and I'd recreated my users volume, all I needed to do was pop into Time Machine and restore the user folders from there, with the added advantage of the system still being usable throughout via my admin account.
For anyone in a similar situation, here are the basic steps that I followed:
sudo tmutil inheritbackup
now take your machine's old backup folder and drag it onto the Terminal window to add its path. Your command should look like:sudo tmutil inheritbackup /Volumes/Backup/Backups.backupdb/Haravikk\'s\ Mac
, you'll be asked for your password to run the command (must be run by an administrator).sudo tmutil associatedisk
and drag the appropriate folder onto the Terminal window, then drag the corresponding volume on as well, your command will look like:sudo tmutil associatedisk /Volumes/Backup/Backups.backupdb/Haravikk\'s\ Mac/Latest/Users /Volumes/Users
, hit enter to run the command.Once you've restored all the user accounts, you should be safe to re-enable Time Machine backups, and the accounts should now work just as they did before (though some passwords may need to be re-entered).