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

zorinlynx

macrumors 603
Original poster
May 31, 2007
5,944
7,991
Florida, USA
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.
 
  • Like
Reactions: Turbolarry

Nermal

Moderator
Staff member
Dec 7, 2002
18,776
1,242
New Zealand
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.
 

zorinlynx

macrumors 603
Original poster
May 31, 2007
5,944
7,991
Florida, USA
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.
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.
 

GGJstudios

macrumors Westmere
May 16, 2008
44,419
768
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.
Time Machine requires that the backup drive is formatted HFS+. Is that the case?
 

zorinlynx

macrumors 603
Original poster
May 31, 2007
5,944
7,991
Florida, USA
Time Machine requires that the backup drive is formatted HFS+. Is that the case?
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.
 

Nermal

Moderator
Staff member
Dec 7, 2002
18,776
1,242
New Zealand
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.
 

GGJstudios

macrumors Westmere
May 16, 2008
44,419
768
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.
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!
 

KenV

macrumors newbie
Jan 19, 2011
4
0
New Braunfels, TX
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.
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)
 

Turbolarry

macrumors newbie
Mar 18, 2018
3
0
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.
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)
[doublepost=1521401541][/doublepost]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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.