You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Backing up open directory on Mountain Lion

Hello all,


I've installed 10.8 Server and I am once again a bit concerned on the available features... While the features of 10.8 are a bit better than 10.7, I believe that they are far from those of 10.6. (Anyway, that's another story...)


My question has to do with the Server Admin tools, which don't seem to be available for 10.8 (and might never be from what I read...):


If I were to need to backup my Open Directory (LDAP) database, how should I proceed? With Server Admin, this is a simple task. And God knows that it saved my a** a few times in the past! Must I use a command-line task, or is there a tool somewhere to do this?


Thanks for anyone's insight!

OS X Mountain Lion

Posted on Jul 26, 2012 4:15 PM

Reply
22 replies

Apr 9, 2013 9:46 AM in response to quickthyme

I don't know where I got the script from and it doesn't have any copyright information so I suppose it's public domain.


I might have written it a long time ago or someone else did but I have been using it since at least Feb 8 2008 (the create time says so) and if I remember correctly, it came from a Flash drive from another company I worked for which had OD systems on 10.3 which I integrated into Windows NT/2000 domain controllers.


It might've been an edit from another script that does something similar, it's really a simple script. The problem with Apple Support Engineers is that you need to engage the older ones, the ones that have been around since 10.2-10.3 because back then, everything needed to be manually scripted.

Mar 5, 2014 4:15 AM in response to Blaidd Drwg

Hi

I do not know if you can help but I have time machine enabled and have backups. My Open Directory corrupted and I have been going all over the internet but I cannot see how to restore the OD from the backup. Do I have to do a full restore of the entire disk?


When I go into the Server App and turn on Open Directory it will let me go into the backup (under restore) but when I click 'continue' it opens the next branch of the directory. Once I get to file level everything is grayed out and cannot be selected.


Many thanks


Rob

Dec 11, 2014 11:21 AM in response to quickthyme

I realize this is an old thread, but I've been researching this lately myself on Mavericks Server. For the sake of others seeing this for the first time, I wanted to point out that the OD sparseimage backup that Time Machine creates and the OD archive you can create manually from Server App's Open Directory window both contain the two Kerberos files. I looked at them both today, and the file lists are identical. I guess Apple fixed this at some point.


I am running Server App 3.2.2 on Mavericks 10.9.5.

Backing up open directory on Mountain Lion

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