The now daily Time Machine Error
Rarely a day goes by now that Time Machine doesn't produce the dreaded Time Machine Error warning: "Unable to complete backup. An error occurred while copying files to the backup volume." Ironically I get this more on my Mac Pro with dual internal hard drives that check out fine rather than my little MacBook with the slow USB based drive for backup.
Since Time Machine runs hourly I'll get 23 to 47 backups that work fine, then the error. It's always a single file that seems to blow out the backup and generate the message:
I haven't encountered this on my MacBook Pro yet, only on my Mac Pro. The time machine icon in the menu bar shows this:
I first encountered this problem at the beginning of June and it is definitely a byproduct of the 10.5.3 update. Jeff McCord has documented similar problems on his blog. There seems to be two solutions that work for me:
1) Try again. About half the time just telling Time Machine to try again seems to work.
2) Look at the backup volume. If there is a file on your backup volume that ends in "inProgress" then drag it to the trash can. You'll be prompted to enter your password. Once done try Time Machine again.
I'm getting a lot of hits on this blog from people searching for Time Machine Error so hopefully this abbreviated solution set will help them clear the error until Apple fixes it.
I have read reports of people saying this may be related to using Growl—which I use with several of my applications—though I only seem to be seeing this error consistently on my Mac Pro. Though a relatively minor error that is easily recovered from, often by doing nothing but letting Time Machine try again, I would really like to see it eliminated.
Comments
The result: Disk Utility bailed out, then marked the drive as read-only. I was using the drive (1 TB) both as a Time Machine for my Mac Book Pro, and as the iTunes media storage folder.
Never again.
I tried many times with Disk Warrior, but no luck. I ended trying to rescue as much as I could out of the read-only drive into another, much smaller, external drive. After I pulled out as much as I could, I formatted it. The errors went away, and it passed both Disk Utility and Disk Warrior with flying colors.
A week later I bought a second external drive, so now Time Machine has the drive by itself, and my media is in the new drive. If Time Machine kills the drive, all I lose is backups. If I lose the media drive, it is being backed up by Time Machine so I won't be losing all of it.
It's 10.5.3. I never had a problem on my Mac Pro until 10.5.3 and now I get this error once in a while.
I do NOT have Growl installed.
I'm thinking 10.5.4 will fix it.
Bot
I do not use Growl and it sure seems that this started happening after the 10.5.3 update. In all cases so far telling TM just to start over works.
I use a late 07 Macbook pro with a Lacie 500GB FW drive. Never had the problem prior to 10.5.3 and I don't use Growl.
@Pedro: that's tough man - losing data is never fun. I would caution anyone that doesn't already do it to use a dedicated backup drive, not to partition it and use part for backups, part for live storage. If you really feel compelled to split up that big disk then don't put anything useful on the non-backup partition.
I would caution use of DW to fix the time machine backup unless you are 100% sure you have the right version (4.1). You could get in big trouble otherwise.
Apple also cautions against the use of it for two things - Pedro, sounds like you did not even partition the drive. BIG no no - Time machine does enough disk intensive things, you don't want to ALSO use it as a media storage server - and if it was read only, you could have copied the media files off of it!
one thing to think about, is whether the TM failures were related to files that were in a particular directory. If they were, then it could be that TM is timing out while trying to access/backup an open file. I know this shouldn't be a problem for TM, but on the outside possibility that it is, you could simply include the specific folder in the exclude list for TM.
just my thoughts,
Tom
After searching in the Internet I found some possible solutions. Now my Time Machine works again with no problem. Please read ALL the post before doing something.
1. Check that the drive you are using is updated to the last drivers and firmware that the drive's manufacturer proposes.
2. Check that your computer's name in Sharing Preferences is as much compatible as it can with Time Machine. There's an article in Apple, you should read and make the changes as needed. It refers to another Time Machine's problem but you must do it as it seems that it affects Time Machine in this.
Here's the article
http://docs.info.apple.com/article.html?artnum=306928
3. Some users in discussions propose to see at the log file to see what's the problem that stopped backing up. Very good idea and this can be done by using the Terminal (found in Utilities - you might need to enter an Administrator password before entering the command) and the command:
sudo grep backupd /var/log/system.log
Here's the discussion
http://discussions.apple.com/thread.jspa?threadID=1203637&tstart=0
In my case of Time Machine problems, in which I had to do with two kind of problems, I needed to do the following that worked for me:
1. It seemed that there was a problem with my 2 extrernal hard drives when I had them connected on the same 800 firewire port, the one next to the other, (chain). That was causing the Time Machine's backup disk not to be recognized correctly and sometimes not even appearing on the desktop. I upgraded the "firmware" and the "WD Buttons" for my two WD500 MyBook Pro with the latest version and I have chosen to put the Time Machine's drive on the 400 firewire port while the other remained on the 800 port (just to be sure...). No such problem appeared again. My drives worked with no problem, so did Time Machine.
I thought that my problems with Time Machine came to an end, but... Today... came the problem you describe here. So...
2. I tried the "sudo" command described above and found that "Mail" application was causing the backup to stop (one of "Mail"'s mailboxes trash). I closed the application.
3. I changed my Machine's Name as described above.
4. I haven't tried to trash anything or make any changes in my Time Machine's drive. The drive was initially prepared with "Partition Map Scheme: GUID Partition Table" and "Format: Mac OS Extended (Journaled)", it still is.
5. I chose "Backup Now" from the menu, which it was successful!
6. After the first successful backup Time Machine automatically renamed the folder that keeps the individual backups to the name that I gave in Sharing Preferences, as described above. So, try not to change names or other things in the hard drive that keeps your backups (other than upgrading drivers-firmware if necessary as described above)...
I already successfully used the Backup Now function five times with no problem. I tried it even when using the "Mail", that caused the problem, and it worked, so the problem is not the "Mail" application itself but Time Machine. In YOUR machine there may be another application or file that is causing the problem to Time Machine. The solution is not to trash the file or the application or not use it at all.
My hard drive Time Machine related problems started after applying the 10.5.2 update. The problem you described here started after applying the 10.5.3 update.
So until Apple finds a solution to the problem (maybe with another upgrade):
7. To be sure that no other such problem will occur I will NOT USE the automatic backup again. Instead I will keep Time Machine "OFF" and from time to time I will take manually backups by choosing "Backup Now", after a restart and no application open. Just to be sure...
I hope this to be as helpful to you as it was for me!
Good luck
Kyriakos, Greece
Kind regards,
Qwintine
Whew... that was a painstakingly rough couple of days when 10.5.4 came out!
GREAT BLOG by the way!
Jeff McCord
They started at 10.5.3, and continue in 10.5.4. There's nothing in the 10.5.4 release notes about Time Machine.
No growl, never used it.
Retrying (or just letting it retry next hour) works for me.
I ran into this issue over and over, finally ran the terminal command to show me the log and it gave me some useful info. The terminal command, just to recap, is sudo grep backupd /var/log/system.log
Once I looked through the log, I found that files were crapping out in iDVD:
Nov 2 15:24:40 Macintosh-2 /System/Library/CoreServices/backupd[8557]: Error: (-36) SrcErr:YES Copying /Applications/iDVD.app/Contents/Resources/Dutch.lproj/iDVD Help/gfx/idvd1081.jpg to (null)
Nov 2 15:25:02 Macintosh-2 /System/Library/CoreServices/backupd[8557]: Error: (-36) SrcErr:YES Copying /Applications/iDVD.app/Contents/Resources/Dutch.lproj/iDVD Help/gfx/idvd1084.jpg to (null)
Nov 2 15:49:57 Macintosh-2 /System/Library/CoreServices/backupd[8557]: Error: (-36) SrcErr:YES Copying /Library/Application Support/iDVD/Themes/iDVD 3/003_Gen_Y.theme/Contents/Resources/BackgroundMovie.NTSC.mov to (null)
Nov 2 15:49:59 Macintosh-2 /System/Library/CoreServices/backupd[8557]: Error: (-36) SrcErr:NO Copying /Library/Application Support/iDVD/Themes/iDVD 3/003_Gen_Y.theme/Contents/Resources/BackgroundMovie.NTSC.mov to /Volumes/Time Machine Backups/Backups.backupdb/user/2008-11-02-150921.inProgress/8BD24926-0D63-48F1-97A8-79F9837D9E3E/Macintosh HD/Library/Application Support/iDVD/Themes/iDVD 3/003_Gen_Y.theme/Contents/Resources
Nov 2 15:49:59 Macintosh-2 /System/Library/CoreServices/backupd[8557]: Stopping backup.
In summary, a bunch of files I never use, so I deleted them, reran Time Machine, it worked.
I tried to overwrite the backup with a similarly named file, but Finder told me the "name" was too long.
I tried to use Disk Utility but got the message that the LaCie Drive could not be unmounted.
Other than reformatting, what is left to do?
Iris
My story is here:
http://markuhde.blogspot.com/2009/09/failure-bad-not-warning-of-failure.html
And my log file that looks similar is here:
http://markuhde.blogspot.com/2009/09/heres-incriminating-log-file.html
Take a look and tell me if it looks similar, it does to me...
Looking through your error log it's very different than what I've been experiencing. Mine are mostly individual files that have been locked and I have received TM error messages on them. HOWEVER, this is on Leopard (my Mac Pro), not Snow Leopard. I upgraded to SL on my MacBook Pro and just started scanning my logs and did not see any errors.
If you haven't already I think you should contact Apple Care and see how they respond to this. Let me know how that goes.