System Administration Guide: Naming and Directory Services (NIS+)

Using nisrestore

To restore NIS+ data from NIS+ backup files, use the nisrestore command.

For example, to restore the directory object on the replica1 server, you would log in as root on replica1, make sure that the prerequisites described in Prerequisites to Running nisrestore have been met and then run nisrestore as shown below:

replica1# nisrestore /var/master1_bakup

The following points apply to nisrestore: