You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
Use one of the following commands to restore your server:
If your server is local and stopped, type:
$ dsadm restore instance-path archive-dir |
For example, to restore a backup from a backup directory, type:
$ dsadm restore /local/ds/ local/ds/bak/2006_07_01_11_34_00 |
If your server is remote and running, type:
$ dsconf restore -h host -p port archive-dir |
For example, to restore a backup from a backup directory:
$ dsconf restore -h host1 -p 1389 /local/ds/bak/2006_07_01_11_34_00 |
For more information about these commands, see the dsadm(1M) and dsconf(1M) man pages.