Specifications
Chapter 9 Maintaining Open Directory Services 197
Restoring an Open Directory Master
You can use Server Admin or the slapconfig command-line tool to restore an
Open Directory master’s directory and authentication data from an archive.
If you use Server Admin, you can restore to a server that is an Open Directory master.
The following les are restored by merging the archive with the existing master:
LDAP directory database and conguration les Â
Open Directory password server database Â
Kerberos database and conguration les Â
If conicts are encountered during the merge operation, the existing record takes
precedence over the one in the archive. The archive record is ignored. Conicts are
recorded in the slapcong log le (/Library/Logs/slapcong.log), which you can view
using Server Admin. See “Viewing Open Directory Status and Logs” on page 181.
Important: If you have an archive of a Mac OS X v10.4 Open Directory server you can
only restore it to a Mac OS X v10.5 or later server. You cannot merge a Mac OS X v10.4
archive into a Mac OS X v10.5 or later Open Directory server.
Instead of restoring an Open Directory master from an archive, you might get better
results by promoting a replica to be the master. The replica might have more recent
directory and authentication data than the archive.
After restoring an Open Directory master from an archive, you must recreate your
Open Directory replicas.
Important: Don’t restore an archive as a means of porting directory and
authentication data from one system to another. Instead, export from the source
directory and import to the target directory. For more information about exporting
and importing directory data, see User Management.
To merge an archive with an existing Open Directory master:
1 Open Server Admin and connect to the Open Directory master server.
The target server must have the same Kerberos realm name as the master that the
archive was created from.
2 Click the triangle at the left of the server.
The list of services appears.
3 From the expanded Servers list, select Open Directory.
4 Click Archive.
5 In the Restore from eld, enter the path to the Open Directory archive le, then click
the Restore button.
You can enter the path or click Choose to select the archive le.