Restore Apps And Settings After Reformatting HD - not from Time Machine

I have a 2016 MBP with Mojave and the battery life has declined a lot. I booted up this computer when new by restoring from Time Machine from previous Macs. An Apple Genius Bar guy tested my battery and told me that battery is fine. I have to do a complete fresh install and not from TM.


Seems reasonable, I used to suffer through this with Windows almost annually but I've never done it with a Mac. However, I'm hoping that somehow on Macs I can save a lot of reinstall time for apps with custom preferences, settings, and configurations such as the iTunes library and my software development tools (Webstorm, Github, etc).


I know how to reformat and start clean. Done that for selling Macs. That isn't the question.


Restoring the Documents directory is easy, I'm backed up in TM, the cloud, and local network storage.


Questions:


1) For Apple apps such as Mail.app and iTunes can I restore those completely from Time Machine alone and get all my settings and saved emails?


2) For apps I've installed the app files are not only in /Applications but in different places in /Library. Is there some way to salvage all this so I don't have to reinstall everything from scratch and then go through hours of configuring them back to my preferences?

MacBook Pro 15", 10.14

Posted on Feb 7, 2019 11:11 AM

Reply

Similar questions

12 replies

Feb 7, 2019 7:01 PM in response to caljim

App preferences are stored in the /Home/Library/Preferences/ folder. They are called .plist files. Most other app support files are found in /Home/Library/Application Support/ folder in sub-folders named after the app. For certain software some of the data is saved within the app bundle. This all applies to about 90-95% of the apps on the computer.

Feb 7, 2019 1:11 PM in response to caljim

MA will allow you to remove files from the transfer before it begins. Just as tedious as if you did the same thing on your computer using the Finder.


My choice is erase the drive and make a fresh installation of macOS that is clean and working. Restore your files from you backup via Time Machine. Restore your third-party software from scratch using original media. Then you will spend a lot of time reconfiguring everything. Tedious, but the best way in my opinion.

Feb 8, 2019 11:12 AM in response to caljim

Rarely will there be entries at the root level Library, but some apps do place items there such as Microsoft. Those will not work at the user level because the app must have root access for particular functions. It should not take more than a day to get setup, especially if you transfer what you need by simply copying them over. I've done this more times than I can count. Usually, it takes me no more than 5-6 hours. In general how you configure the app is going to be in a preferences file. Application support files are not user-changeable but installed with the app or when the app is first opened.


Apple has handled all of this pretty well. I have no idea what you think should be handled better. As far as the OS is concerned that is all Apple cares about. Third-party stuff is your problem or the developer's problem. It isn't handled by Apple. But Apple does provide a pretty good way of handling its side of the issue. Far better than I've seen in Windows.


In the future you might consider maintaining a bootable clone as a second backup so restoring an entire system - OS and all - can be done in the time it takes restore the clone or replace the drive with drive used for the clone. Furthermore, it is easier to test things on the clone instead of chancing a complete disaster on the main drive.

Feb 7, 2019 11:47 AM in response to Kappy

Thanks Kappy but this doesn't solve the problems. Migration Assistant requires another computer to copy everything from. That is't my situation. Also, Time Machine would do that and the Genius Bar tech told me not to do a TM restore because I would be adding the unwanted files that I'm trying to get rid of. I'm trying to avoid setting up dozens of apps from scratch, a big chore.

Feb 7, 2019 1:31 PM in response to Kappy

Thanks Kappy, not the answer I wanted but probably the right one. My guess is that anything in /username won't affect battery life or CPU speed, just storage, and that isn't a constraint for me with a Mac Mini and two external HD's available on my network.


It would be nice if Apple forced app devs to put all config files in one folder. It would save a lot of trouble for users.

Feb 8, 2019 7:25 AM in response to Kappy

Thanks Kappy. Those files exist at the root level also for some apps but if I can get some to work at the user level that would be a big help. I would love Apple to address this issue better. Sometime in the next month or so I have to plan to lose several days getting setup again. Ugh. If this works as it does in Windows it should make a big difference in performance though.

Feb 7, 2019 12:04 PM in response to caljim

Not so. MA can be used. You will be asked to identify the source. One of the options is a connected Time Machine backup.


There is no simple solution to what you want. You cannot use MA without excluding the files you don't want, but that takes time. In this case neither MA nor Time Machine can accomplish everything you want. I don't know what the Genius told you, but the advice is less than helpful.


If you don't use Time Machine or the Time Machine backup, then from where would all the data come? If you already have the desired setup then why not clone it to the other drive? You can always remove unwanted files afterwards or before cloning. I'd do it before the clone so you have a pared system on both drives.

Feb 7, 2019 12:47 PM in response to Kappy

This is a confusing double negative: "You cannot use MA without excluding the files you don't want".

I think you are saying that I can't be selective about what gets transferred, which is my understanding of MA. With TM I can be more selective but may bring garbage with it that is contributing to the problem. Not sure about this.


The Genius told me to install all the apps new on the clean HD so I get rid of old files. It should give me more storage space, make the Mac faster, and save battery life. My main concern is battery life. There are 6 years worth of residue from deleted apps on my Mac and from previous OS versions.


I can save apps from /Applications plus whatever files from /Library to an external HD and then copy and paste them back in place for the apps I need to spend time to configure. I have a list of about a dozen apps so not a big time sink there.


The issue is there are parts of apps scattered through /Library and maybe somewhere else like dot files in /Home. I'm not sure I can find all the relevant files for each app and was hoping that somehow Mac OS was designed so that the key files are in one place. I don't know what they are for each app. If I reinstall the apps from scratch they will create some files but I want to copy my config files from the external HD to the fresh Mac files without causing chaos. Do all Mac apps put preference and config files in one folder to make this easy or do developers put them wherever they want?

Feb 8, 2019 11:22 AM in response to Kappy

Thank you, interesting idea about the clone.


What I meant by Apple improving this somehow is to enforce a standard folder on apps for configurations. I've never done desktop dev and have no clue if that won't work but it sure would be nice. I found files scattered all over and it isn't clear what can be saved to make setting everything up against easier.


What I would like to do is save the /Applications folders on an external drive and just copy them over to the new setup instating of downloading everything again. I'll go with your suggestions above and see what happens :-)


Yes, Mac OS is vastly better than Windows. This was almost an annual process for me with Windows. I haven't thought of it in the 6+ years I've been 100% Macs. The total cost of ownership, including time, is vastly cheaper with Macs.

Feb 8, 2019 12:24 PM in response to caljim

There are standard folders. In all cases anything stored in the Home/Library folder is unneeded as they will be reconstructed when the app is installed using an installer or when run for the first time if no installer was provided. Only apps that need store something that should not be accessible to a user, such as a registration number, is kept in the root Library or the System Library. The latter is used when only the system admin can have access. The system admin is not the same as an admin user. The former can access anything on the computer anywhere.


You can save Applications anywhere you want. For uniformity, the Unix system always puts Applications in a root directory. This way it's in the same place for and accessible to everyone with an account. However, one can move the Applications folder to another disk or location then provide an alias to the new location in the root location. Thus, anyone looking for an app in the standard location will actually see the apps in the new location. Many people use this trick if they have a small SSD and need to store the apps on another disk such as an external HDD.


When you uninstall software often you must delete more than just the application. This other stuff is found in pretty standard places making it easy to use application uninstaller instead of hunting down everything yourself. See the following. It should give you some idea of what I mean. I put it together to help users when they needed to uninstall manually.


Basics for Uninstalling Software 


Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them at the above location and delete them, too. 


Some applications may install an uninstaller program that can be used to remove the application. If you cannot find the uninstaller then you could download the freeware, Easy Find, to locate files that need to be removed. The places you need to search include: 


  1. /Home/Library/Applications Support/ folder. Check if the application has created a folder then delete the folder that's in the Applications Support folder.
  2. Applications may install a startupitem or a LogIn item. StartupItems are usually installed in the /Library/StartupItems/ folder or the /Home/Library/StartupItems/ folder.  Login Items are set in the Users & Groups preferences.  Open it in System Preferences, then click on the Login Items tab.  Select the item from the list and click on the Delete [-] button to remove it.
  3. Some software use startup daemons or agents.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/. 


Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed. 


There are many utilities that can uninstall applications.  Here is a selection: 


AppZapper

AppDelete

Hazel

AppCleaner

CleanApp

iTrash

AppBolish

AppUninstaller

Uninstaller 


For more information visit The XLab FAQs and read the FAQ on removing software.


Hope this all is informative.

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.

Restore Apps And Settings After Reformatting HD - not from Time Machine

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