What folders can be safely excluded from Time Machine backup?

I want to know list of folders that can be safely excluded from Time Machine backups while ensuring that full restore can get me a same machine running immediately.

The reason why I want to do this is because Time Machine will backup all the files no matter what it contains. So far, I’ve excluded these paths from my backup:

~/Library/Caches
~/Library/Logs
~/Downloads

Caches and Logs don’t need to be backed up because they’re generated when needed. I’m also excluding ~/Downloads folder because those files are usually stored temporarily.

Is there any more folders that I can exclude? What is your Time Machine’s exclusion rules?


Solution 1:

The simple answer is to exclude any files that you create or download that you won't need for a restore (this includes files that you're able to re-download or restore/rebuild from another source if necessary).

Time Machine does not actually backup everything. On the contrary, by default it is configured intelligently to exclude folders like ~/Library/Caches, ~/Library/Logs and many others that are temporary in nature, can be rebuilt from available data and are not required during a system restore. Adding these folders to your exclusion list is not necessary and is redundant.

The default list of files and folders that Time Machine excludes from its backup is listed in /System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist. You can verify that the caches and logs folders are in this exclusion list.

For more information, see:

  • What should I exclude, and what should I not exclude?.
  • How can I find exactly what files are included in my last Time Machine backup?
  • On OS X, what files are excluded by rule from a Time Machine backup?

Personally, I exclude two kinds of folders:

  1. Folders that contain temporarily used files that I can get from another source if I need them.
  2. Folders containing large files that may change frequently. For example, large media files that I may add and delete often are excluded from Time Machine because they would fill up the backup disk very quickly. Those are, however, covered in a full disk clone (that I manage with a limited backup of older files).

Solution 2:

If you're using services such as Dropbox and Google Drive, then it's safe to exclude these from the Time Machine backups since they will be retrieved from the Internet in case you need to recover your system.