Mac Apps

Running out of space on your Time Machine drive? How to exclude folders, files & apps

Is your Mac complaining about the lack of space on your Time Machine drive?

While you could solve the problem by investing in a bigger, better hard drive, you can often save some money by taking a critical look at exactly what you’re including in your Time Machine backups.

Most of the time, you can re-download a significant portion of your Mac’s content from places like the App Store, or third party storage services like DropBox or Google Drive, so if you’re running low on space, then you should prioritize the content that can’t be recovered so easily.

In this article, I’m going to show you how to exclude specific files, folders and apps from your Time Machine backups, so you won’t need to splash out on a new drive. Plus, by reducing the size of your backups, you’ll be able to create themΒ faster and retain them for longer, as Time Machine will be able to squeeze more backups onto your external drive.


What should I exclude?

While it varies from users to user, a good place to start is by excluding some, or all of the following:

  • Content that’s already backed up to an external service, such as iCloud, Google Drive or DropBox, or physical storage, such as a USB drive.
  • Content that you’ve purchased from an online store and can easily re-download at any point, such as iTunes content or Steam games, which are typically stored in ~/Library/Application Support/Steam/SteamApps.
  • Media that you’ve ripped from DVDs or CDs, assuming you still have access to the original discs.

You can easily re-download this content, or copy it back to your Mac in the event of data loss or hard drive failure, so ask yourself: what’s the benefit to includingΒ all of thisΒ in my Time Machine backups?

You may also want to exclude the contents of your β€˜Downloads’ folder, as for most of us this folder is a dumping ground for files we vow to sort through later, only to wind up deleting the next time we need to recover some space on our hard drive.

If you’ve created any virtual machines using a program such as VirtualBox, then you may want to exclude these from your backups, as emulated operating systems tend to be on the hefty side!

Finally, if your Mac includes particularly sensitive content, then this may also beΒ a candidate for exclusion. A Time Machine backup is essentially a copy of your content that exists outside of your Mac’s hard drive, which can be a privacy and security concern for some users.

Check what Time Machine is excluding by default

Even though you can pick and choose specific items to exclude from your backups, Time Machine excludes a list files and folders by default, for example the contents of your β€˜Trash’ folder and caches typically aren’t included in Time Machine backups.

Since you don’t want to waste time manually editing your Time Machine settings to exclude content that’s already excluded by default, you should review exactly what macOS is already leaving out of your Time Machine backups.

Helpfully, macOS generates a text file that lists all the files, folders and apps that Time Machine is already ignoring:

  • Open a new β€˜Finder’ window.
  • Select β€˜Go > Go to Folder…’ from the β€˜Finder’ toolbar.
  • In the subsequent popup, enter the following path:

/System/Library/CoreServices/backupd.bundle/Contents/Resources/

  • Click the β€˜Go’ button.
  • Control-click the β€˜StdExclusions.plist’ file and select β€˜Open with > TextEdit.’

This file lists all the items that Time Machine is currently excluding, in the following format:

<array>
<string>/.MobileBackups</string>
<string>/MobileBackups.trash</string>
<string>/.MobileBackups.trash</string>
<string>/.Spotlight-V100</string>
<string>/.TemporaryItems</string>

While this might look complicated, β€˜String’ is essentially just a technical term for a piece of text, and an β€˜array’ is a list of related strings.

This file also contains comments that provide context for each array, for example: β€œpaths where we need to capture top level folder to restore disk structure, but don’t want to backup any contents.”

Even if Time Machine is including an item in its backups, it may not be including every single piece of content that’s related to this item. For example, iTunes’ cache and your Google Chrome whitelist and blacklist tend to be excluded by default, as all this information can be easily re-downloaded the next time you connect to the Internet.

You can review the list of files that individual programs are excluding from your Time Machine backups:

  • Open a Finder window, and navigate to β€˜Applications > Utilities > Terminal.’
  • Copy/paste the following command into the Terminal window:

sudo mdfind β€œcom_apple_backup_excludeItem = β€˜com.apple.backupd'”

  • Press the β€˜Enter’ key on your keyboard.
  • When prompted, enter your admin password.

The Terminal will now display a list of all your excluded files.

Exclude any folder from your backups

Once you know what apps, folders and files Time Machine is already excluding from your backups, you can start adding to this list:

  • Navigate to β€˜System Preferences… > Time Machine.’
  • Click the little padlock icon in the bottom-left, and enter your admin password when prompted.
  • Give the β€˜Options…’ button a click.
  • To add an item to Time Machine’s β€˜Exclude’ list, select the β€˜+’ button.
  • Navigate to the file, folder or application that you want to exclude from your backups, and then click β€˜Exclude.’ Note that if you select a folder, then the entire contents of that folder will be ignored, so if you wanted macOS to exclude all applications from your backups, then you’d simply need to select the β€˜Applications’ folder and then click β€˜Exclude.’

  • As you add items to this list, Time Machine will attempt to estimate the size of subsequent backups, so keep an eye on the β€˜Estimated size….’ value.
  • Once you’re happy with all the items you’ve selected, click β€˜Save.’

Resume backing up items

If you change your mind and want to resume including an app, folder or folder in your Time Machine backups:

  • Navigate to β€˜System Preferences… > Time Machine.’
  • Give the β€˜Options…’ button a click.
  • Select the item you want to include in your Time Machine backups, and then click the little β€˜-’ button.
  • Click β€˜Save.’

Monitor the size of your backups

If you’re concerned that the size of your backups might spiral out of control again, then Time Machine can notify you whenever an old backup is deleted. Since old backups get deleted to make room for newer ones, this notification provides an indication about just how quickly your external drive is filling up. If the time inbetween these notifications is shrinking, then this usually means the size of your backups is on the rise.

To enable this feature:

  • Navigate to β€˜System Preferences… > Time Machine > Options.’
  • Select the β€˜Notify after old backups are deleted’ checkbox.
  • Click β€˜Save.’

Before you go

After spending over 20 years working with Macs, both old and new, theres a tool I think would be useful to every Mac owner who is experiencing performance issues.

CleanMyMac is highest rated all-round cleaning app for the Mac, it can quickly diagnose and solve a whole plethora of common (but sometimes tedious to fix) issues at the click of a button. It also just happens to resolve many of the issues covered in the speed up section of this site, so Download CleanMyMac to get your Mac back up to speed today.

mac-pc

About the author

Chris

I've been a passionate evangelist for Apple and the Macintosh throughout my working life, my first love was a Quadra 605 working with a small creative agency in the south of Norfolk UK in the mid 1990's, I later progressed to other roles in other Macintosh dominated industries, first as a Senior graphic designer at a small printing company and then a production manager at Guardian Media Group. As the publishing and printing sector wained I moved into Internet Marketing and in 2006 co-founded blurtit.com which grew to become one the top 200 visited sites in the US (according to Quantcast), at its peak receiving over 15 million visits per month. For the last ten years I have worked as an Affiliate and Consultant to many different business and start ups, my key skill set being online marketing, on page monetisation, landing page optimisation and traffic generation, if you would like to hire me or discuss your current project please reach out to me here.

You can also follow me on: and

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.