

You can archive Open Directory data from the command line.

Via the server.app or via the command line. Per Apples own documentation the open directory master can be exported or archived 2 different ways. The process is pretty simple so Im just using this blog post as a form of documentation and education for those who are looking for a quick guide. All running on 10.9 server, however close to 90% of my user base is running on 10.10 so I decided that it would be beneficial for those users to authenticate against Yosemite’s server. In my environment I had 1 open directory master and 2 replicas. Once restored I realized the best option for me was to move from 10.10 server from 10.9.

In my case I was using it with Safety Net enabled and was able to restore the entire drive which took under an hour. If your not using Carbon Copy Cloner I highly recommend doing so its one of the best backup utilities for OSX Server as it runs in the background and can backup and clone multiple directories and or the entire hard drive. A few weeks ago I had an old 10.9 open directory master server crash on me and I was unable to restart, luckily I had a good backup of my server which I created using Carbon Copy Cloner on a schedule.
