Time Machine not doing hourly backups on El Capitan

I noticed on Oct 21 that my Time Capsule had not performed an automatic hourly backup of my Mac Pro since Oct 17. Time Machine Preferences said it would perform an hourly backup at a stated time less than an hour in the future. However, I tracked it over the next 24 hours and saw that it kept advancing the scheduled hourly backup by about an hour but did not actually perform any of the promised hourly backups. I went into Time Machine itself and confirmed that none of the hourly backups were present, and I also examined the backup disk in the Finder with the same result. I ran a full backup yesterday, and that worked correctly, but automatic hourly backups are still failing silently. Holding down the Option key while opening the Time Machine menu in the menu bar, I ran Verify Backups and got a report from Console.app that "Backup verification passed!" I filtered the Console log on "backupd" and found that, although backupd reports when I verify backups, there is no hint that backupd has tried to perform any automatic hourly backups.


I also examined my MacBook Pro, and it is experiencing the same failure. I ran a full backup of the MacBook Pro, and that worked correctly. The automatic hourly backups continue to be promised but never happen.


Googling the problem, I found similar reports here: <http://apple.stackexchange.com/questions/210832/why-doesnt-time-machine-do-sched uled-backups-after-my-yosemite-el-capita…>. These reports indicate that people have tried all sorts of remedies, including completely removing the Time Machine backups volume and starting over again, without success. The problem reportedly affects external backup disks as well as Time Capsules like mine. The problem started for me days before I installed OS X v10.11.1 on these two machines, so the problem apparently began in OS X v10.11.0 El Capitan.


My wife's MacBook Air is on the same network, but it is still running OS X v10.10 Yosemite -- and her automatic hourly backups are working correctly to the same Time Capsule. Her Console log shows several messages every time an hourly backup begins and proceeds. So the problem was clearly introduced in El Capitan and must be a bug in the new operating system.


This is on my home network. Both of my Macs are wired into the network using Ethernet cabling built into my home. My wife is running on wi-fi so she can easily move her Mac around the house. I am confident that this problem does not point to the Ethernet network as the culprit, however, because I am able to move all manner of files from Mac to Mac, examine the contents of the Time Capsule disk in the Finder, download files over the Internet and surf the Internet, all over the wired network through the Time Capsule without difficulty.


This is an urgent and critical problem, because most users rely on Time Machine for automatic hourly backups and, like me, can go for days without checking to make sure it is still working.

Mac Pro, OS X El Capitan (10.11.1)

Posted on Oct 23, 2015 4:40 AM

Reply
81 replies

Nov 24, 2015 5:11 AM in response to SBeattie2

SBeattie2 wrote:

For those interested in trying the "defaults write" solution - here it is ...

For completeness sake, to return the preference file to its previous state, removing the "RequiresACPower" key/value pair, you should be able to use this:


sudo defaults delete /Library/Preferences/com.apple.TimeMachine RequiresACPower


You might want to do that prior to applying the next El Capitan update, just in case it has some undesired effect, or just to see if the update itself adds that key. The defaults read command will tell you if the key exists after the update. You can reapply it again if needed using the defaults write command. As always, be careful when using Terminal commands, particularly sudo ones, to make sure the command is entered correctly. It is very important not to omit any spaces.

Regarding undesired effects, the only thing I can think of is if RequiresACPower is set to false, a Time Machine backup might occur when the power is out & the Mac (& probably the TM backup drive) would be powered by the UPS. If the UPS battery runs down during the backup, it might leave the backup drive in an unusual state. I think it could probably recover on the next backup, but I'm not sure about that.

Nov 26, 2015 11:15 PM in response to R C-R

The delete option is a good catch. Although I didn't feel that it was necessary - but you never know. Thanks for providing it. My thinking is that the primary purpose of a UPS is to shutdown the mac cleanly - while the UPS still has sufficient power to perform that task - more so than to keep the Mac up and running during a power outage. Most likely the external backup drive is also on UPS power. The UPS would force the Mac to do a clean shutdown when the battery remaining (or time remaining) falls below a set threshold. The Mac would begin shutdown operations and force the Time Machine backup to abort (cleanly) before the Mac would shutdown. The drive would continue to be powered by the UPS until the ups battery runs out completely. Upon restart and subsequent run of TIme Machine - the aborted backup would most likely be recovered and/or started over by Time Machine. Keep in mind that a much harsher abnormal termination occurs quite frequently on Mac portables and Time Machine recovers successfully (at least from all of my prior observations. If it did not recover - there would be a very large group of Mac portable users with corrupt backups - and then Time Machine would be deemed unstable resulting in nobody using it..


This bug is an unfortunate problem impacting a critical backup process that typically should not be tinkered with in an unconventional manner. The fix - unfortunately has equal ramifications and side effects specific to each Mac installation. It requires careful thought to implement as well as observation and validation after implanting the fix. I would expect that someone who is willing to implement the workarounds in this discussion - is also going to use some level of diligence to determine if the fix is suitable for their specific configuration - and not just blindly implement the "fix"..


~Scott

Dec 5, 2015 6:27 AM in response to lkrupp

Apple has updated my bug report with a note indicating that this problem has been addressed in the 10.11.2 beta. They did not provide any further details. Unfortunately I cannot test the 10.11.2 beta myself - as I am only having the problem on my late 2012 Mac Mini Server and I don't have the original 10.11.(0) installer to reproduce the problem elsewhere. Hopefully somebody that is following this thread can confirm that the 10.11.2 beta will actually fix the problem.


~Scott

Dec 5, 2015 6:21 PM in response to db24401

db24401 - Since you are on a MBP - you will need to ensure that you have "unchecked" the option in time machine preferences to "Allow Backups While on Battery" - otherwise you aren't actually doing a valid test of whether 10.11.2 beta has fixed the problem ... and ... you also had to previously have the problem (which occurs only for people who updated from Yosemite to El Capitan using the original 10.11 update). Users that upgraded from Yosemite using the subsequent 10.11.1 version - would not have encountered the problem. Also - the current 10.11.1 release "will NOT" fix the problem created by the 10.11 original El Capitan. A clean install of 10.11.1 (and presumably 10.11.2 beta) - however- also avoids the problem.


Can you confirm that you meet all of these conditions before saying that 10.11.2 beta actually fixes the problem?


~Scott

Dec 5, 2015 6:35 PM in response to lkrupp

iKrupp - The problem is not with the plist file. There is actually nothing wrong with the plist - the problem is elsewhere - however - the line added to the plist file (mentioned earlier in this thread) - is tricking Time Machine into thinking it can run while on battery - and normally desktop Macs do not have this line in the plist file. Seems that the problem is with Time Machine querying the power state (when a battery is present - either in a Mac Portable - or Desktop with a UPS) - and thinking the Mac is running on battery when it actually running on AC power. Could be something as simple as a permission issue somewhere - just a guess. You will also notice similar behavior with File Vault encryption pausing on a desktop when a UPS is present - because it thinks it is running on battery. The File Vault pause issue is only on Desktops and not portables - and is actually NOT corrected by 10.11.1 (even a clean install) - it's a similar problem - and a separate bug. As stated by R C-R - you can in-fact trash the time machine plist file - and it will recreate - and you will have to re-do your time machine config - and it will not fix the backup issue.


~Scott

Dec 9, 2015 5:08 PM in response to Hersco

I just upgraded to 10.11.2 and I still have the same problem as before. Backup disk shows as a normal disk on desktop, automatic backups no longer happen, no problem initiating it manually. I do have a UPS but "enable/disable backups when on battery" does not show up in my Time Machine options.

I tried SBeattie2's thing and while it reported successful editing, it did not fix anything.

Dec 9, 2015 7:23 PM in response to EVLMedia

Hi EVLMedia - I am about to apply the 10.11.2 update to my one remaining MacMini that is having the problem. This machine is using an APC BackUPS XS 1500 (although I believe the UPS brand is irrelevant here). I had to undo my plist fix - first - and reboot to ensure that I could get the problem to reappear - and I did. The "allow backups while on battery" option only appears in Time Machine preferences for Mac portables (e.g. MacBook Pro/MacBook Air - where there is a built in battery present).


If you did my suggested plist fix correctly - and you completely shutdown and rebooted with the UPS cable attached - it should have allowed your backups to run. Keep in mind - the plist fix typically doesn't kick in until the 2nd hourly backup time is reached and the backup should begin running hourly at that point. For some reason - after making the plist change - the first hourly backup seems to be skipped - and then everything is fine after that. If you are making a determination by watching only for the first hourly backup to run - that is not a valid indication of the problem having occurred. I think you will see it start up after the second cycle. Since you have already update to 10.11.2 - I would say to remove the plist fix - reboot - allow the machine to run beyond the first two expected hour backup times - before determining success or failure.


The most efficient way to make the plist fix (if 10.11.2 doesn't fix the problem) is to use the defaults write command - no need to manipulate the plist file manually. The link below shows that particular post within this thread. I want to point out that other people (in my circle of acquaintances) have used the plist fix and it has worked for them - I have not received any reports of it not working. But supposedly with 10.11.2 - this should not be necessary.


Re: Time Machine not doing hourly backups on El Capitan


Also - have you attempted to completely shutdown your UPS using its power button - removing the UPS data cable from the Mac - and then performing an SMC reset. Keep in mind - if you boot the Mac without the UPS data cable attached - and then attach the UPS data cable post-boot - the backup problem does not occur - until the next reboot with the cable in place.


~Scott

Dec 9, 2015 7:49 PM in response to Hersco

Hersco - Over the course of time that this thread has been going on - I have seen a few circumstances where a reboot - with the UPS data cable attached - does not encounter the backup problem - and I am not sure if it has anything to do with actually physically powering down the UPS. However - the problem inevitably returns on a subsequent reboot. Can you confirm that 10.11.2 has truly fixed your problem by doing at least two more reboots? Unfortunately it may take quite a few hours of watching the backups to ensure that they are in-fact running hourly - and also not checking until after the second expected hourly backup has passed it time to run.


~Scott

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Time Machine not doing hourly backups on El Capitan

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