Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I upgraded my MacBook Pro to Lion and one of the problems I've had is that Time Machine keeps running and running, and the fans go on.

This usually seems to be in the state where it indexes the backup.

This is to a Time Capsule, there is about 90 Gb left on the drive. I am connecting wirelessly over an n-network. The backups go about 4 months back. Left to itself the backup finishes in "quite a while".

Under 10.6 this was an almost invisible process. Now I am annoyed hourly. Any suggestions?


EDIT: I grepped for "backup" in the log messages (/private/var/log/system.log) and got the following from the last backup (which I cancelled):

24/07/11 14.42.22,185 com.apple.backupd: Starting standard backup
24/07/11 14.42.24,013 com.apple.backupd: Attempting to mount network destination URL: afp://Thorbj%C3%B8rn%20Ravn%20Andersen@Thorbj%C3%B8rn%20TC._afpovertcp._tcp.local/Data
24/07/11 14.42.31,097 com.apple.backupd: Mounted network destination at mountpoint: /Volumes/Data using URL: afp://Thorbj%C3%B8rn%20Ravn%20Andersen@Thorbj%C3%B8rn%20TC._afpovertcp._tcp.local/Data
24/07/11 14.42.35,981 com.apple.backupd: QUICKCHECK ONLY; FILESYSTEM CLEAN
24/07/11 14.42.39,214 com.apple.backupd: Disk image /Volumes/Data/Thorbjørns MBP.sparsebundle mounted at: /Volumes/Time Machine-sikkerhedskopier
24/07/11 14.42.39,287 com.apple.backupd: Backing up to: /Volumes/Time Machine-sikkerhedskopier/Backups.backupdb
24/07/11 14.45.02,101 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 14.45.21,588 mds: (Error) Backup: doBackupIndexFile could not stat backup location /.MobileBackups/Computer/2011-07-24-144225/Volume/Users/ravn/Library/Application Support/Google/Chrome/Default/History Index 2011-07-journal /.MobileBackups/Computer/2011-07-24-144225/Volume/Users/ravn/Library/Application Support/Google/Chrome/Default/History Index 2011-07-journal. Error 2 with uid 0
24/07/11 14.57.34,633 com.apple.backupd: 23.71 GB required (including padding), 71.79 GB available
24/07/11 14.57.34,680 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 14.58.38,530 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 14.59.56,176 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.00.56,663 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.01.57,479 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.02.57,783 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.03.59,499 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.05.00,659 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.06.01,065 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.07.01,923 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.08.03,008 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.09.03,818 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.10.05,692 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.11.06,368 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.12.06,780 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.13.07,700 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.14.08,159 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.15.09,275 com.apple.backupd: Waiting for index to be ready (100)
24/07/11 15.15.11,044 com.apple.backupd: Copied 0 files (0 bytes) from volume OSX.
24/07/11 15.15.12,154 mds: (Error) Volume: Could not find requested backup type:2 for volume
24/07/11 15.16.42,159 com.apple.backupd: Backup canceled.
24/07/11 15.16.46,704 com.apple.backupd: Ejected Time Machine disk image.
24/07/11 15.16.47,816 com.apple.backupd: Ejected Time Machine network volume.

Is the "Could not find requested backup type: 2 for volume" message important?

share|improve this question
add comment

4 Answers

up vote 3 down vote accepted

I had the same problem after first upgrading to Lion. I erased my Time Machine and it seems to work fine now.

share|improve this answer
    
Thanks. I've archived my current TM bundle, and erased the TC disk and started a new TM backup. After the initial backup the hourly run is pretty fast. I'll wait three months and see if it grows bad again. –  Thorbjørn Ravn Andersen Jul 25 '11 at 22:37
add comment

Here's what I had to do to fix "Waiting for index to be ready (100)" error:

  1. Mount the {MyTimeMachine}.sparsebundle disk image
  2. Delete the .Spotlight-V100 folder w/ this command:
    sudo rm -rf /Volumes/{MyTimeMachine}/.Spotlight-V100
  3. Open Spotlight preferences, go to Privacy tab, and add the {MyTimeMachine} volume to list of excluded directories
  4. Unmount/eject {MyTimeMachine}
  5. Run "Backup Now"

Where {MyTimeMachine} is a variable = the name of your sparsebundle disk

share|improve this answer
add comment

I had a similar problem: after my upgrade to Lion I get the "Waiting for index to be ready (100)" messages, and the complete Time Machine backup takes a LONG time (like, 45 minutes+) even for very small changes.

But my console/backupd logs had no error messages; the backups simply took a long time.

But I think I've fixed it, here's how:

  1. Mount the backup disk (in Finder do Command-K to mount it if it's not already mounted).
  2. Find the Time Machine image on the backup disk. My Mac is called "SvecBook," so the Time Machine image is SvecBook.sparsebundle. Right click on the "SvecBook.sparsebundle" file and "Open With" -> DiskImageMounter.app.
  3. Then I opened Disk Utility, clicked on the SvecBook.sparsebundle "Time Machine Backups" partition, the "First Aid" tab, then "Repair Disk."
  4. This takes a while, at least 30 minutes on my machine.
  5. No errors were found.
  6. If you're using a backup server, unmount the backup disk.

The first time I tried this the TimeMachine backups still took forever, spinning on "Waiting for index" for a LONG time.

The second time I did this TimeMachine backups worked! Now TimeMachine backups complete quickly, everything looks good!

I have no idea what was changed or fixed by the "Repair Disk" process since it didn't report anything was broken. And I have no idea why this seemingly fixed the problem the second time but not the first.

But it works for me, for now!

Maybe this is doing the same thing as what @bmike's "Verify Backups" answer did, but that didn't work for me. (Of course, my "method" didn't work for me the first time.)

Edit: My Lion Time Machine backups have been working perfectly since my original answer almost 2 months ago. So I'm going to call this a good fix.

share|improve this answer
    
I followed @svec's recipe after removing the iWeb Spotlight plugin and re-indexing Spotlight as suggested by system.log messages. However Time Machine had been working OK for me since Lion upgrade until a few days ago. Results are good right away on my first backup after following the recipe. Time Machine seems back to normal again. Hopefully this will last! –  iainH Nov 15 '11 at 10:23
add comment

From your situation, it's hard to tell if this is normal or if the process is somehow stuck.

You can monitor what is happening from the Time Machine system preference while the backups are taking longer than expected.

For more detail - fire up the Console.app and type backupd in the String Matching / filter control. You might be able to determine if the process is taking a lot of time deleting old backups or something else. You'll also see the timing and the volume of data that might help if you are having slower transfer over the network than before.

enter image description here

enter image description here

Good luck hunting down a cause...

[Edit - responding to additional details on the mount aborting - index failing to get ready.]

OK - this likely won't fix itself. It's always nice to follow the recommended systematic steps to troubleshoot time machine, but I might start first with a verify pass of your existing backup files.

To verify, hold the option key and click your Time Machine icon in the menu bar - the verify process should get you a more concrete error you can understand or it might just fix the issue altogether. Your mac is timing out waiting for a preliminary steo to finish and it's not clear why.

share|improve this answer
    
Sorry, didnt' see the edit before starting the start-over procedure. –  Thorbjørn Ravn Andersen Jul 25 '11 at 22:38
1  
Had the same problem and @bmike's solution solved it for me. After a verify on the backup everything returned to normal. Backups happen quickly now. –  Ian C. Aug 4 '11 at 17:24
    
Hooray @ian - I almost want to ask another question jeopardy style and plop this answer there - it clearly wasn't what the OP had wrong. I guess anyone searching will still see it here. –  bmike Aug 4 '11 at 18:31
1  
I'm having the same problem, but "Verify Backups" in the Time Machine icon menu is greyed-out. Why would that be? (Should I asked that as a separate question?) –  Daryl Spitzer Aug 25 '11 at 3:31
    
Yes - do ask it! It's usually when the backup us marked as read only due to errors, but let's split that off to get you the best answer. –  bmike Aug 25 '11 at 4:33
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.