cheeseb

Q: 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

Close

Q: Time Machine not doing hourly backups on El Capitan

  • All replies
  • Helpful answers

first Previous Page 3 of 6 last Next
  • by SBeattie2,

    SBeattie2 SBeattie2 Nov 23, 2015 5:07 PM in response to lkrupp
    Level 2 (185 points)
    Servers Enterprise
    Nov 23, 2015 5:07 PM in response to lkrupp

    Apple sent a notification today that my bug is a duplicate of another bug and my issue will be closed.  Unfortunately they do not indicate whether the other bug report has fixed the problem.  We will have to wait and see - thus there could be some validity to the reports that the 10.11.2 beta corrects the problem.  At least we have several acceptable workarounds here - while we wait.

     

    ~Scott

  • by R C-R,

    R C-R R C-R Nov 24, 2015 5:11 AM in response to SBeattie2
    Level 6 (17,685 points)
    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.

  • by SBeattie2,

    SBeattie2 SBeattie2 Nov 26, 2015 11:15 PM in response to R C-R
    Level 2 (185 points)
    Servers Enterprise
    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

  • by SBeattie2,

    SBeattie2 SBeattie2 Dec 5, 2015 6:27 AM in response to lkrupp
    Level 2 (185 points)
    Servers Enterprise
    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

  • by lkrupp,

    lkrupp lkrupp Dec 5, 2015 7:34 AM in response to R C-R
    Level 5 (4,250 points)
    Mac OS X
    Dec 5, 2015 7:34 AM in response to R C-R

    Why couldn’t one just trash the modified .plist file and let the system recreate the default before updating?

  • by R C-R,

    R C-R R C-R Dec 5, 2015 10:45 AM in response to lkrupp
    Level 6 (17,685 points)
    Dec 5, 2015 10:45 AM in response to lkrupp

    lkrupp wrote:

    Why couldn’t one just trash the modified .plist file and let the system recreate the default before updating?

    You could, but that would also erase any Time Machine preferences you had previously set to anything other than the default values, like items excluded via the Privacy pane.

  • by db24401,

    db24401 db24401 Dec 5, 2015 11:29 AM in response to SBeattie2
    Level 3 (884 points)
    Desktops
    Dec 5, 2015 11:29 AM in response to SBeattie2

    SBeattie2 wrote:

     

      Hopefully somebody that is following this thread can confirm that the 10.11.2 beta will actually fix the problem.

     

    ~Scott

     

    My MBP running 10.11.2 Beta 5 does do the hourly backups.

  • by SBeattie2,

    SBeattie2 SBeattie2 Dec 5, 2015 6:21 PM in response to db24401
    Level 2 (185 points)
    Servers Enterprise
    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

  • by SBeattie2,

    SBeattie2 SBeattie2 Dec 5, 2015 6:35 PM in response to lkrupp
    Level 2 (185 points)
    Servers Enterprise
    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

  • by rj-vlj,

    rj-vlj rj-vlj Dec 9, 2015 2:50 PM in response to cheeseb
    Level 1 (4 points)
    Dec 9, 2015 2:50 PM in response to cheeseb

    On iMac (Mid 2010) with 10.11.1 (clean install) and APC UPS I got the same problem with the hourly Time Machine backups.

    Now I upgraded to 10.11.2 -> New problem with plugged APC UPS: iMac hangs on startup (50–60%).

  • by Hersco,

    Hersco Hersco Dec 9, 2015 3:04 PM in response to rj-vlj
    Level 2 (277 points)
    Mac OS X
    Dec 9, 2015 3:04 PM in response to rj-vlj

    Upgraded to OS 10.11.2 on my Late 2015 iMac and UPS/USB problem with Time Machine is fixed. Automatic backups work now. Not having any startup issues.

  • by EVLMedia,

    EVLMedia EVLMedia Dec 9, 2015 5:08 PM in response to Hersco
    Level 1 (0 points)
    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.

  • by SBeattie2,

    SBeattie2 SBeattie2 Dec 9, 2015 7:23 PM in response to EVLMedia
    Level 2 (185 points)
    Servers Enterprise
    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

  • by lkrupp,

    lkrupp lkrupp Dec 9, 2015 7:16 PM in response to EVLMedia
    Level 5 (4,250 points)
    Mac OS X
    Dec 9, 2015 7:16 PM in response to EVLMedia

    Then you have a completely different issue than the one being discussed here. Take a look at Time Machine logs using the Console app. in the Utilities folder.

  • by SBeattie2,

    SBeattie2 SBeattie2 Dec 9, 2015 7:44 PM in response to rj-vlj
    Level 2 (185 points)
    Servers Enterprise
    Dec 9, 2015 7:44 PM in response to rj-vlj

    rj-vij - on all of my 10.11.1 clean installs (on Mac Desktops with APC UPS's) - I also did an SMC reset.  Have you tried an SMC reset? 

first Previous Page 3 of 6 last Next