Time machine Bulk setting Spotlight attributes failed

Hi,
I'm having big, ongoing problems with a customers iMac, 10.6.7, when trying to use Time Machine.
All i want to do now is start afresh.  And want to make sure i clear out everything.  It's no longer the priority to find out what is the cause.
Here's the setup, and what i plan to do.  If i miss anything, please point out.
the setup:
iMac, connected via ethernet, to a Ethernet over Power plug (Airport switched off on iMac)
EoP plug then connected to Time Capsule, which is in turn connected to the modem
Internet connection is fine / other mac connected direct to TC backs up fine.
Mac with the problem (unfortunately i only get the info second hand, after i've visited):
TM Sys Pref Pane reports No errors, just that the last completed back up was 7th June
When TM goes through process, it reports 'Preparing xxxxxxxxx items'
Then takes forever to back up a reported 40GBs, reports something like '4KB completed', then '225MB completed, then back to 10KB completed...', then 'Calculating Changes...'
There's never any error message, still reports last back up to be 7th of June.  Finally installed backup buddy widget and got the 'bulk setting Spotlight attributes failed' and "Stopping back up to allow ejection of back up destination disk".
Things tried:
repairing sparceimage of back in disk utility
deleting prefs for TM in /Library/prefs
Tried forcing new back up (without deleting the old one) by renaming the sparcebundle to '...old.sparcebundle' - it carried on trying to back up to the old one, as indicated by the Date Modified in the Get Info window, and lack of new .sparcebundle on TC.
What i plan to do, to thoroughly reset Time Machine, when i visit (I won't have time /opportunity to hang around, wait for anything.  I just do this sequence of events, then i have to leave, not by choice.  So it's important i get it right, do a thorough reset.):
Switch off TM on problematic iMac
Delete the .sparcebundle for the problematic iMac from the TC
Delete /Library/Prefs/com.apple.TimeMachine.plist on problematic iMac
Rebuild spotlight index cache: sudo mdutil -E
Shutdown
Unplug EoP plugs for 30 seconds / replace ethernet cables
Restart iMac
Turn on TM, set up to backup to TC
Now, surely, this is starting totally afresh.  It is assumed the TC is ok, because another iMac directly connected backs up, no problem, and the SMART status of the TC drive is not reporting problems.
If i'm missing anything, any comments, or just reassurance, would love to hear comments.  This has been quite traumatic!  And is dragging on way too long, and made more difficult by the fact i can only visit in short time frames, and the results take so long to come through.
Many thanks,
C

Col Kav wrote:
Ah, ok,  this would be system.log, and then filter 'backupd' ?
Yup.  And when you find a problem, it might be worth noting the time, removing the filter, and see if there are other messages at about the same time that might be contributing to the problem.
But as it's going via Ethernet-over-Power plugs, which are 200mbps, excuse my patchy knowledge, but would this account for slowness?  Speed isn't a priority, i mean, just as long as everything got backed up.
Of course -- they're getting 10% of the speed.  Earlier you posted "I know Time Machine generally takes ages to do the first backup, but is there any reason why it should take 20 minuites+ to make the backup disk available?"  20 minutes is certainly a long time, but if they're only getting 10% of the speed they should, that's gotta be a big part of it.
The thing is, the internet access is fine, and this customer has offline backups with carbonite.
If they're trying to do backups and any serious internet access over the same "pipe," it's gonna be very slow. Depending on what they're doing, they may not notice how slow response time is.
The external disk isn't an option.  i mean, he has the TC, he wants that to work.  Which is fair enough.
Even if it's like molasses? 
Can you even temporarily connect the iMac directly to the TC via Ethernet?  If so, see how much faster it is.
I don't see the point of the TC.  Is it being used wirelessly for anything at all? 
Since everything's connected by cable anyway, why not plug an external HD into the iMac? 
From your first post:
When TM goes through process, it reports 'Preparing xxxxxxxxx items'
Then takes forever to back up a reported 40GBs, reports something like '4KB completed', then '225MB completed, then back to 10KB completed...', then 'Calculating Changes...'
That sounds like TM is simply making two "passes," which is common.  If additional changes are made while it's doing the first one, it will make a second pass to catch up what's ordinarily small and quickly backed-up.  You'll see that in the logs.
But the network or whatever problem is preventing a completed backup; so on each backup, TM isn't sure it got everything the last time (you'll see a UUID message).  Because of that, it will do a "deep traversal," with a message, comparing everything on the Mac to the most recent completed backup, to figure out what's changed and needs to be backed-up.  With an excruciatingly slow connection, that's going to take forever.  And that will be repeated on each backup attempt until one completes normally.

Similar Messages

  • A 30GB incremental backup ("Bulk setting Spotlight attributes failed")

    Greetings all
    I have TM set only to back up my home account which lives on a separate hard drive. This is the only drive backed up by TM (the system drive is cloned using SuperDuper instead). The total size of the home account drive is 190GB.
    All day today, I have been working with images, creating roughly 1.5GB of new data. And TM has dutifully backed up this new data in a few incremental backups.
    This evening TM suddenly backed up 30GB of data, 9722 files, from the home account drive. I haven't touched anything on this drive, except my image folders.
    Is there any way to find out more precisely what was backed up so I can remove the duplicates from within TM?
    I've scoured Console and the TM Buddy widget for info on what was copied but can't find anything.
    I have looked in the backups.backupdb folder. The relevant folder with the time stamp of the big backup is listed in the Get info window as 4.5GB. Some other backup folders are listed as 180-190GB.
    One thing to note:
    The culprit incremental backup left 8 *"Bulk setting Spotlight attributes failed"* messages in the log. I have never seen these before. Of course, TM is excluded from Spotlight and has been so for a long time.
    I'm not running any virtualisation, Entourage or such. I haven't made any hardware changes recently.
    Thanks for any insight.
    /p

    You might want to download the TimeTracker app, from www.charlessoft.com.
    It shows most of the files saved by TM for each backup (excluding some hidden/system files, etc.).
    Thanks Pondini. TimeTracker is very helpful. It shows that what was backed up was just under half of my iTunes library. There's no rhyme or reason as to why the music of certain artists was backed up.
    I can only think this has to do with is the installation of iTunes update 8.1 which happened a few days prior to the big backup. I can't remember if I've used iTunes since. Maybe that made some change to the iTunes library so TM thinks certain music is new?
    That appears to be Spotlight and TM falling over each other. Try excluding your TM disk from Spotlight (System Preferences > Spotlight > Privacy).
    Actually TM is always excluded from Spotlight. In fact, I remember verifying this before I cloned my system onto an external drive prior to installing the iTunes and Frontrow updates.
    I might simply start all over with TM.
    This reminds me of some thoughts on backup strategy I've had recently. Basically, I've been toying with the idea of using only one folder, for instance the Desktop, as the "active" folder into which I would put stuff I'm working on, which is mainly images and documents. TM could be set only to back up this folder in order to protect against accidental deletions.
    Once I'm done with a file, I would move it to the final archive area. Rather than using TM for that archive, I would be using SuperDuper's schedule function.
    /p

  • Backup failed - Bulk setting Spotlight attribute failed - Ideas?

    I just upgraded from 10.4.? to 10.5.4 primarily to use TM. This has been a disaster. I have never had this much trouble with an upgrade since the Mac Plus.
    Before the backup fails I get 200+ console messages like:
    /System/Library/CoreServices/backupd[294] Bulk setting Spotlight attributes failed.
    What does this mean and how can I fix the problem?
    From other posts, it seems that Spotlight and TM have some type of incompatibility, particularly on the first full backup. Spotlight indexing seems to create a problem for TM. I have yet to perform a successful backup.
    How do I temporarily turn Off Spotlight other than editing the hostconfig file? Should I include both my Backup Drive and my Boot drive in the Spotlight exclusion list, until I can get a successful backup?

    Yes,
    Before the backup I placed the TM Backup drive in the "Privacy" section of the Spotlight preferences. That did not seem to have an effect.
    The bad news is that at least for now, I am using the backup drive to hold data as well. By placing the drive in the Privacy section, I no longer can easily search the contents.
    -reed

  • Time Machine is super slow, or fails since 10.5.7 update

    Ever since updating to 10.5.7, Time Machine has become virtually unusable. I'm backing up to a 1TB Time Capsule. All backups either fail or take hours and hours to copy a small amount of data. If I leave it on, TM also tends to run continuously... as soon as a backup finishes, it's starts a new one. It's very common for Spotlight to have a very difficult time indexing the backup, often taking hours to update the index.
    I've erased the Time Capsule (via Airport Utility) and started over. I've tried deleting / rebuilding the Spotlight index via the terminal. Neither helped. I don't know what else to do. If anyone can help, it would be greatly appreciated.
    The current attempt to backup has been running for 14 hours. Here's the current log:
    Starting standard backup
    Mounted network destination using URL: afp://Paul%20Burd@Time%20Capsule.afpovertcp.tcp.local/Time%20Capsule
    Backup destination mounted at path: /Volumes/Time Capsule
    Disk image /Volumes/Time Capsule/Tardis_001b63916361.sparsebundle mounted at: /Volumes/Backup of Tardis
    Backing up to: /Volumes/Backup of Tardis/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD 500
    Node requires deep traversal:/ reason:kFSEDBEventFlagMustScanSubDirs|kFSEDBEventFlagReasonEventDBUntrustable|
    No pre-backup thinning needed: 4.34 GB requested (including padding), 460.73 GB available
    Bulk setting Spotlight attributes failed.
    Bulk setting Spotlight attributes failed.
    Unable to rebuild path cache for source item. Partial source path:
    Bulk setting Spotlight attributes failed.

    I started over (again) by throwing away the sparse bundle and deleting the Time Machine preferences. It looks like the backup is working, but it is very slow, and the log is still showing errors. I'm guessing it's only a matter of time before it stops working again. Here's the most recent log:
    Starting standard backup
    Mounted network destination using URL: afp://Paul%20Burd@Time%20Capsule.afpovertcp.tcp.local/Time%20Capsule
    Backup destination mounted at path: /Volumes/Time Capsule
    Disk image /Volumes/Time Capsule/Tardis_001b63916361.sparsebundle mounted at: /Volumes/Backup of Tardis
    Backing up to: /Volumes/Backup of Tardis/Backups.backupdb
    No pre-backup thinning needed: 6.71 GB requested (including padding), 478.87 GB available
    Bulk setting Spotlight attributes failed.
    Copied 24137 files (5.0 GB) from volume Macintosh HD 500.
    No pre-backup thinning needed: 1.57 GB requested (including padding), 475.64 GB available
    Unable to rebuild path cache for source item. Partial source path:
    Copied 3193 files (626.0 MB) from volume Macintosh HD 500.
    Starting post-backup thinning
    Deleted backup /Volumes/Backup of Tardis/Backups.backupdb/Tardis/2009-06-22-130748: 475.02 GB now available
    Post-back up thinning complete: 1 expired backups removed
    Backup completed successfully.
    [SnapshotUtilities mountPointForVolumeRef] FSGetVolumeInfo returned: -35
    Failed to eject volume (null) (FSVolumeRefNum: -113; status: -35; dissenting pid: 0)

  • My time machine backup external hard drive has failed.  I have a newer external drive already connected to my MAC but can't figure out how to get Time Machine to set up on it?

    My time machine backup external hard drive has failed.  I have a newer external drive already connected to my MAC but can't figure out how to get Time Machine to set up on it

    http://pondini.org/TM/21.html

  • Configuring Time machine to Restore after a failer

    Hi
    how to Configurr Time machine to Restore after a failer ? should i just set the time machine to backup to the external hard disk that have the backup and it will automatically detect it and can use it ? what if there is another backups for another Mac's ?

    PureHeartKnight wrote:
    Hi
    how to Configurr Time machine to Restore after a failer ?
    Do you mean you want to recover your entire system from your TM backups? If so, see item 14 in +Frequently Asked Questions+ at the top of this forum for details.
    Or do you mean, once your Mac is recovered, how to start new TM backups?
    When you first boot after restoring, you may want to immediately turn Time Machine off, as it's next backup will probably be a full one -- everything it just restored will be backed-up again. You cannot prevent this, only delay it. It will of course take quite a while, and a lot of space on your TM disk, so you may wish to wait until you're sure your system is the way you want it, or even erase your TM disk with Disk Utility and let your backups start anew.
    what if there is another backups for another Mac's ?
    That may become a problem. TM knows which backups are for which Mac, and will not mix them. But if there's not room for the first backup of the restored Mac (see above), you have two bad choices: erase the disk, and start both Macs over again with TM; or delete all the backups for the failed Mac via the TM interface (see item 12 of the same article).
    If you decide to erase the disk completely, you may want to partition it before beginning backups, so each Mac's backups have their own, exclusive partition, to prevent this hassle in the future. See item 5 for instructions if you want to do this.

  • HT201514 i can't see the time capsule from airport utilities. i did follow "From the Apple menu, choose System Preferences. Choose View Time Machine. Set Time Machine to On if it is off. .....but i couldn't find the time capsule from airport utility.....

    i did follow "From the Apple menu, choose System Preferences. Choose View > Time Machine. Set Time Machine to On if it is off "
    . .....but i couldn't find the time capsule from airport utility..... why?

    Are you using a new 802.11ac Time Capsule - the "tall" one - and are you still using Mac OS X 10.6.8?
    You need OS X 10.7.5 "Lion" or later, or an iOS device, to configure an 802.11ac Time Capsule:
    http://manuals.info.apple.com/MANUALS/1000/MA1645/en_US/airport_time_capsule_802 11ac_setup.pdf
    See page 12.

  • I used time machine, now my drive has failed and all my files are lost.

    i used time machine, now my drive has failed and all my files are lost. any one know how to get the max osx to see the drive again so i can retrive my files

    kabb30 wrote:
    i used time machine,
    Ok, check
    now my drive has failed
    Which one, the TM drive or the internal boot drive?
    all my files are lost.
    Where? on both drives or just TM or the internal drive?
    any one know how to get the max osx
    yea, if we knew more details of your machine and what you had before and later
    to see the drive again so i can retrive my files
    I don't know what drive failed.
    I'm thinking here your internal drive failed? Was it replaced?
    You have a blank internal drive and a TimeMachine drive and your asking how to reinstall OS X so you can restore from the TimeMachine drive?
    How are you getting here? Another machine or device and what is it?
    We need more details of your situation please.

  • Mail gets stuck importing messages from Time Machine when setting up new Lion Macbook Pro

    I just used time machine to set up my new 13-in mid-2012 Macbook Pro and am having trouble setting up the Mail application. It opens fine, asks me to import my messages, takes about an hour and a half, then gets stuck at "less than a minute." I then have to cancel out, and restarting causes the whole process to start over.
    I've tried deleting the Envelope Index, but that didn't help. I also tried restarting the computer. Hitting "Cancel" instead of "Continue" to try to set up Mail without importing my messages just exits the application.
    Any ideas why it hangs at the very end, and how I can avoid this?

    Did anyone find a solution here?
    This has happened to me after numerous crashes over the years and just did again. Seems to be a recurring problem when dealing with lots of mail messages.
    Today, after 3 attempts, it still hangs up on 50,951 of 166,972 (yes there are a lot and for a reason).

  • Mountain Lion: problem with Time Machine directories and spotlight indexing

    I'm using a fresh install of 10.8 Mountain Lion on a 2011 MBP.  It's a work laptop with many ASCII files containing numerical data (floating point numbers), with varying file extensions.  Some of the files are multi-gig, some are only a few hundred K, and there are tens of thousands of them.  Roughly 500G of numerical data.
    I can disable spotlight from indexing certain subdirectories of my home directory on the local drive.  However, when using Time Machine to backup, I seem to be entirely unable to prevent spotlight from attemping to fully index the external drive (Time Machine volume).   I actually let spotlight run for over 36 hours this weekend in a futile attempt for it to finish indexing the TM volume.   The /.Spotlight-V100 index on the external drive is roughly 100G and continuously written and overwritten.  /var/log/system.log had various "Merging failed" messages for temp spotlight files.  I deleted the index, let spotlight run again overnight, but it did not finish indexing.  "sudo fs_usage -f filesys mds mdworker mdimport mdworker32 | grep open" showed spotlight slowly chugging through the thousands of numerical files.
    I believe the problem is related to this old report from someone who noticed a leopard -> snow leopard change:
    http://hintsforums.macworld.com/showthread.php?t=106703
    http://forums.cnet.com/7723-6126_102-366184/snow-leopard-10-6-spotlight-indexing -and-disk-usage/
    However, I don't see an easy solution.  In ML, if you drag the TM volume to the spotlight privacy list it gives you a message about how you can't disable indexing of TM volumes because it's essential for TM.  I have not yet tried to manually put in some kind of .metadata_never_index file in the relevant TM volume directories (I am not sure if that will do anything, or perhaps break TM backups), but that's one possible next step.
    Anyone have ideas on how I can have my TM backups work but the spotlight indexing of all these data files (their subdirectories) disabled?   I'm not specifically TRYING to back up those data files with TM (they're duplicated elsewhere), they're just on the same machine as a bunch of other stuff I need backed up via TM.  Apple has a disaster on their hands for anyone trying to backup a machine which also has large data sets.

    I'm not aware of any avenue to tell spotlight to not index all or part of a backup.
    However, the indexing should work, even if takes a long time.
    I don't think this is a new issue and has been part of TM from the start.
    Realistically, it may be time to consider whether TM is the best choice for these data files?
    Are they very volatile do they change frequently both as to content of individual files and total set of files?
    If not, then a clone or syncing type of backup might be better suited for these files.
    I do not back up all my files via time machine. I keep photographs and music outside of Time Machine. to be sure they are backed up but via clones.
    To show why  this might the best take photographs. My photographs are basically immutable once they enter the system, but I may come back with 5000 images from a trip and whittle that down to a few hundred eventually. This would cause a lot of files to be saved in TM that are no longer wanted, - but are not easy to remove formthe backup. while the ones I want haven't changed. TM is not geared to make handling that easily.
    As a further aside, ideally one should back everything of value up twice via 2 different means.
    I've had backup drives fail.I've had TM logically fail (disk is fine -TM internal data structures bad).

  • Time Machine Folder Renamed (2) Backups Fail

    Hi all,
    After updating to Snow Leopard, Time Machine backups would fail with an error (2) displayed by 'Time Machine Buddy'.
    On my Time Machine volume within the Backups.backupd folder my computer folder has had "(2)" added to it i.e. computername (2).
    When I found this I went straight into the 'Sharing' system pane and change the computer name back to the original name (deleted the "(2)").
    This change was not reflected in the Time Machine Backups.backupd folder.
    I do not have permissions to change the folder name. I tried adding myself as an owner in 'sharing and permissions' but still could not change the folder name. I logged in as the 'root' user but still could not change the folder name.
    Has anyone a solution to this problem other than setting up another external drive? e.g. terminal commands.
    Thanks.

    xccobrien wrote:
    This change was not reflected in the Time Machine Backups.backupd folder.
    I do not have permissions to change the folder name. I tried adding myself as an owner in 'sharing and permissions' but still could not change the folder name. I logged in as the 'root' user but still could not change the folder name.
    Be glad you didn't make that work. Apple puts special "deny everybody everything" permissions on it's backups for a reason: when we mere mortals fool with TM's backups, we can hopelessly corrupt them.
    *Never change, move, or delete anything in a TM backup via the Finder.*

  • Can I back up to Time Machine from hard drive of failed Macbook?

    My Macbook has just completely failed (I think an issue with power supply).
    I had a bulging battery and have a new Macbook Pro on the way, but as I live in a very remote area this is taking a while. So, one day, my Macbook just wouldn't start again.
    I hadn't backed up to Time Machine for about a week and would really like to get all the missing data. When the new computer arrives I'm planning to use Migration Assistant to migrate all my data from Time Machine.
    So, my question is, is it possible to back up to Time Machine from the hard drive of my dead Macbook? I was thinking either cloning it somehow, or making a disk image and booting it from another Macbook, but this is stretching the limits of my limited IT skills. I don't want to interfere with the other Macbook I'm using or inadvertently wipe the data on the hard drive or Time Machine disk.
    Any advice much appreciated!
    My Macbook ran Snow Leopard and was up to date with software updates as of two days ago. It was purchased about two years ago, but I think it's manufacture date was about March 2008.

    Thanks Noondaywitch and Pondini!
    The HD of the failed Macbook turned out to be fine. Just to be safe I did a full functional back-up of my Time Machine disk to another external disk as well as cloning my Macbook hard drive using Carbon Cloner to another partition of the external disk.
    I then booted from a friend's Macbook and did an incremental Time Machine backup from the original Macbook HD to the original TM backup (making sure I excluded the host computer's hard drive from the backup!); when I did the backup it asked whether I wanted to "Reuse backup" I clicked yes.
    As said, the hard drive was fine, but at setup I needed an ethernet or firewire connection, which I didn't have on the enclosure, so I migrated my data to the new Macbook Pro using the original TM backup. Strangely, the backup said it was transferring only 120GB, whereas the HD had 150GB of used space. Redundant files, etc. perhaps? Anyway, it's just transferring now, so will sit back and read the paper and see what it looks like in an hour and a half!
    Thanks very much again!
    Now, if anyone's got any suggestions to fix my old Macbook, which I was going to give away to impecunious friends if they bought a new battery……
    HD is fine, power seems buggered, the rest, I don't know. Suggestions welcomed (I live 300+kms from the nearest service centre, so it's strictly DIY or go to local computer shop who know nothing about Macs).

  • Time Machine - suddenly back up's fail...

    Hello,
    I have been using an external hard drive as my time machine for years, then suddenly the back ups started to fail.
    So I went in to Time Machine settings and found that the reported size of the next back up was greater than space that existed on the drive, then I noticed something odd, my Imac has an internal HD of 250GB of which 94GB is used.
    However the next back up had a reported size of 490GB!
    All my external drives (one for iTunes, one for video content) are excluded, and yet the estimated size of the back up is 490GB from a 250GB drive...
    So, I erased the drive, so now it's empty and ready to take a back up, but with such a huge estimated size it will not fit...
    Any ideas why suddenly Time Machine thinks there is 490GB to back up from a 250 GB system drive with only 94GB used?

    Gilesm,
    I'm going to refer you to the Time Machine FAQ's and Time Machine Trouble Shooting areas. Because TM is part of OS X that is where you will find the correct forums. How you get there is click Discussions in the upper left of this screen, choose the version of OS X you are using (I believe you are on 10.5.x Leopard) and you should see the Time Machine forum area.
    Roger

  • HT201250 Time Machine Exclusion Set-up

    I would like to keep only my documents, photographs and videos in my backup in Time Machine. What is the best way to set the exclusions in the Time Machine? It little complicated. Any help or suggestions would be appreciated.

    If that is all you want to have a backup of just copy them to an external disk or even 2 external disks.

  • Use TC as temporary AEBSn Until Time Machine is Set Up & ready for B/U?

    I want to set up TC by itself with iMac and MBPro and use the same as AEBSn until I set up Time machine on each computer. I have Leopard on both, but with extended first backup times that I have been reading about I want to have TC ready to go but set up time machine up on each computer and do the backups at convenient times when no one will be using the computers, such as overnight.
    Message was edited by: Terry Temple

    That's essentially what I want to do. I'm just wondering if the TC can just operate as a AEBSn until I turn Time Machine on on each computer for the first time. Normally, I would connect all of the devices I intend to connect and get TC working and then turn Time Machines on when I am ready.

Maybe you are looking for