jvandemo.com

How to fix slow Time Machine backups

Introduction

user

Jurgen Van de Moere

Follow @jvandemo

Mac OS X, 1 minute

How to fix slow Time Machine backups

Posted by Jurgen Van de Moere on .
Featured

Mac OS X, 1 minute

How to fix slow Time Machine backups

Posted by Jurgen Van de Moere on .

There are some serieus performance issues when using TimeMachine to backup your Mac over a network. In my case, an initial backup of 60 gigabytes took more than 3 days to complete.

Luckily, the problem can easily be fixed in three simple steps:

Step 1: Prevent .DS_Store file creation over network connections

Open terminal and run:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Learn more about this step

Step 2: Fix the OS X TCP stack

Edit /etc/sysctl.conf and add the following line:

net.inet.tcp.delayed_ack=2

[Learn more about this step](http://www.netafp.com/tn003-slow-afp-read-performance-90/

Step 3: Reboot

After rebooting, your TimeMachine backups should run a lot faster over the network. In my case it reduced the initial backup time from 3 days to less than 8 minutes!

So if your TimeMachine backups are slow, give it a try and let me know if it worked...

user

Jurgen Van de Moere

Front-end architect at The Force. Gymnast. Dad. Family man. Creator of Angular Express.