6

I know that Time Machine and various backup softwares can be used to save some or all Mac data.

However, if I don't want to use any of them and simply copy data to an external hard drive, which folders should be saved?

The only list of suggested folders to backup that I found is this one:

  • Macintosh HD/Users/ : users data
  • Macintosh HD/Applications : (optional) applications
  • Macintosh HD/Library/ : (optional) some applications preferences

Is this accurate or is there any other folder that should be copied ?

  • 1
    It all depends. I have quite a few installed and configured/built processes in /usr/local/, which would be a pain to do over. – Redarm Aug 8 '18 at 11:56
2

Like most things in life, I think it depends :-)

At one extreme, you might want to back up absolutely everything, so that in the case of a disk failure you can restore to precisely where you were: every app, file, setting, configuration, &c.  This isn't really practical to do manually.  (It'd need root access, knowing exactly which vm/cache files to exclude, what to sync first, &c.)  I use Carbon Copy Cloner and SuperDuper! to create clones, and Time Machine for incremental backups.

At the other extreme, you might only want to back up the most irreplaceable files (e.g. documents and/or photos).  This should be easiest, but will of course require the most work in the case of a failure (re-downloading and reinstalling apps, re-setting up all the config, &c).  For this, you'll know where the files are; it's easy to drag them to another drive.

For something in the middle, it depends what you might have changed and how much effort you want to put in…

I think the question has already given the three most important areas: if you back up /Users, /Applications, and /Library, then you'll probably include all the important stuff for most people.

If there's anything vital elsewhere, then you'll probably know about it, because you'll have set it up yourself!  Examples might include: programs you've compiled and installed in /usr/local (or got Homebrew &c to do for you); hosts file entries you've added to /etc/hosts; directories you've created under /; locales you created in /usr/local/share/locale; daily/weekly/monthly scripts you created or linked under /etc/periodic/; a message-of-the-day you wrote to /etc/motd; and so on.  (If you've disabled System Integrity Protection, you could even write under /bin or /usr/bin…)

Also bear in mind that apps, drivers, and anything else that's not plain data will need care to preserve user, group, permissions, ACLs, &c; most external filesystems won't fully support all of those.  And you may need root access to back up and/or restore some things.  All in all, it's much easier to leave it to a dedicated program!


Finally, this is a good opportunity to remind everyone of the importance of backups.  There's no single correct strategy; everyone's needs are different.  But please think about what would happen if a disk died, and do as much or as little as you need to prevent that becoming a disaster.

  • Thank you ! I accepted your answer as it's more detailled than the @Maximus one and take multiple cases into account. Also I liked your introduction sentence and your final reminder. – Michaël Polla Aug 24 '18 at 18:10
7

The /Users folder is the most important, thats where all your personal data is kept.

The items in /Applications folder can always be re-downloaded but won't hurt to back them up too. Pay special attention to the apps that can't be easily obtained by downloading from the Mac App Store or from their web-site, like older version of app, an app no longer available from the developer/publisher or a self build app.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .