Yosemite Server Time Machine Issue with Mavericks Clients

Hey All


I am have a very strange error at two of my customers locations, they both have freshly installed Yosemite machines running the latest version of Server.app, attached to each is an external storage device (Drobo Raid in case one, and a OWC Thunderbold Multi-bay in case two). When attempting to run a Time Machine backup from a client that is also running Yosemite the backup completes fine. When attempting to run a Time Machine backup from a Mavericks, or Mountain Lion client the backup will fail with the following error, "The network backup disk could not be accessed because there was a problem with the network username or password." at first I though it was something simple like I put the wrong username or password in, or the user does not have the right setting to access the Time Machine backup drive, but these are just not the case, I am about to pull my hair out. I am wondering if, and this might sound like a silly question, but does Yosemite Server.app allow for Time Machine backups from pervious versions of the Mac OS?

If anyone can help me with this it would be greatly apprecated, I consider myself a Google warrior and I haven't found anyone who has had a similar issue or a fix for it.

Thanks in advance


Cheers,

Ryan

Mac mini, OS X Yosemite (10.10.2), Latest Version of Server.app

Posted on Feb 24, 2015 6:18 AM

Reply
3 replies

Apr 23, 2017 12:54 PM in response to Ryan Hayward

Thank you for posting this! I have a MacBook Pro running macOS Sierra (10.12) that I was trying to back up to a Time Machine server service running on OS X El Capitan (10.11). Unfortunately, I cannot upgrade the os on that server as it is running on a 2009 Mac Mini and does not support Sierra. I was beginning to think the os difference was going to force me to have to buy a new Mac Mini!


Fortunately, your method of logging in with "Firstname Lastname" (with capital first letters and a space between the two) instead of "firstnamelastname" (no space, no capitals) worked!

Feb 25, 2015 9:37 AM in response to Ryan Hayward

I finally figured it out


"Time Machine Server can be great. With enough storage, it’s easy to backup multiple Macs to a single location, leaving the worry about USB drives being stolen or Thunderbolt drives not being plugged in behind. With Mavericks Server OS X Server 3, Apple has improved the service with better disk space controls (as long as all clients are running Mavericks as well) in addition to an easy-to-use dashboard to see what clients are backing up when and how much space the backups are using.



Time Machine isn’t the perfect backup tool, and Time Machine server isn’t a perfect group backup solution, but it works well enough. However, I recently came across a bug with how it authenticates that surprised me.



In short, Time Machine on the local Mac will fail to connect, even if the Mac already knows the user name and password.



When you select a Time Machine Server disk that is shared from a known server, OS X will auto-populate the window with information from Keychain Access:







Usually, Time Machine will accept the credentials and allow the initial backup to begin after the customary 120 second wait time.



With OS X Mavericks, however, I have seen several machines accept the user name and password only to fail while connecting, showing a pop up a box with this dialogue:"


http://www.512pixels.net/blog/2013/11/time-machine-server-errors



The network backup volume could not be mounted because there was a problem with the network username or password. Open System Preferences and choose Time Machine then re-select the Time Machine backup destination to enter the correct username and password.



Of course, that’s a terrible error message. It doesn’t say anything helpful about the problem, it’s suggestion is to simply repeat what the user just did.



This 2012 Apple Support document gave me a clue what was going on, but the System Keychain entry for the Time Machine server was correct on these machines. Deleting the entries and re-trying didn't solve the issue, either, as many in Apple's Support Communities implied.



When save a user name and password for a server are saved in Finder, the login keychain learns it and provides it when needed. However, Time Machine requires a System keychain item, as Time Machine works across users. When the above dialog box is shown, OS X is creating a new System keychain item from the information it was presented by the user’s own login keychain.



This is where something is broken. On some machines, this transaction won’t take place, leaving Time Machine unable to connect.



To force Keychain Access to create a new entry and not attempt to copy the login keychain item, I ended up using the shortname for the users in question in Time Machine, and their standard, long name in Finder.



In our organization, the two names are the same, so I’ve given Time Machine the user name in the firstnamelastname format, as users won’t ever see that entry. In Finder, however, I stuck with Firstname Lastname as that is flashed when connecting to a server.



While I came across this with Time Machine Server as my destination, using a NAS or Time Capsule may expose the same flaw.



It’s crazy that this is broken in Mavericks. While I don’t know if the problem exists on other versions of OS X or OS X Server, using a different version of the username took care of it for me." ~ 512pixels.net

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Yosemite Server Time Machine Issue with Mavericks Clients

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.