You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Serious Time Machine bug on Mountain Lion

Some of us have seen a few cases of a pretty nasty problem with Time Machine backups on Mountain Lion.


In the worst cases, the backups could not be used to do a full system restore from recent backups -- they didn't appear on the selection screen that shows only "complete" backups.


Plus, they're not recognized as backups by Setup Assistant or Migration Assistant. They don't even appear on the Select the Source or Select Your System windows.


In those cases, the top-level System, Library, and (hidden) private folders weren't backed-up at all (and in at least one other, Applications as well). But all backups complete normally, and Verify Backups from the Time Machine menubar on network backups, and Verify Disk or Repair Disk via Disk Utility do not show a problem (because what's there is intact; those can't tell what's missing.)



(In addition, we've seen a few threads where backups were unexpectedly large, sometimes all of them, sometimes just some, intermittently. In at least some of those cases, one or more of those folders was getting backed-up in full. We don't know if this is really the same problem, but it sure is suspicious.)



The problem seems to be with the Time Machine preferences file being damaged somehow; the fix is easy -- do a "full reset" of Time Machine, per #A4 in Time Machine - Troubleshooting. It won't change existing backups of course, but new ones should be ok.



However, as we have no clue as to the cause yet, we need to be sure Apple knows about this, in great detail, so I'm asking for some folks who are having these problems, and are fairly comfortable with the Finder at least, and following directions to do other things you may not be so familiar with, to help us collect information and file Bug Reports with Apple before running the fix above (as that will destroy the evidence).


If you're having this problem, and your Mac is still usable, and you're interested, please post back and we'll supply instructions.


If you're having the problem and just want to run the fix, by all means do so, but please don't post back with just a "me, too" post, unless you have something significant to add -- this thread may get long and those won't really help.


But if you're having a different problem, please do not respond to this thread. Start a new one, instead. If you're not sure how to do that, please go to the main Apple Support Communities page; some Tutorials are listed at the right. They'll show you how to get started.

Posted on Jun 4, 2013 6:11 AM

Reply
48 replies

Jun 5, 2013 1:48 AM in response to Pondini

As I posted in related threads, I did have the problem with backups growing much too large when I first migrated my data to a new computer running Mountain Lion. I logged a job with Apple but haven't received a solution. So I think my issue qualifies? is there an easy way to check if my Time Machine backups are recognised as valid backups, without having to boot to an OS X DVD?


I should also mention that my problem started exactly at the time I moved to X.8.3 because that's what my new laptop ran. My problem also went away without me changing any TImeMachine settings - I never reset the TimeMachine system, it just started working again. Not before it had a number of failed backups though, because the backup increased in size by a hundred fold while it was working, so it ran out of space.


Hope that's useful information.


Ivan

Jun 5, 2013 2:20 AM in response to Gilby101

I initially suspected the Microsoft Silverlight install because it had created an ExcludeByPath key with one path /Library/Application Support/Microsoft/PlayReady. After removing it and not touching Silverlight, the exclusiuon of /Applications, etc. recurred. Long ago, but I have kept .plists from that tiome and will send them to you.




I have thought about a possible connection myself to what might have caused my problems (I am one of the two cases mentioned earlier in this thread by Pondini).


When it comes to apps, the only app that I had recently installed when I first dicovered my TM issue was Silverlight, besides from that app I've not installed any apps for a very long time on my computer. So perhaps there could be a connection? Or it's just a coincidence I don't know. I just thought that I should mention this since I haven't thought about the fact that an app could be the cause until I started to read this thread.

Jun 5, 2013 4:05 AM in response to Gilby101

Gilby101 wrote:

. .

I initially suspected the Microsoft Silverlight install because it had created an ExcludeByPath key with one path /Library/Application Support/Microsoft/PlayReady. After removing it and not touching Silverlight, the exclusiuon of /Applications, etc. recurred. Long ago, but I have kept .plists from that tiome and will send them to you.

Ah, great . . well, not great -- no culprit yet, but another piece of the puzzle, and somebody who's been that deep into TM. 😉


Occasionally use BackupLoupe to analyse backups - useful app for many reasons..

Indeed it is.


Use Hazel to copy com.apple.TimeMachine.plist to a folder on my desktop every time it changes and it does change on every TM backup.

Yup, status updates.


I am more concenred about those with the permanent problem and who wouyld not be able to do a full recovery.

Yes, they're the ones in big trouble; I've helped two recover so far, but of course their evidence is gone. No breadcrumbs to follow.


Thanks very much; I see I have an e-mail from someone I suspect is you, with a couple of plists; I'll get back to you either here or by reply . . . may be a while.


Thanks very much!

Jun 5, 2013 4:23 AM in response to ivansky

ivansky wrote:


As I posted in related threads, I did have the problem with backups growing much too large when I first migrated my data to a new computer running Mountain Lion. I logged a job with Apple but haven't received a solution. So I think my issue qualifies?

Yes, I saw your post there, and posted an update there myself last night. I'm far from certain, but your description doesn't seem to fit -- this seems to be a rogue app telling Time Machine to skip one or more entire top-level folders: Applications, Library, System and the (hidden) private.



is there an easy way to check if my Time Machine backups are recognised as valid backups, without having to boot to an OS X DVD?

Yes. Just look at your recent backups via the Finder. See if the top-level folders above are there.


I should also mention that my problem started exactly at the time I moved to X.8.3 because that's what my new laptop ran. My problem also went away without me changing any TImeMachine settings - I never reset the TimeMachine system, it just started working again. Not before it had a number of failed backups though, because the backup increased in size by a hundred fold while it was working, so it ran out of space.

Also doesn't match -- for some users it started before 10.8.3.


Thanks for the update -- sounds like there is, or was, another problem, but at least you seem free of this one.


Let us know if you find anything significant.

Jun 5, 2013 4:29 AM in response to Chr1st0f3r

Chr1st0f3r wrote:

. . .

When it comes to apps, the only app that I had recently installed when I first dicovered my TM issue was Silverlight, besides from that app I've not installed any apps for a very long time on my computer. So perhaps there could be a connection? Or it's just a coincidence I don't know. I just thought that I should mention this since I haven't thought about the fact that an app could be the cause until I started to read this thread.

Hmm. I suppose it's possible some other app, previously installed but not used in a while did it. Seems unlikely, though.


Or an app that was updated.


And it's still possible to be something from Apple.


Thanks for the info. Another puzzle piece.

Jun 5, 2013 4:44 AM in response to Topher Kessler

Topher Kessler wrote:


I perhaps should have been clearer in my explanations, but since nobody ought to be formatting their drives, they should see the system pick up where it left off.

Sometimes they do tend to panic, and those following tend to put more weight into the over-reaction than the original post. Maybe my last overdone BOLDFACE post there will calm them down a bit.


I've never understood why folks get protective of their TM backups. They're not at all permanent, and are not an archive, and can be remade quickly if something goes awry.

True, but to have only one set of backups, and wonder if they're not going to work for a full restore or with Setup/Migration Assistant is a legitimate worry. I helped two in that pickle in the last couple of days; they got their home folders back, but not /Applications or /Library. Scary.

Jun 5, 2013 4:50 AM in response to Gilby101

Gilby101 wrote:

. . .

I initially suspected the Microsoft Silverlight install because it had created an ExcludeByPath key with one path /Library/Application Support/Microsoft/PlayReady. After removing it and not touching Silverlight, the exclusiuon of /Applications, etc. recurred. Long ago, but I have kept .plists from that tiome and will send them to you.

Yes, got them, and it seems very likely that we're looking for some other app that uses the same facility. One of the other plists I got has a single item for a different app listed first; the others follow, just as in yours.


Thanks again!

Jun 5, 2013 5:16 AM in response to Pondini

Back then (last year) I had this problem as well. Every now and then 35GB backups without changing anything. A full reset of TM did not help. At some point though, everything seemed to be normal again until I got a new SSD last week and wanted to make a full restore from TM.

Only backups dated from Dec 2012 and earlier, all 10.8.2 (I have updated to 10.8.3 on the day it was rleased) were found. CCC saved me but I am still trying to find out, whats happening here.

I formatted the TimeCapsule drive and did a fresh backup which seems to have the correct size. As I have no acces to my computer until saturday, I cannot confirm fully. It did not solve the problem though.


I will send you my plist on Saturday. Thank you for digging into this mess with TM.


Unfortunately i don't know at what time i installed sophos anti vir. It is just a feeling but maybe it is related to the problem.

Jun 5, 2013 5:26 AM in response to dape_75

dape_75 wrote:


Back then (last year) I had this problem as well. Every now and then 35GB backups without changing anything. A full reset of TM did not help.

I know it's been a long time, but do you recall if it helped at all? Even briefly?


At some point though, everything seemed to be normal again until I got a new SSD last week and wanted to make a full restore from TM.

Only backups dated from Dec 2012 and earlier, all 10.8.2 (I have updated to 10.8.3 on the day it was rleased) were found.

That does sound like this problem.


I formatted the TimeCapsule drive and did a fresh backup which seems to have the correct size. As I have no acces to my computer until saturday, I cannot confirm fully. It did not solve the problem though.

Were you trying to do a full restore (via the Recovery HD), or had you installed OSX and were using Setup/Migration Assistant?



I will send you my plist on Saturday.

Great! Please include your "dape_75" alias here so I know it's you.


Unfortunately i don't know at what time i installed sophos anti vir. It is just a feeling but maybe it is related to the problem.

Doubtful. But I will check with one of our anti-malware gurus (you might be interested in his site: Thomas Reed's Mac Malware Guide) to be sure.

Jun 5, 2013 9:03 AM in response to Pondini

Pondini: I know it's been a long time, but do you recall if it helped at all? Even briefly?


I believe a TM reset helped for two or three days until intermittent large backup appeared again.


Pondini: Were you trying to do a full restore (via the Recovery HD), or had you installed OSX and were using Setup/Migration Assistant?


Until now I tried almost everything:

1) I used a freshly setup ML installer bootable USB Stick to install 10.8.3 on the brand new SSD, which I replaced for the internal HDD. After installation the Mac reboots and I get to the point where I am asked if I want to get my data fro another mac, or from another disk, or later (sorry for the inaccuracy at this point as I have to recall from my memory and translate from the german dialog). All I get to see are old backups dated December and older. Same with the backups I have on a second external HD other than my TC.


2) I put the HDD back into my Mac, delete my TC with airport utility and made a fresh backup without any exclusions. I did NOT do a full reset of TM as per A4 on your website.


3) I put the SSD back in again and got to the setup assistant. No Backup found


4) I cloned the now external HDD to the now internal SSD and got a running system.


5) Another complete backup without success


I tried a complete restore out of TM backup from the recovery of the bootstick as well from the recovery hd from the SSD and HDD

I tried it via the setup assistant. I tried it with the migration assistent.


I am on my ipad and can't figure out how to quote correctly here. Sorry for that!

Jun 5, 2013 9:16 AM in response to dape_75

dape_75 wrote:

. . .

I believe a TM reset helped for two or three days until intermittent large backup appeared again.

That may actually help us.


It looks like a rouge app, likely 3rd-party, is telling TM not to back up /Applications, /Library, and /System, but in a way that doesn't show on the TM Preferences window. Check your backups for those; if they're missing, that seems to be the problem, and the reset will fix it, at least momentarily.


If they're present on some recent backups, but not others, see if you can pinpoint exactly when it happened, and try to recall anything you might have run at about that time. If it's within the last 24 hours, we might want to see if there's a clue in your logs.


But if there's no change, then your large backups must have another cause. One of the apps in #A2 of Time Machine - Troubleshooting should help.



I am on my ipad and can't figure out how to quote correctly here. Sorry for that!

Sorry, can't help with that - - I don't do Windoze or iDevices. 😝

Jun 5, 2013 11:57 AM in response to Pondini

Update on my situation with 4 Macs. All of them stopped backing up the Application, System and Library files but there isn't an obvious common date/time or application install that I can find. MB number 1 was backing up with no problems to a portable external USB drive which was replaced by a Partition on a much bigger USB hard drive. It made the first large backup on the new drive (Oct 2012) but then between the 23rd of Nov and the 2nd Dec 2012 it dropped the subject folders. MB number 2 was switched from an external hard drive to a partition on the new (same) hard drive at the same time (Oct 2012) but apparently had already had the problem and the first backup to the new drive did not include the subject folders and never did going forward. Note; none of my machines ever resumed backing up the folders. My iMac was connected to a new 2.5TB USB drive in December 2012 and backed up correctly until the day before the issue of OS X 10.8.3 update but it appears to only be a coincidence that it almost coincided rather than a possible cause. The second iMac was connected to a new hard drive in December of 2012 but apparently had already encountered the problem and never backed up the subject folders. Note: none of these machines had ever been set to exclude these folders and in all cases entering Time machine gave access to all the other files which had been properly backed up. All have been reset and have done a correct and commplete backup and I will continue to monitor to try and determine what might cause it to reccur.

Jun 5, 2013 1:21 PM in response to brianvegas

brianvegas wrote:

. . .

there isn't an obvious common date/time or application install that I can find.

Rats. Still looking for a culprit. . .



Note: none of these machines had ever been set to exclude these folders and in all cases entering Time machine gave access to all the other files which had been properly backed up.

Right. What I found in your plist and a couple of others are "Fixed Path Exclusions" that cannot be set by, or seen on, the Preferences window. They can only be set via the tmutil UNIX command.


That's a perfectly legitimate thing for an app to do -- if it has, say, a large cache, it would be good practice to exclude it from hourly backups.


But certainly not the top-level folders!


I wonder if a developer put it in a test version, but forgot to take it out. 😟

Jun 5, 2013 3:49 PM in response to brianvegas

Got before-and-after copies of the plist from one user, and I think I know what happened, if not where.


Among other groups of settings in the plist, there can be IncludeByPath (which I suspect should always be there), and ExcludeByPath. And of course, Apple has an API and a UNIX command (tmutil for those keeping score) that will read/write to the plist.


Neither of those can be set by, or seen on, the TM Preferences window, so you don't know they're there.


A working plist has all the top-level folders listed in IncludeByPath, including some hidden ones. It may or may not have ExcludeByPath.


If an app had, say, a cache that could get large and change frequently, it would be good practice for an app to use that to exclude it from backups. Perfectly sensible.


But in doing that, it looks like the app is reading the wrong array (Include), deleting it, adding the app's file to it, and filing it in the Exclude array. The way the API works, that might be easy to do (if you don't bother to look at the results).


What's really odd is, so far I have plists from 3 users. Each reference different files being added, but have the same results. Makes me wonder if this is somewhere in Apple's code after all.


Gadzooks!

Serious Time Machine bug on Mountain Lion

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