TomRadfahrer

Q: Why is my Time Machine backup so slow?

In short: A backup of 2 Mbytes takes more than half an hour

 

Long version

I used Time Machine with my old iMac and of course I am using it with my new iMac (SSD + 2 TB). The Backup destination is an external FireWire drive with 2 TB, the same I used with the old iMac.

 

The first backup took some time (more than 700 GB), but this is normal, I assume. Now I have problems with the "small" delta backups. Just one example from the console output:

 

27.06.11 17:56:20          com.apple.backupd[8775]          Starting standard backup

27.06.11 17:56:20          com.apple.backupd[8775]          Backing up to: /Volumes/Archiv 1/Backups.backupdb

27.06.11 17:57:56          com.apple.backupd[8775]          No pre-backup thinning needed: 855.7 MB requested (including padding), 883.02 GB available

27.06.11 18:06:31          com.apple.backupd[8775]          Copied 226532 files (1.8 MB) from volume Speedy HD.

27.06.11 18:06:50          com.apple.backupd[8775]          Copied 226781 files (1.8 MB) from volume Speedy Medien.

27.06.11 18:09:48          com.apple.backupd[8775]          No pre-backup thinning needed: 871.3 MB requested (including padding), 882.92 GB available

27.06.11 18:17:59          com.apple.backupd[8775]          Copied 178604 files (236 KB) from volume Speedy HD.

27.06.11 18:18:19          com.apple.backupd[8775]          Copied 178853 files (236 KB) from volume Speedy Medien.

27.06.11 18:24:55          com.apple.backupd[8775]          Starting post-backup thinning

27.06.11 18:33:17          com.apple.backupd[8775]          Deleted backup /Volumes/Archiv 1/Backups.backupdb/Speedy/2011-06-26-171728: 883.00 GB now available

27.06.11 18:33:17          com.apple.backupd[8775]          Post-back up thinning complete: 1 expired backups removed

27.06.11 18:33:18          com.apple.backupd[8775]          Backup completed successfully.

 

As you can see from the log there is no single error message or warning but the backup of about 2 MBytes took 37 Minutes !! And this happens every hour. Most time of the day my iMac is backing up!! If I add some content to my iMac, (e.g. the backup of a new TV show with 3 GBytes) the backup is as fast as expected (at least the copy phase of Time Machine). Nevertheless every backup has a long preparation and a long cleanup phase. During these ridiculous long phases the activity of the external FireWire drive is very high, I hear the head of the drive positioning all the time.

 

I checked all discs with disk utility, repaired all rights, rebooted the iMac and switched the external drive off and on.

 

The backup source consists of the SSD and the HDD of my iMac. For the HDD I disable access rights management to share an iPhoto library easily between multiple users in our family.

iMac, Mac OS X (10.6.8), iMac mid 2011

Posted on Jun 27, 2011 10:40 AM

Close

Q: Why is my Time Machine backup so slow?

  • All replies
  • Helpful answers

Previous Page 2 of 8 last Next
  • by MaBi,

    MaBi MaBi Jun 30, 2011 1:45 PM in response to TomRadfahrer
    Level 1 (19 points)
    Apple Music
    Jun 30, 2011 1:45 PM in response to TomRadfahrer

    Will try this very thing now... incremental backup runnning, so I gonna interrupt it antime soon and so exactly what you have done... let`s hope it helps as well!

     

    I'll keep you updated....

  • by John Kitchen,

    John Kitchen John Kitchen Jun 30, 2011 4:50 PM in response to TomRadfahrer
    Level 3 (649 points)
    Jun 30, 2011 4:50 PM in response to TomRadfahrer

    TomRadfahrer wrote:

     

    Hi John Kitchen, hi MaBi,

     

    I booted from DVD and repaired the boot volume, but there was nothing to repair. I did a repair of permissions, and there was a single file with permission errors. Disk Utility reported, that it had fixed the problem, but a 2nd repair of permissions showed the same file with the same permission errors.

     

    There is a single file "/private/.../launchd" which cannot be repaired. You both seem to have the same problem. Maybe this is related to the Time Machine problem, or it is a completely independent effect.

     

    I will try to chat with the Apple support.

     

    I have this same problem

     

    Repair permissions on the SSD gives me these messages each time I try it.  So it claims to have repaired it, but I guess it gets broken again immediately  ;-)

     

    Repairing permissions for “iMacSSD”

    ACL found but not expected on "private/var/db/launchd.db/com.apple.launchd".

    Repaired "private/var/db/launchd.db/com.apple.launchd".


    Permissions repair complete


    And the TM session gets very slow on Finishing backup and Cleaning up phases.  Takes some hours.

     

    The widget says this about the previous slow backup

     

    Starting standard backup

    Backing up to: /Volumes/iMac TM/Backups.backupdb

    No pre-backup thinning needed: 1.45 GB requested (including padding), 982.12 GB available

    Copied 183667 files (128.9 MB) from volume iMacSSD.

    Copied 311601 files (130.0 MB) from volume iMacHDD.

    No pre-backup thinning needed: 1.31 GB requested (including padding), 981.61 GB available

    Copied 131887 files (12.6 MB) from volume iMacSSD.

    Copied 259821 files (12.6 MB) from volume iMacHDD.

    Starting post-backup thinning

    Deleted backup /Volumes/iMac TM/Backups.backupdb/PossumMagic/2011-06-29-104528: 981.48 GB now available

    Post-back up thinning complete: 1 expired backups removed

    Backup completed successfully.

     

     

    And this about the one that is still trying to complete

     

    Starting standard backup

    Backing up to: /Volumes/iMac TM/Backups.backupdb

    No pre-backup thinning needed: 1.61 GB requested (including padding), 981.49 GB available

    Copied 183703 files (36.8 GB) from volume iMacSSD.

    Copied 311646 files (38.1 GB) from volume iMacHDD.

    No pre-backup thinning needed: 1.31 GB requested (including padding), 943.25 GB available

    Copied 131888 files (8.3 MB) from volume iMacSSD.

    Copied 259831 files (8.3 MB) from volume iMacHDD.

  • by MaBi,

    MaBi MaBi Jun 30, 2011 11:01 PM in response to TomRadfahrer
    Level 1 (19 points)
    Apple Music
    Jun 30, 2011 11:01 PM in response to TomRadfahrer

    Hey, this WORKED!

     

    It- frankyl- sounded a bit weird at first, but as I was desperate, I just tried it out and: two scheduled and one manually triggered backup now worked flawlessly and FAST! Wow....

     

    I really think it's due to this deep traversal of the directories on the SSD due to a broken "event store". It would be very useful to be able to check and, if neccessary repair this database with some tool, might help many people out there with their TM problems.

     

    Would be interesting to know, if this problem is really related to or even specific to internal SSDs?!

     

    Anyway: all readers and posters in this thread and related threads: try it out, no matter if it sounds very unprofessional!

     

    Cheers,

     

    Marco

  • by NewBartleby,

    NewBartleby NewBartleby Jul 1, 2011 5:47 AM in response to MaBi
    Level 1 (0 points)
    Jul 1, 2011 5:47 AM in response to MaBi

    It is probably something related to the iMac with SSD, which I just bought. Backups are taking forever.. :-(

  • by NewBartleby,

    NewBartleby NewBartleby Jul 1, 2011 6:02 AM in response to MaBi
    Level 1 (0 points)
    Jul 1, 2011 6:02 AM in response to MaBi

    So the exact procedure is to cancel the backup at any point, restart from DVD  and repair the SSD and backup disk?

     

    I will try it but I am not getting the expected message "Stopping backupd to allow ejection of backup destination disk!" in my system.log.

  • by Pondini,

    Pondini Pondini Jul 1, 2011 7:08 AM in response to NewBartleby
    Level 8 (38,747 points)
    Jul 1, 2011 7:08 AM in response to NewBartleby

    NewBartleby wrote:

     

    So the exact procedure is to cancel the backup at any point, restart from DVD  and repair the SSD and backup disk?

    There's an easier way to trigger a "deep traversal:"  Start your Mac up from the Install disc and run Repair Disk on the SSD, then restart normally.  If you're not sure how to do that, see the yellow box in #6 of Formatting, Partitioning, Verifying, and Repairing Disks.

  • by NewBartleby,

    NewBartleby NewBartleby Jul 1, 2011 7:40 AM in response to Pondini
    Level 1 (0 points)
    Jul 1, 2011 7:40 AM in response to Pondini

    Thanks Pondini. I did it (lesson learned: do not use a wireless keyboard), but the backup is stil acting weird (it is still working, but it took 20 minutes to backup less than 3GB, using tons of CPU).  Hey now it is "preparing" again - without finishing first, and preparing again more than 100K items... 25 minutes and still goes, now struggling to backup 27 MB. Absurd.

     

    I will try to install 10.6.8 just in case and retry the whole thing.

     

    My iMac i7 + SSD + firewire 800 HD should be running this in no time.

     

    Do I need to find a "deep traversal" event in the system.log, right? I cannot find it now neither there or the kernel.log.

  • by John Kitchen,

    John Kitchen John Kitchen Jul 1, 2011 10:36 AM in response to NewBartleby
    Level 3 (649 points)
    Jul 1, 2011 10:36 AM in response to NewBartleby

    Interesting you should mention moving to 10.6.8

     

    It seemed to me on reflection that my issues started after going to 10.6.8.  But could be a coincidence.

     

    Getting help from Apple now who have some diagnostic data from my Mac for later analysis.  May take a while, but my situation is not life-threatening so I have much patience.

  • by Pondini,

    Pondini Pondini Jul 1, 2011 10:36 AM in response to NewBartleby
    Level 8 (38,747 points)
    Jul 1, 2011 10:36 AM in response to NewBartleby

    NewBartleby wrote:

    . . .

    Do I need to find a "deep traversal" event in the system.log, right? I cannot find it now neither there or the kernel.log.

    The easiest way is to use the widget in #A1 of Time Machine - Troubleshooting.

     

    You can also filter for backupd in your system.log, via Console.

  • by NewBartleby,

    NewBartleby NewBartleby Jul 1, 2011 12:02 PM in response to Pondini
    Level 1 (0 points)
    Jul 1, 2011 12:02 PM in response to Pondini

    Thanks so much Pondini. I downloaded the widget.

     

    But anyway, I can see the messages in the system.log, and there is nothing with the string "traversal" or "deep" there.

     

    I am running out of options .

     

    I installed 10.6.8 (which may cause a deep traversal), same thing. I rebooted from DVD, repaired the SSD disk, restarted, same thing. Backups are running forever.

     

    I am able to copy files at a high speed (+60 MB/sec) to the D2 Quadra. Firewire 800 cable should be OK.

     

    Any ideas?

  • by NewBartleby,

    NewBartleby NewBartleby Jul 1, 2011 12:03 PM in response to John Kitchen
    Level 1 (0 points)
    Jul 1, 2011 12:03 PM in response to John Kitchen

    John, I had exactly the same problem with 10.6.8.

     

    So you are still having the problem? Repair disk with DVD boot did not help?

     

    Thanks!

  • by Pondini,

    Pondini Pondini Jul 1, 2011 12:14 PM in response to NewBartleby
    Level 8 (38,747 points)
    Jul 1, 2011 12:14 PM in response to NewBartleby

    NewBartleby wrote:

     

    Thanks so much Pondini. I downloaded the widget.

     

    But anyway, I can see the messages in the system.log, and there is nothing with the string "traversal" or "deep" there.

    It's ". . . node requires deep traversal," sent by the backupd process.  Why that's not triggered by starting from your SL disc and doing a Repair Disk on your SSD, I have no idea. 

     

    You mgiht try cancelling a backup, once it's started copying, then starting another backup.

  • by John Kitchen,

    John Kitchen John Kitchen Jul 1, 2011 12:24 PM in response to NewBartleby
    Level 3 (649 points)
    Jul 1, 2011 12:24 PM in response to NewBartleby

    NewBartleby wrote:

     

    John, I had exactly the same problem with 10.6.8.

     

    So you are still having the problem? Repair disk with DVD boot did not help?

     

    I booted from an external drive with a clone of my system disk so I could repair the SSD resident system partition.  Also repaired the HDD internal, and the Time Machine external.  None showed any need for repair.

     

    Rebooted again from SSD and manually initiated a Time Machine backup.  It took 3 hours, 39 minutes.  The quantity of data backed up was trivial.  The logs are confusing, I'll paste them below.  The Finishing backup phase took 2 hours 10 minutes, followed by a slow Clean up.

     

    Here is the log.  I am deeply suspicious of the log, since the amount of data backed up from SSD and HDD is identical.  Twice.  See the bold numbers below.

     

     

    Starting standard backup

    Backing up to: /Volumes/iMac TM/Backups.backupdb

    No pre-backup thinning needed: 2.34 GB requested (including padding), 942.38 GB available

    Copied 183761 files (43.0 MB) from volume iMacSSD.

    Copied 311704 files (43.0 MB) from volume iMacHDD.

    No pre-backup thinning needed: 1.30 GB requested (including padding), 942.25 GB available

    Copied 131896 files (42.1 MB) from volume iMacSSD.

    Copied 259839 files (42.1 MB) from volume iMacHDD.

    Starting post-backup thinning

    Deleted backup /Volumes/iMac TM/Backups.backupdb/iMacName/2011-06-29-074504: 942.14 GB now available

    Post-back up thinning complete: 1 expired backups removed

    Backup completed successfully.

     

    PS I'm also troubled by the line that says a backup was deleted.  I can't see why this would happen, since there is nearly a terabyte of free space in the partition.

     

    Message was edited by: John Kitchen - added post script

  • by NewBartleby,

    NewBartleby NewBartleby Jul 1, 2011 12:25 PM in response to John Kitchen
    Level 1 (0 points)
    Jul 1, 2011 12:25 PM in response to John Kitchen

    Sorry John, I meant I had the same problem with 10.6.7 also.

     

    (stupid newbie question: how do you copy a portion of the post you are replying to? I mean, to cite... nothing I tried worked... this is surely not my day!)

  • by Pondini,

    Pondini Pondini Jul 1, 2011 12:30 PM in response to John Kitchen
    Level 8 (38,747 points)
    Jul 1, 2011 12:30 PM in response to John Kitchen

    John Kitchen wrote:

    . . .

    Here is the log.  I am deeply suspicious of the log, since the amount of data backed up from SSD and HDD is identical.  Twice

    That does happen sometimes with multiple partitions.  It appears to be just some reporting glitch.

     

    Post-back up thinning complete: 1 expired backups removed

    Backup completed successfully.

     

    PS I'm also troubled by the line that says a backup was deleted.  I can't see why this would happen, since there is nearly a terabyte of free space in the partition.

    That's an "expired" backup.  Time Machine doesn't keep all backups until space runs out; it "thins" them according to the schedule on the TM Prefs panel.  It keeps all for 24 hours, then one per day for a month, then one per week as long as there's room.

     

    The one it deleted was over 24 hours old: 2011-06-29-074504

Previous Page 2 of 8 last Next