Solaris Naming Administration Guide

Using nisrestore

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

For example, to restore the org_dir.doc.com. 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 org_dir.doc.com.

The following points apply to nisrestore:


master1# nisrestore -f -a /var/master1_bakup