You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Routinely moving and syncing my complete user folder between 2 macs

There are a number of threads on related topics on this site but they are all old and the solutions they suggest no longer seem to work because of all the changes in MacOS. I want to do this because after many years with just a laptop, I have decided to go back to using a desktop and laptop at the same time. I work in an industry that has very strict data protection rules and I am not in the US which limits my data protection in iCloud so any solution that involves iCloud or other cloud services is an absolute non starter.


I used to do this quite successfully using carbon copy cloner, which is great and I continue to use it for backups and it worked fine. Now, if you try and do what I want, all sorts of things break because of changes in the OS. My ideal solution would allow me to move or sync the current master version of my user account from Mac A to Mac B, then use Mac B for a week/ a month, whatever, and then do the same process from Mac B back to Mac A. Only one mac at a time will be the 'active' master record.


One of the things that definitely breaks is that the local items keychain is not correctly copied across so you lose a lot of passwords, email settings etc. It also breaks in such a way that you cannot directly modify the local keychain files in the 'new' mac as the access controls get mangled or remain with the old computer. I suspect there are other similar issues which I have yet to catch. The user generated documents seem to transfer ok but the new mac is quite unusable without a lot of extra work. If it were once every 6 months it would be ok, but it's not feasible for regular/routine migrations.


Anybody have a solution?

Thanks for reading!

Mac Studio

Posted on May 20, 2022 9:30 AM

Reply
Question marked as Top-ranking reply

Posted on May 23, 2022 6:06 AM

fred242 wrote:

I do not find it acceptable that I should have some or indeed any part of my data archive under the control of a third party.


I agree 100%. In my case I object to certain apps being hard coded to store data in a specific location that cannot be changed, as I do not want my user data stored on the same drive as the system. The biggest offender so far, imho, is MS Outlook v16/v19/v365. It stores mail in a folder buried deep inside ~/Library and no one has found a way to change the location.


However, if you are using the Mac Mail app, there is a way to "move' the mail data folder to another drive. By default Mail stores messages & attachments in ~/Mail but that location can be changed using a symbolic link to another drive (and that means the mail folder can also be moved to another Mac). I have successfully done this for years on multiple Macs. Currently I am using macOS Catalina 10.15.17 w/Mac Mail 13.4. BTW, in the case of Catalina or later macOS releases, you will also have to give Mail "Full Disk Access" in System Preferences > Security & Privacy > Full Disk Access. And you should test it on your system(s) before "going live" with it.


Some third-party mail apps are also capable of having their data files stored in a user-specified location.

Similar questions

12 replies
Question marked as Top-ranking reply

May 23, 2022 6:06 AM in response to fred242

fred242 wrote:

I do not find it acceptable that I should have some or indeed any part of my data archive under the control of a third party.


I agree 100%. In my case I object to certain apps being hard coded to store data in a specific location that cannot be changed, as I do not want my user data stored on the same drive as the system. The biggest offender so far, imho, is MS Outlook v16/v19/v365. It stores mail in a folder buried deep inside ~/Library and no one has found a way to change the location.


However, if you are using the Mac Mail app, there is a way to "move' the mail data folder to another drive. By default Mail stores messages & attachments in ~/Mail but that location can be changed using a symbolic link to another drive (and that means the mail folder can also be moved to another Mac). I have successfully done this for years on multiple Macs. Currently I am using macOS Catalina 10.15.17 w/Mac Mail 13.4. BTW, in the case of Catalina or later macOS releases, you will also have to give Mail "Full Disk Access" in System Preferences > Security & Privacy > Full Disk Access. And you should test it on your system(s) before "going live" with it.


Some third-party mail apps are also capable of having their data files stored in a user-specified location.

May 21, 2022 10:15 AM in response to fred242

fred242 wrote:

Thanks for taking the time to respond! Unfortunately, using iCloud is just what I am trying to avoid as it is not end to end encrypted and therefore not legal for confidential data in my professional area of work. Let me give you a simple analogy, which does not even begin to cover the issue of the legal framework: would you allow your local Police station to keep a set of your house keys?


Police don’t need a set of house keys when they can either pick or bypass or break in as needed. Preferably that arising only with a duly-issued warrants. But it happens. And more than a few organizations can and do use so-called key boxes, those allowing emergency responders access. Knox Box is one of the common key-access products used in the US.


As for protecting the here data…


Per Apple, iCloud Drive file data is end-to-end encrypted in transit, and also uses encryption on Apple servers: iCloud security overview - Apple Support


If that protection is insufficient…


AES-encrypted files or ARS-encrypted disk images are an option for sensitive data. This can mean iCloud is an option within added data protection requirements. This means double encryption with iCloud Drive, and double encryption when FileVault is in use (and as it here should be).


Another hosting service which specifically caters to those with data protection requirements is SpiderOak. Again, this increases the effort and—should mistakes be made—the risks of data exposure.


You could choose to run your own file services of course, though that is more of an investment, and probably also a bigger risk for your data. There are options here, hosting your own local or cloud-hosted NextCloud being more of the more inclusive options.


The other option is to keep your most sensitive data on removable media, and that to be encrypted with AES or better.


All that written, iCloud encrypts in transit, and at rest, per published Apple documents, and which appears to meet the stated requirements. This absent criminal warrants or national security warrants or industrial or national espionage, and those cases can and do arise in all jurisdictions. And avoids encrypted key drives, whether those lost or stolen or dunked or otherwise.


Backups and the protection of data and the protection of backups themselves against malicious activities are additional issues that arise in these cases, as a side project in these efforts.


May 20, 2022 12:20 PM in response to fred242

All Apple devices are synced through the use of the exact same Apple ID, as soon as you create a user and sign in with the same Apple ID, your data will synchronize and be available.


But, give it time as nothing is instantaneous.


That's the Apple way. If your country doesn't allow such, you have to follow your country's laws and regulations. And that is outside the purview of Apple.


As to data security. How you do that is something you must decide upon. CCC is a great app; I use it in lieu of Time Machine.


There is a learning curve for all new tech ... "a lot of work". You can't really get around it and you can't be as secure and up to date if you don't do the work.

May 20, 2022 3:34 PM in response to fred242

There are multiple ways too do this.


One way is to use Apple iCloud keychain sync to ensure that your keychain and passwords are identical on all your Macs (they all must be on the same Apple ID for this to work). You can also make a clone of your Documents folder in a Dropbox folder (or even use the Dropbox method of "backing up" all your Documents to Dropbox) and then all Macs with Dropbox will sync those files. In fact I have started using Dropbox much like a second "Documents" folder for this.

May 21, 2022 9:44 AM in response to fred242

Thanks for taking the time to respond! Unfortunately, using iCloud is just what I am trying to avoid as it is not end to end encrypted and therefore not legal for confidential data in my professional area of work. Let me give you a simple analogy, which does not even begin to cover the issue of the legal framework: would you allow your local Police station to keep a set of your house keys?


May 21, 2022 1:59 PM in response to fred242

Moving your user home folder has always been a risky endeavor, and with the increasing types & levels of security in each macOS release coupled with parallel changes in applications, moving the home folder becomes even less & less advisable.


That said, if you intend to do this, at a base minimum, you should make sure that both Macs have exactly the same setup including: the version of macOS & any security updates, volume formats & names, users/groups that were created with exactly the same names and in the exact same order of creation, exactly the same releases of the apps you commonly use. And in order to keep the Macs 'aligned' in this manner you should turn off all automatic updates. This is to minimize and hopefully avoid problems due to differences in the way the Macs have been set up when you move your home folder back & forth between your two Macs. If you were only moving user data none of that would be necessary, but if you are moving the entire home folder including ~/Library you have to be extra careful. Even then not everything may work properly.


For that matter, my advice is to only move user data, not the entire home folder. You can install & configure all applications identically on each Mac, once & done, so you would not risk having to re-do setups or configurations. And it's so much simpler just to move the user data. I have done this for many years with many different Macs and releases of OS X and macOS. Never ran into any problem except for an occasional and seemingly random data file permission that was easy to change.


That said, I do admit that moving email messages & folders between Macs could still be a problem if you are using any POP mail service, the MS Outlook app, and/or saving mail to your local drive. IMAP, Exchange & webmail do not have that problem.


May 23, 2022 5:47 AM in response to MartinR

Thanks for your post! As you suggest, moving the files works really quite well but the library folder is more problematic and the real fly in the ointment is the issue of mail files. As I use pop for my main account on the mac(s) (I leave it as imap for phones and other devices) this is one of the main sticking points. The issue is partly technical but also partly philosophical - I do not find it acceptable that I should have some or indeed any part of my data archive under the control of a third party. Yes I need to keep multiple backups and have redundant systems but I am happy to do that. If Apple had not backed away from full encryption of icloud, even when data is at rest, then what I want might have been possible though still, for me, uncomfortable. What most correspondents in this type of discussion are not aware of (or choose to discount) is that for non US citizens, there are much lower thresholds for intrusion into your stored data on US servers- this is the issue that ultimately brought down the 'safe harbor' rules and however they have tried to fudge its replacement, there is still no real solution. I will experiment with trying to eliminate the stuff that really does not need to be same not being transferred and see where that gets me. Basicly I need all my files and email. I use a password app which can be synced fine and anything else can be relatively easily reconstituted. The frustration is that this used to work just fine until about 3 or 4 years ago. (might be a little longer....)

May 23, 2022 5:55 AM in response to MrHoffman

Thanks for you time and trouble in posting. I would look at solutions for a backup where I could keep an archive that have already encrypted on a remote server- that is always a sensible idea. The problem is in keeping a sort of remote time machine type copy that could be shared by two machines, which I don't think can be done. I'll have to keep plugging away at finding a solution that both works and that I feel comfortable with!

May 23, 2022 9:18 AM in response to fred242

fred242 wrote:

Thanks for you time and trouble in posting. I would look at solutions for a backup where I could keep an archive that have already encrypted on a remote server- that is always a sensible idea. The problem is in keeping a sort of remote time machine type copy that could be shared by two machines, which I don't think can be done. I'll have to keep plugging away at finding a solution that both works and that I feel comfortable with!


Synology NAS can purportedly provide this, not that I’ve tried restoring a remotely mirrored Time Machine archive.

May 23, 2022 1:02 PM in response to fred242

Full Disk Access is a fairly new security feature of macOS. It was introduced in macOS Mojave and requires user intervention to grant applications full permission to access "user-protected" files and the assumption is that everything is protected unless the user deems otherwise. This creates a new set of headaches because we now have to think in terms of opening up access rather than restricting access.


In all previous versions of macOS "full disk access" permission was either not required or was automatically granted to all applications during installation. Everything had full disk access from the get-go, no user action required.


I do not believe there is any danger in giving mail apps Full Disk Access. The messages themselves would not be an issue, as they are not executable.

Routinely moving and syncing my complete user folder between 2 macs

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