Using Backup/Restore to Set Up Replicas
The NIS+ backup and restore features can be used to quickly down load
NIS+ data on to a new replica server. For large namespaces this is much faster
than nisping to obtain data from the master server.
To use nisbackup and nisrestore
to set up a new replica, perform the following:
-
Run nisserver on the master to create the new replica.
-
Kill rpc.nisd on the new replica server.
This interrupts the automatic transfer for namespace data from the master
to the replica using the nisping command.
-
Run nisbackup on the master server.
-
Run nisrestore on the new replica to down load the
NIS+ data.
-
Restart rpc.nisd on the new replica.