Any way to prevent sleep if a Time Machine backup is running?

Discussion in 'macOS' started by zorinlynx, Jan 24, 2011.

  1. zorinlynx macrumors 603

    zorinlynx

    Joined:
    May 31, 2007
    Location:
    Florida, USA
    #1
    It seems that nearly every time I happen to put my machine to sleep for the night while Time Machine is running a backup, I'm greeted the next morning with a "Backup has failed verification" error, which means I lose my entire backup history and it spends hours backing everything up from scratch again.

    Is there anyway to prevent the machine from sleeping if TM is running, or better yet, throw up a "System will sleep when Time Machine is done..." dialog?

    Does anyone else even have this problem? It's quite maddening.
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
  3. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #3
    Hmm. What sort of device are you backing up onto? I can put my computer to sleep while it's backing up and it'll just resume when I wake it, so something's causing it to break for you.
     
  4. zorinlynx thread starter macrumors 603

    zorinlynx

    Joined:
    May 31, 2007
    Location:
    Florida, USA
    #4
    I'm backing up to a NAS. It's Linux/SMB based. Could this be the issue?

    It never even tries to unmount the share when I sleep the machine. By the time it wakes up the next day it's long timed out and it throws a ton of errors in the logs. Next backup attempt, corrupted.

    Other than this, if I'm careful to always check time machine status before sleeping, it works perfectly.
     
  5. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #5
    Time Machine requires that the backup drive is formatted HFS+. Is that the case?
     
  6. zorinlynx thread starter macrumors 603

    zorinlynx

    Joined:
    May 31, 2007
    Location:
    Florida, USA
    #6
    Only if it's a local drive. This is a network-attached drive, so the underlying filesystem doesn't matter. (It's probably ext3fs)

    It uses a sparse bundle containing an actual HFS+ filesystem where the backup takes place.
     
  7. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #7
    I'm backing up to a Windows Home Server and don't have any timeout issues, however there's a little service running on my Mac to handle the connection. It may be pausing the TM backup, reestablishing the connection, then resuming the backup. I'll see whether I can take a closer look when I get home tonight.
     
  8. DirtySocks85 macrumors 65816

    DirtySocks85

    Joined:
    Mar 12, 2009
    Location:
    Wichita, KS
    #8
    I would also recommend Caffeine.
     
  9. dXTC macrumors 68020

    dXTC

    Joined:
    Oct 30, 2006
    Location:
    Up, up in my studio, studio
    #9
    I'll third this. It's a Mac App Store gem, and it's free to boot. The developer could have charged 99 cents and made a killing.
     
  10. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #10
    It was already free before the Mac App Store existed, so I'm guessing they didn't want the negative feedback for suddenly charging for what had already been free. It is a great app!
     
  11. KenV macrumors newbie

    Joined:
    Jan 19, 2011
    Location:
    New Braunfels, TX
    #11
    I've been trying to get get Time Machine to use a D-Link Network Attached Storage drive (the NAS runs Linux) with no success. Would you mind sharing how you got Time Machine to recognize the network drive? So far, no matter what I do, Time Machine won't recognize the NAS.

    Thanks a bunch.

    (I've got an older G5 Mac running OS 10.5.8)
     
  12. Turbolarry macrumors newbie

    Turbolarry

    Joined:
    Mar 18, 2018
    #12
    --- Post Merged, Mar 18, 2018 ---
    Yes, very much so. I've been overwhelmed lately so I don't trememver how my Time Machine was able to back up for the entire duration. I wish I had the time to write down some kind of journal for all the different maintenance and updating of items for both my macs. I know it would help a lot. But you do also have to catalog and organize all this. And I have enough rituals going on in daily life.

    I know there are recommendations to encrypt your back up. I cannot even find where to do that. I am running OS Mavericks even though it's March 2018. The reason being is that I am using Adobe creative Suite 5, and I am in no position to throw away three Comprehensive of virtually all the software adobe mix, particularly since creative Suite 5 it's not like you're still creative class in. Certainly will always have the latest and greatest software, what are you supposed to do with three editions of master collections of creative suite? If these weren't educational editions - still about $1800, we be looking at about $10,000 Street price- I am in no position to throw away, and that's what would happen if my Adobe software. I could probably take it up to OS X Yosemite, but I'm not sure about going later than that.

    My MacBook Pro is 2011, and iMac is OS Lion, and I can't update that any further until I have the time to install lion on my used G4 that I purchased with my original G4 sustained a spike to its power supply even with a surge suppressor. So I would have to install the OS lion 10.7.2 on my G4, set up seven inch CRT monitor, external CD burner drive, network it even though I currently do not have Internet service at my house (thank you Comcast for pulling the plug on me- so I can't use the internet for job search, to pay my back balance), and then I can eat my iMac to the last version of iOS 8 will take which my iMac is from 2009 .

    Back to time machine. How do I encrypt my backups? is it necessary to do. And most of all, how do I prevent this sleep mode from kicking in when I want to simply back up my MacBook Pro overnight ? I've already said no to sleep mode on my computer, and 3 hours got the monitor ?

    Thank you,
    Larry
    Designer58 (at) Comcast (dot) net
     

Share This Page