MacOS – Trouble using Time Machine with SMB share in OSX El Capitan

macossmbsparsebundletime-machine

I'm having problems using and SMB share in my local network as a time machine destination.

I followed the tutorials widely available on the internet but in the end when I open the Time Machine app I get the error message:

Can't connect to a current Time Machine backup disk

I followed these steps:

  1. Created the sparse bundle
  2. Copied the sparse bundle to the smb share
  3. Double clicked in the sparse bundle to mount it
  4. Enabled ownership on the mounted sparse bundle
  5. Used tmutil to set the Time Machine destination as the mounted sparse bundle
  6. Opened Time Machine app.

I find this strange because I can perfectly access the sparse bundle via Finder or the terminal, and have write access:

enter image description here
enter image description here

I can't really find anything in the logs in the Console app to determine what is in fact the connection trouble. Can someone please guide me to the answer?

I'm using OSX 10.11 El Capitan.

Thanks

Best Answer

This is going to be a throughly unsatisfying answer, but it comes down to the fact that random network drives were not meant to be used as time machine backup targets.

I'd wager one of the things you did in your guide was to run a terminal command along the lines of:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Unsupported being the watchword here.

I've run into this exact problem myself, but only when backing up to network shares.

Usually what it takes to break Time Machine out of its funk is to completely disable it (toggling the switch to off in the preferences pane), unmount your network share, remount it, and then re-enable time machine. The system is smart enough to see that you already have backups in the bundle file and you won't lose any data.

Still - you're playing with your safety net. If the contents of your machine are super important, please pick up a time capsule so you don't wind up with a nasty surprise some day.

I've no idea what triggers this behavior - it appears to be completely random.