You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
You must create a Directory Proxy Server instance before starting the restore operation.
Stop the instance of Directory Proxy Server.
$ dpadm stop instance-path |
Restore the instance of Directory Proxy Server.
$ dpadm restore instance-path archive-dir |
If the instance path exists, the restore operation is performed silently. The configuration files and the certificates in the archive-dir directory replace those in the instance-path directory.
If the instance path does not exist, the restore operation fails.