Manually migrate Mac user profile
Most Mac migrations can be completed using the Migration Assistant built-in to Mac OS, but some will require a manual migration.
Procedure
When to use this procedure
This procedure is to be used when migrating from a Mac to either the same Mac (after a reload, for example) or to a new Mac. If transferring from a PC to a Mac, follow steps on “PC Restore from Backup” and generalize where necessary (obviously there won’t be a 1:1 translation from PC to Mac- just make sure to get all the documents, pictures, etc at the very least).
Full-manual migration
Note: If you receive an “Operation not permitted” error while running terminal commands, follow Procedure - Fix “Operation not permitted” on Mac
To manually migrate a user profile:
- Create a temporary administrator user profile named temp with password temp, and login as the temporary user.
- Move the user profile folder from the backup on the server to the desktop of the temporary user profile.
- Create a new user with the same username as the folder copied in step 2, and the same password as the original user if possible.
- Run the following commands, in sequence, substituting any bracketed items with the appropriate replacement (ie, replace <username> with the name of the user profile, sans brackets):
Sudo sumv /Users/<username> /Users/<username>.bakmv /Users/temp/Desktop/<username> /Users/<username>chown -f -R <username>:staff /Users/<username>rm -f -R /Users/<username>.bak
- The user profile should now be configured and ready for login.
Semi-Automatic migration
To reduce the number of steps required for a manual migration, we have a script available on the Data server. Connect to \192.168.0.100 and grab the script macmigrate.command from the data\Mac\Scripts folder (or grab it from the Mac folder in RemoteCare client), then:
- Create a temporary administrator user profile, and login as the temporary user (as described in step 1 in Full-Manual migration).
- Move the user profile folder from the backup to the desktop of the temporary user profile.
- Create a new user with the same username as the folder copied in step 2, and the same password as the original user if possible.
- Move the macmigrate.sh script to the temporary user desktop, then run the following command:
sudo /Users/<temp-username>/Desktop/macmigrate.command
- Follow the instructions as prompted and the script will execute the necessary commands to finish the manual migration.
Final steps
After finishing either the full-manual or semi-automatic migration, login to the user profile that was just migrated and confirm that:
- The data was transferred. Check Documents, Pictures, Music, etc.
- That the permissions were set properly. Ensure that the migrated user can open and modify files located in the various user folders. If the user used Mail and Messages, make sure those are present and accessible as well.
- That there are no keychain popups- you may have to reset the keychain if that is the case. Keychain popups usually indicate that the user profile was created with a different password.
Additional Information
Migrating manually in this way does not transfer applications or application settings. The customer will need to be made aware of this before the manual migration takes place in order to avoid any confusion about what they expect to see on the computer when they receive it.