Okay, i will try to summarize some of this and answer a few questions
Many people are mentioning other kinds of problems they are having backing up under Mountain Lion (and Lion) but so far none of the non-Spotlight issues I've heard are new issues under Mountain Lion:
- -Third-party antivirus programs interfering with and slowing down Time Machine backups is not really new.
- -Additional external hard drives being backed up, making the process longer...not new.
- -Time Capsule backup failures (I've had 4 different client Time Capsules choke on backups going as far back as Leopard and Snow Leopard...fairly fixable).
- -Generally corrupt Time Machines .... old issue (thankfully not common but does happen)
- -Backing up over Crashplan is, like any cloud backup, bottlenecked by the speed of your uploads generally..in other words SLOW...not a ML problem.
- -5ghz RF (radio/channel) fix sounds like a regular old problem with Wireless N, interference with other networks, etc...not new.
I've encountered all of these things under Leopard and Snow Leopard long before Mountain Lion was a glimmer in Steve Jobs' eye.
Heck, there used to be some MAJOR problems/slowdowns with Spotlight too but it seems like the current issue is making any underlying issues so much worse!
So the Spotlight/TimeMachine interaction issue appears to be at the heart of this breakdown for 10.7.5 and 10.8.2. I didn't have any problems under the few 10.7.4 systems I got running for clients. Nor did I have a problem setting up a two-hard-drive Time Machine back up of 3TB of data (!!!) under 10.8.0 (or .1 or whatever).
@David Schwab
I think your backup drive is busted or, more likely, you're having the Spotlight issue slow down your Carbon Copy Cloner too. I am running a test right now (albeit under Snow Leopard) and I've done 50GB in 30 minutes using CCC. Yours took 21 hours for under 550GB. Mine will take under 6 hours for 550GB. To put in perspective, it could take less than 21 hours to back up 550GB over a network even and you're going local.
What people are finding is critical with the Spotlight fix in Mountain Lion/Lion -- and as @lauhub, among others, has pointed out -- is that we must unload it altogether for the initial backup. Other steps like "tmdiagnose", removing indexes, and repairing disk permissions may also be criitical. I will explain in a moment. But a Spotlight issue would be consistent with a slow Carbon Copy Cloner as well. Removing indexes alone will just take way more time and tax your processor at the same time you are running backups.
But the main issue (and fix) has to do with finding the right combination of Spotlight fixes -- those people who did enough of them, appear to have fully functioning Time Machines on Lion and Mountain Lion.
Of course, Lion users (most? all?) can now download the new 10.7.5 "Supplemental" update -- several users have confirmed that this fixed their problem under Lion.
The supplemental update for Mountain Lion does not fix this problem -- nor does it claim to.
What follows are some collected steps people have used to modify their Spotlights to work with Time Machine.
In general, for some people, unloading Spotlight, restarting, and running Time Machine again was sufficient. Others had to clear out old Spotlight indexes.
I will include some optional steps that may help those who have a particularly tenacious problem.
0) A good general maintenance step that often magically fixes some underlying things is to open up the Utility "Disk Utility," highlight your main hard drive in the left so that the "Repair Disk Permissions" button becomes available. You ONLY "Repair Disk Permissions" on your main drive. Don't be a hero and click other buttons. If you don't have the option, you're doing it wrong (or I'm explaining it wrong) and move on for now. You do NOT need to boot your recovery partition to "repair disk permissions." If you want to be thorough (and you may as well be) you should restart after you "repair disk permissions."
So, if you're ready, fire up "Terminal":
1) Type "sudo tmdiagnose" (no quotation marks, press return, and it will ask for you password)
This doesn't hurt anything but I also don't think that it is merely diagnostic. I think in the process of putting together reports (which I personally assumed were utterly useless to send to Apple) that it clears out some Time Machine garbage. For me this brought my estimates under Lion from 400 days to 8 hours (for 3 different Lion 10.7.5 computers). It didn't fix the problem on its own (it bumped up to a week after I had to stop and restart the backup) but I believe it helped things for me for the next steps
2) sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
(required) This is all on one line! (don't include my (2)!) It seems pretty safe if you type it out right. It will unload Spotlight from booting when you next restart your system. So run this command and restart your computer. This is a pretty safe but absolutely critical step. Like so: http://osxdaily.com/2011/12/10/disable-or-enable-spotlight-in-mac-os-x-lion/
3) restart your computer if you didn't do it just now
If you did it right, attempting to use Spotlight won't tell you much of anything. Try typing something into it and prove to yourself that Spotlight is gloriously worthless.
4) Try running your Time Machine back up.
You might luck out and it indicates that it is going to work pretty fast. Give it a shot.
NOTE 1: At a minimum, you could go into your Time Machine preference first, go to where you select a back up drive, select nothing ("do not back up" or whatever), exit, go back in, select a back up drive again, and now choose your existing back up drive. Sometimes this fixes problems with back up mounts, especially over the network.
NOTE 2: If you suspect shenanigans with your backup drive itself, you could fire up "Disk Utility" again and this time highlight your backup drive and hit the "Repair Disk" button (just this one!) ... it may take awhile if you have a big disk but it will sort it out if there are problems with it.
NOTE 3: If you're using a Time Capsule, odds are you're probably going to end up having to nuke your existing back up or create a new one. Your best bet with Time Capsules is using a highspeed Cat5e or Cat6 ethernet cable and plugging directly from computer to Time Capsule (provided you have a Macbook Pro that still has an ethernet port ) ... turn off your wireless on the computer to force a highspeed back up the first time.
[Personally, I had a full second back up before I upgraded to Lion/Mountain Lion so I used some tricks to rename/move said back up and start over with a fresh one. If you can afford to, you could also reformat your back up drive... make sure it's GUID and not FAT32 (a tale for another time)]
5) If you got through a complete Time Machine back up in record time, you're in good shape so far. if you didn't, I probably wouldn't bother doing anything beyond reloading Spotlight. There's not much point in removing Spotlight indexes to fix things since Spotlight isn't even running at this point. You should probably just reload Spotlight and pray to Jobs for a speedy fix.
If things are working alright with Spotlight unloaded -- and mind you, even under ideal conditions (and Leopard/Snow Leopard) I've seen Time Machine backups take all day AND then seem to run constantly for several days thereafter.... soo annoying -- either way, it's time to reload Spotlight:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
6) restart your computer and tell Time Machine to "Back Up Now"... see what happens....
7) Now, what if things get slow again? It does seem as though clearing out old crappy Spotlight indexes is a smart move.... The problem is that the most powerful methods involve commands that could be lethal to your computer. So far everything we've done is easily reversible. So I'm not even going to mention the lethal commands...I'll tell you the ones that are less aggressive but will at least clean something up.
What is critical to note is that you have a Spotlight index for your main hard drive (and any connected external drive), you have a Spotlight index on your backup drive, and if you are backing up over the network, you have another Spotlight index inside the Time Machine back up sparsebundle. Unfortunately, that's probably the hairy one!
And, of course, deleting any of these could make your computer reindex for a long time...it may take hours, your processor will chug along in the background. Unfortunately, this is kind of what you want This happens after you upgrade your OS and explains why many upgrades start out a bit sluggish as the "mds" process churns along in the background indexing your computer. I would just completely ignore Time Machine estimates while the computer is reindexing (as indicated by your magnifying glass pulsing a little dot at you)... in fact, I would turn off Time Machine altogether while Spotlight reindexes!
Okay, so you could do the harmless (potentially helpful) step where you add your hard drive, backup drive, and mounted backup sparsebundle to your Spotlight privacy list in System Preferences.... (optional restart)...then remove them from the privacy lists again. Seems to be a low-tech way to erase existing Spotlight indexes.... Like this: http://osxdaily.com/2012/01/17/rebuild-spotlight-index/
If you know how to reveal invisible files/folder, you're basically going after the ".Spotlight-V100" file at the root/top of each of the drives in question. You just want to trash it (and only it) altogether.
I can tell you about "sudo mdutil" commands to turn indexing off/on for drives and flush index caches BUT when I ran them all just now, they didn't appear to touch my .Spotlight-V100 file.
sudo mdutil -E -p -a
(this technically flushes indexes in local stores, network stores, and all volumes... it will probably mention some errors becauseo of the -p network flush)
sudo mdutil -i off -a
(disables indexing on all drives)
sudo mdutil -i on -a
(reenables indexing on all drives)
8) When you're finally within reach of Time Machine backup bliss, you might Google a little app called "TimeMachineEditor" which lets you schedule daily/weekly Time Machine backups instead of having it run all the time. It will have you set up Time Machine but then turn off the TM switch...then this little app runs it for you. Now, your computer has to be awake for the scheduled backup (Energy Saver lets you schedule one wake up) ... I just prefer to control when my backups happen....