12

I shuffled my home directory around and moved it back to my spinning platter drive in my MacBook. Ever since, Time Machine has been running my machine hot (the fan comes on when Time Machine starts up) and the backup data size estimates shown by Time Machine in the menu bar are huge. Many gigabytes.

Big Time Machine estimate

But when I inspect the completed backups with BackupLoupe the actual backup size is very, very small.

BackupLoupe showing the small backup size that resulted

This wouldn't bother me so much if it weren't for the fact that Time Machine runs my machine very hot when it runs, occupies a fair bit of CPU and takes a good 20-30 minutes to complete the hourly backup run now.

My complete exclusion list for Time Machine is currently:

~/Library/Application Support
~/Documents/Virtual Machines.localized
~/Virtual Machines

Update 1:

I excluded ~/Library/Application Support on a hunch that it might be time stamp issues on cache files that end up having no change in in their bits. But TM is still saying it's backing up >2 GB of data.

Update 2:

Ultimately I'd like to trim the amount of time Time Machine spends running on my machine. Currently it's spending upwards of 30 minutes every hour spinning on these backups.


Why is Time Machine's reported effort in the tool bar so much higher than the actual backup contents as reported by BackupLoupe? Is one of them wrong? Which one?

How can I help guide Time Machine in it's estimate of what needs to be backed up so it doesn't have to work so hard?

0

4 Answers 4

5
+100

Time Machine uses FSEvents to determine what has changed, which is based on folders rather than files. Hence, I've always assumed that the larger number indicates the total size of the folders it has to process. Next, within each folder it will evaluate each file. (In 2008, some wrote "Time Machine considers two files to be identical if their path and dates and size are the same", so some changes might even go unnoticed. But that's another story.)

If many files in a large folder have not changed, then the total number to actually back up is much lower, but Time Machine does not know until it has processed those. Note that files might have the extended attribute com.apple.metadata:com_apple_backup_excludeItem set, or might be excluded by Apple's factory settings, implying they won't be put on the backup. See Does Apple's Time Machine app really copy everthing on Super User.

(So: I guess you need to find large source folders that are small on the backup. Tools like Disk Inventory X or GrandPerspective could indeed show large folders, like in /private/var. Might be easy to compare that to the few folders on the backup?)


Now that I think of it years later: seeing the size of my Downloads folder, I doubt that it's (always) showing the folder size in the amount of data it's going to back up. Downloading another small file does NOT make Time Machine claim it needs to back up the full size of that Downloads folder. (And yes, that folder is on my backups.)

7
  • This is helpful and gives me a place to look thanks.
    – Ian C.
    Commented Jul 26, 2012 at 12:39
  • Okay, so nothing in the logging in Console? And tools like Disk Inventory X or GrandPerspective might indeed show large folders, like in /private/var. Might be easy to compare that to the few folders on the backup?
    – Arjan
    Commented Jul 26, 2012 at 14:39
  • Nothing in Console. I'll take a look at things with a disk inspector.
    – Ian C.
    Commented Jul 26, 2012 at 14:51
  • Combining DaisyDisk and BackupLoupe I was able to close the loop on this problem. Thanks for the guidance. Indeed: if I add up the size of the directories that were backed up I get the multi-GB estimate Time Machine is showing me. It must have to compare all the files in those directories to find the truly changed files and backup only those. So Time Machine's estimates are way off of reality because the directories where changes are occurring happen to have a lot of files that add up to a fairly large amount of space. Question ANSWERED!
    – Ian C.
    Commented Jul 27, 2012 at 0:24
  • Enjoy that bounty. :)
    – Ian C.
    Commented Jul 27, 2012 at 0:26
3

A couple of suggestions that may or may not help; firstly take a look at this app, TimeTracker, it shows what was backed up and, most importantly, its size, in TM. A bit like the app in the screenshot you provided, but for TM.

A guy on a forum post I found said something about an Office identity being the problem, and it was also suggested that Virtual Machine swap files may be an issue as well. I don't think either of these folders will be located in Application support, hence why the massive backups will still happen, if they are to blame.

Hopes this helps to shed some light on the mystery!

5
  • Updated with my exclusion list. I'm not including Application Support and anything for my VMs. I do use Office though. Where would I find the identities if not under Application Support?
    – Ian C.
    Commented Jul 25, 2012 at 18:29
  • I don't think TimeTracker works on Lion. Or at least: it doesn't like my remote backup drive I'm using. It says it has insufficient permissions to view the sparsebundle, but the permissions are most certainly okay.
    – Ian C.
    Commented Jul 25, 2012 at 18:55
  • Hmm, seems TimeTracker is broken on Lion as it is, no updates been issued. Anyway, Identities folder is User Home > Documents > Microsoft User Data > Office 2008/2011 Identities.
    – Ali
    Commented Jul 25, 2012 at 20:22
  • FWIW I don't use Entourage. Just a bit of Excel and Word and the very rare PowerPoint. Nothing in my identities folder has been updated since May 2011.
    – Ian C.
    Commented Jul 25, 2012 at 20:31
  • What do you mean by "but for TM"? That's what BackupLoupe shows.
    – Barmar
    Commented Aug 2, 2020 at 19:03
1

I do not have an answer directly to your question about the difference in reported sizes as I am not familiar with backupLoupe.

But when faced with a similar situation I chose to have the Time Machine backups run less frequently.

In terminal enter the following command:

sudo nano /System/Library/LaunchDaemons/com.apple.backupd-auto.plist
  • Use your arrow keys to navigate to the field that says number of seconds

  • Change the number (default is 3600) to your desired time (in seconds)

  • To save the file, press Control + O, then hit enter to save it.
  • Lastly, press Control + X to exit nano (unix text editor) and close terminal.
  • Rebooting your computer will make these changes take effect

Source: http://hangoutjunkie.com/how-to-change-time-machine-backup-frequency/

Remember that if you use this method you have fewer saved states from which you can pull from if you need to restore a file.

Hope this helps.

2
  • Thanks for the tip on running the TM backups less frequently. That's helpful.
    – Ian C.
    Commented Jul 25, 2012 at 18:26
  • I don't appear to have enough reputation to comment on your questions to Alistair below. So I post here in response… Older versions of Entourage did not work well with TimeMachine. The entire mail database was backed up every time. The latest Entourage and now Outlook are better about this. The database can be found in ~/Documents/Microsoft User Data/XX Product Name Identities
    – AllInOne
    Commented Jul 25, 2012 at 19:56
1

Believe it or not, time machine runs without an external hard drive present. It has a local cache (called Local Snapshots) which it backs stuff up on and then syncs that to the disk.

enter image description here

Apple says the following:

When you enter the Time Machine browser (used to restore data), local snapshots will appear on the timeline along with regular backups distinguished by different colors. Gray tick marks represent local snapshots and pink tick marks represent backups stored on your external backup disk or Time Capsule. Note: Pink tick marks will be dimmed if your portable computer is not connected to your external backup disk or Time Capsule.

More can be read on Time Machine and local snapshots: http://support.apple.com/kb/HT4878

The large amount of items could be history for days OR even things you recently deleted. Let it finish once, then the next time it should be less.

2
  • "Let it finish once, then the next time it should be less." That's the problem: it's never less. Even when I know it should be. All my snapshots are remote snapshots. Nothing shows as being a local snapshot in my Time Machine restore view.
    – Ian C.
    Commented Jul 26, 2012 at 12:38
  • How interesting. I'd actually contact Apple on that one, I don't know the intricacies of how this tool works. Maybe the HDD is failing and it keeps having to redo work? Commented Jul 26, 2012 at 21:53

You must log in to answer this question.

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