Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: How to abort a stuck Time Machine backup System 10.5
Sometimes you just need to stop that Time Machine backup, whether it's because it's slowing down your computer and you need it to be very fast right then and want to backup later, or because Time Machine is not working (as is happening to me right now).

Sometimes just clicking Stop Backup item in the menu bar or System Preferences panel doesn't work (as is happening to me right now). If that's the case, you can turn to Terminal to stop it immediately. (You can also do this from Activity Monitor, but it takes longer and is trickier).

Once you've opened up Terminal (in Applications » Utilities), you can use the killall command to kill the process backupd, which is the Time Machine process. However, the process backupd is owned by root, so you need to run killall with root permissions via sudo: sudo killall backupd Type in you password when prompted, and Time Machine will instantly stop. This is handy if Time Machine is broken and not working.

[robg adds: I wouldn't recommend using this hint unless Time Machine is really and truly stuck -- killing the process means that it won't get a chance to nicely finish whatever it was trying to do. In some cases, depending on what it's actually doing, you may endanger your backups. With that said, I have had TM get stuck (typically at the "Finishing backup" step) for literally hours, and have eventually resorted to killing the process to get it to stop.]
    •    
  • Currently 2.82 / 5
  You rated: 3 / 5 (11 votes cast)
 
[49,605 views]  

10.5: How to abort a stuck Time Machine backup | 9 comments | Create New Account
Click here to return to the '10.5: How to abort a stuck Time Machine backup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to abort a stuck Time Machine backup
Authored by: Frett on Jan 07, '09 08:22:44AM

In my experience I've found that when time machine gets stuck backing up restarting the metadata indexing service will cause time machine to gracefully stop the backup.

to restart the service run the following 2 commands from terminal:

sudo service com.apple.metadata.mds stop
sudo service com.apple.metadata.mds start



[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: Paul Burney on Feb 13, '09 07:59:25AM

This worked for me when my TM backup was stuck for weeks at 14KB of 17GB. Thanks so much!



[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: edbolson on Dec 10, '09 02:14:10PM

This should be upgraded to be the actual hint! Worked great for me (still on 10.5).
sudo service com.apple.metadata.mds stop
sudo service com.apple.metadata.mds start



[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: Biker on Jan 07, '09 08:54:12AM
Why not using the TM preferences and click on the little crossbutton?

http://h4xr.org/3h5u

[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: hamarkus on Jan 07, '09 03:38:38PM

Clicking that cross button is the same as selecting 'Stop backing up' from the menubar. This hint is for those situations where neither has any effect anymore.



[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: hankk on Jan 07, '09 09:27:04AM

Two (probably) safer ways to kill a stuck Time Machine process, both of which have worked for me:

1. Eject the disk being backed up (click on desktop icon and Cmd-E -- you can't do it from a Finder window). Do this a few times, and hit TM's cancel button a few times, and eventually TM will give up.

2. Just logout. This kills the process as well.



[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: bruinslacker on Dec 03, '09 11:30:40PM

Myt backup was stuck on "calculating changes" for several hours. Stopping and starting the metadata program worked for me. I got an error in terminal when I used the commands posted above.

"service: This command still works, but it is deprecated. Please use launchctl(8) instead."


I suppose this is the new command that is preferred in Snow Leopard. Just FYI. Thanks for the tip!



[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: HNDavid on Apr 14, '10 07:27:20AM
Running Time Machine on a 10.6 server (which, if I had any sense, I wouldn't, because it's so unreliable), I've developed this script to send me a nightly report about the backup status, and to restart Time Machine if necessary: http://gist.github.com/349381

[ Reply to This | # ]
10.5: How to abort a stuck Time Machine backup
Authored by: Monique. on Feb 22, '13 05:15:37AM

Help help help!!! I did as was suggested here in the comments section, an entered " sudo service com.apple.metadata.mds stop
sudo service com.apple.metadata.mds start " into Terminal. Thought it was worth a try and seemed to work for others. I'm a complete newbie to all things Terminal techie related.

Now all Terminal spits back at me is :
NO LOGINS: System going down at 22:41

Login incorrect
login: sudo service com.apple.metadata.mds start
Login incorrect
login: Login timed out after 300 seconds

[Process completed]

Can anyone tell me what I should do??!
(Time Machine is still stuck in a rut ('Waiting to backup' and 'Stopping backup' at the same time, for days now) and my computer is running flat out with hardly any applications open.)



[ Reply to This | # ]