Exact order of steps to set up new iMac by migrating files from old iMa?

None of Apple's support articles exactly address my question in its entirety.


I have an old iMac running macOS Mojave (10.14.4) and a brand new, 2019, iMac also with Mojave.


I'm going to use the old iMac in Target Disk Mode (with Thunderbolt 3 cable connected to new iMac, and that cable connected to Apple's Thunderbolt 2-to-Thunderbold 3 adapter, whose Thunderbolt 2 end will, in turn, be connected to the old iMac).


I have not yet turned on the new iMac.


Questions:


  1. Do I connect the two iMacs by the cable before powering either on?
  2. Am I correct that I want to start the old iMac first, in target-disk mode?
  3. Once the new iMac is turned on, will it prompt me to set up a user (administrator) account then? And, in fact, don't I need a user account on the new iMac in order to launch Migration Assistant there?
  4. If, as I expect, I need an account on the new iMac before launching Migration Assistant, is there any problem with using the same user name for that on the new iMac as on the old iMac: will that interfere in any way with using Migration Assistant?
  5. Can I use the same machine name for the new iMac as the old one? If not, how do I arrange things so as to be able to re-use the old iMac's name on the new one -- would I need to change the name on the old iMac to something else first, before re-using the name on the new one?

iMac 27", macOS 10.14

Posted on Apr 4, 2019 2:44 PM

Reply

Similar questions

14 replies

Apr 4, 2019 4:31 PM in response to murrayE

4. If, as I expect, I need an account on the new iMac before launching Migration Assistant, ...


To be clear, you don't need to do that. Do not create a new User Account. It will result in needless work. When you turn on the new iMac, it will ask you if you want to transfer information from the older one (or its Time Machine backup... it really doesn't matter). It will tell you what to do.


That also obviates answers to your questions 1-3.


As for #5, You can use the same name if you please, but I prefer using descriptive names. It's totally up to you though and Migration Assistant will cope with whatever you choose.


In addition to Tesserax's comments, consider calling Apple to have them walk you through the migration: Contact Support. It's a service you already paid for by purchasing a new Mac. They enjoy helping people do it right, and you're definitely doing it right.

Apr 4, 2019 2:52 PM in response to murrayE

I suggest that you start by reviewing this Apple article to see if it can address each of your questions:


However, if you have been making regular backups with Time Machine on your old iMac, you may find the overall experience even simpler if you use Migration Assistant to restore your Time Machine backup to your new iMac without going through the Target Disk process.

Apr 6, 2019 4:10 PM in response to John Galt

I did have Apple Support walk me through the migration process, and it was not a happy process! First rep had apparently never been through it before and was consulting a script, so I quickly escalated the call to a "senior advisor".


She had me start up the new iMac in Recovery Mode, with files coming from my Time Machine backup on an external drive. That seemed be be going OK, as the count of number of items to be transferred was counting up to 8000,000+, so we ended the phone call then. Alas, after around 900,000 items counted, the process aborted with an uninformative error message that there was an unexpected error from Migration Assistant.


Another call, and I insisted on speaking right away with a senior advisor. This one had me try again, but now I got error message that the restoration could not be completed because of different hardware on old and new iMacs -- even though the restore was being done from Time Machine backup. (Old one was a late 2015 iMac with Fusion Drive, new one a 2019 iMac with SSD.) Next she had me first install macOS, then during the setup migrate files from the Time Machine backup. Among things I OK'd to migrate were user accounts "MacPorts" and "PostgreSQL-93", and I clicked the buttons to promote them to admin accounts. The migration failed again.


We started again, this time with my not clicking to promote those two accounts. Finally, after some 2 hours on the phone with Apple Support, the process seemed to be proceeding normally, and after another 3 to 4 hours, the migration was complete. (This was over a Thunderbolt 3 cable from the external HD housing the TimeMachine backup.)


Oddly, none of my FileMaker Pro database files were transferred, and a separate folder of backup copies of them did not transfer, either.

Apr 7, 2019 9:01 AM in response to murrayE

I don't doubt Apple's reports of a similar problem, but that explanation is weak. It doesn't make any sense. Migration Assistant is specifically designed for migrating information from an older Mac to a newer one. The hardware is always different by definition. If you were to migrate information between identical Macs you wouldn't need it. You could just restore one from the contents of the other, or restore a TM backup.


Anyway, glad it all worked out.


Apr 7, 2019 9:29 AM in response to John Galt

Could I just ask one question because the best way to setup a new Mac has been tasking me for a while. I would prefer to avoid Migration and Time Machine if possible in order to have the OS as clean as possible.


I’m ok with installing App’s from scratch and importing mail from archives after setting up the accounts, contacts calendar notes etc can sync back from the cloud and not really bothered about iMessages - but what puzzles me is how to deal with Keychains.


If you don’t use iCloud Keychains how would you get passwords and secure notes from the old to the new Mac, can you use Finder in some way to move certain keychain folders or database files so the new Keychains App can import or see.


Sorry for crashing an already started discussion.

Apr 7, 2019 10:16 AM in response to SiHancox

I may not be the best one to ask because Migration Assistant / Setup Assistant is all I have ever used since the very first OS X Public Beta, which itself migrated information from a Classic Mac. On the rare occasions in which I have nothing better to do I may find files dated from a decade or two ago. They have no operational effect, typically occupy a few kbytes, and can just be trashed. Even that is usually more trouble that it's worth. Time Machine backs them up exactly once. It's better to ignore them.


There are concerns with erasing a Mac and reconfiguring it from the ground up, and you can find plenty of them on this site. The concept of a "clean" Mac is only appealing on an emotional basis. Unfortunately it's very appealing because it implies the equally emotional concept of a "dirty" Mac. Some people became very wealthy (and continue to do so) exploiting that concept. It's an understandable human frailty, but it has little or no technological justification.


The installation and use of pervasive "cleaning" scam products changes all that. The ideal solution is not to use them to begin with, but once a Mac has been affected by them, erasing it is the most practicable solution. Remedies short of that are possible, and should certainly be explored first, but my patience with such things is almost nil. That's the reason I advocate erasing Macs that have been affected by them. It's faster that way and Time Machine makes recovery a lot easier.


The User Account Keychain folder is here: ~/Library/Keychains and I think you can just copy it to the new Mac. However, the introduction of iCloud Keychain may complicate that. Try copying that folder.

Apr 7, 2019 11:37 AM in response to John Galt

Much appreciated, I don’t intent to “clean” my existing iMac (agree with your view regarding that aspect) but come the day I do upgrade (waiting for the next generation iMac with edge to edge screen like iPad Pro’s) would like to setup as cleanly as possible, and how to manage existing Keychains (without iCloud) was the only are of uncertainty.


Still, suppose Apple aren’t going to release my “dream” iMac just yet so I’ve got a little more time to get this right.


Many thanks.

Apr 7, 2019 1:04 PM in response to SiHancox

Surely I'm reading too much into your "OS as clean as possible" goal but I understand. What I advocate is migrating everything, then deleting whatever has fallen into disuse by either the user or macOS. That task can be put off as long as you want.


For example I just found a folder in ~/Library/Keychains that had not been altered in five years. I trashed it.

Apr 8, 2019 12:50 AM in response to John Galt

John Galt wrote:

...What I advocate is migrating everything, then deleting whatever has fallen into disuse by either the user or macOS...

I see, I'll have to read up on Migration a little to find out what it actually brings across or what the user can limit it bring across to the new Mac.


I suppose my goal is to have the new Mac as close to "out of the box" as possible after logging into iCloud and allowing Contacts, Calendar, Notes, Safari Bookmarks etc to sync back.


I'm not worried about Mail because I can add my account and import mailboxes, iMessages can start from scratch and I don't employ iCloud for any photo syncing preferring to keep them on external backup drives..


So the only remaining area was Keychains and all those passwords and Secure Notes, which would be a pain to type in again by hand.


With respect to Keychains I feel there are three ways to get them across to the new Mac if I exclude long hand, use Migration and then deal with trying to remove other stuff it also brings over (or just except the other stuff and leave alone), enable iCloud Keychains on old Mac and then let it sync across similar to Contacts or employ an Import method similar to Mail.


Because I've never used iCloud Keychains and I've stayed away from 2FA (that's another story) I'm really not sure about wanting to do that just for a single purpose, so that leaves me with the Import option.


If Keychains allowed Export and Import in a similar manor to Mail it would be a lot easier, but as I understand you can't Export collectively, only single items. The closest method I've read is to copy the "login.keychain" and "login.keychain-db" files over to the new Mac then open Keychain Access and Import that old login keychain. Then from within Keychain Access move the contents from old keychain to new keychain after which the old keychain can be deleted.


That nicely deals with all the Secure Notes but Passwords being under Local Items would still be left and I'm unsure under which Finder keychain db they are stored or even if the same file copy/Import technique could be used. I suppose you could move all the passwords from Local Items to Login (on old Mac) on a temporary basis and once the contents are on the new Mac using the file copy/Import method, move them back again to the new Mac's Local Items.


Anyhow, that's what I'm trying to get straight in my mind at the moment, how to have a new Mac that's as close to "out of the box" with respect to software on it but also to have all my old keychains available.


Sorry for the long post.

Apr 8, 2019 7:26 AM in response to SiHancox

Thanks. I don't want to muddy the waters by replying to that Discussion, because as I wrote I succumbed to the necessity of using iCloud Keychain and 2FA a long time ago. I just have too many  devices and too many passwords with too many different inscrutable requirements "for your security" 🙄 so what you prefer to do just isn't an option for me.


I don't like it any more than anyone else, but such is life in the 21st century.


2FA is becoming a de facto requirement for many products and services, some of which are not optional (think taxes). Apple isn't the only one. I don't think they like it either.

Apr 8, 2019 7:54 AM in response to John Galt

Thanks, must say everything you have raised is also going through my mind and I sometimes feel like I’m being a little “behind the times”, since posting the new discussion I’m now wondering whether iCloud Keychains wouldn’t be the best option, and I don’t believe 2FA is necessary from what I’ve read.


I suppose I’ve been comfortable in what I’ve been doing and haven’t had the necessity to change until now (or more correctly when I get the new Mac), and altering too many things at once to achieve my aim is not what I would consider good practice.


But may be enabling iCloud Keychains would be the first step, and if all goes well everything will be in place for the big day.


Anyhow, will see what others think on the new discussion, thanks again for your thoughts and time.

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.

Exact order of steps to set up new iMac by migrating files from old iMa?

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