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

Using NIS+ 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:

ProcedureHow to Use NIS+ Backup/Restore to Set Up Replicas

  1. Run nisserver on the master to create the new replica.

  2. Stop the NIS+ service on the new replica server.

    Use svcadm disable. This interrupts the automatic transfer for namespace data from the master to the replica using the nisping command.

  3. Run nisbackup on the master server.

  4. Run nisrestore on the new replica to down load the NIS+ data.

  5. Restart the NIS+ service on the new replica.

    Use svcadm restart.