JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Naming and Directory Services (NIS+)
search filter icon
search icon

Document Information


Part I About Naming and Directory Services

1.  Name Service Switch

Part II NIS+ Setup and Configuration

2.  NIS+: An Introduction

3.  NIS+ Setup Scripts

4.  Configuring NIS+ With Scripts

5.  Setting Up the NIS+ Root Domain

6.  Configuring NIS+ Clients

7.  Configuring NIS+ Servers

8.  Configuring an NIS+ Non-Root Domain

9.  Setting Up NIS+ Tables

Part III NIS+ Administration

10.  NIS+ Tables and Information

11.  NIS+ Security Overview

12.  Administering NIS+ Credentials

13.  Administering NIS+ Keys

14.  Administering Enhanced NIS+ Security Credentials

15.  Administering NIS+ Access Rights

16.  Administering NIS+ Passwords

17.  Administering NIS+ Groups

18.  Administering NIS+ Directories

19.  Administering NIS+ Tables

20.  NIS+ Server Use Customization

21.  NIS+ Backup and Restore

Backing Up Your NIS+ Namespace With nisbackup

nisbackup Syntax

What nisbackup Backs Up

NIS+ Backup Target Directory

Maintaining a Chronological Sequence of NIS+ Backups

Backing Up Specific NIS+ Directories

Backing Up an Entire NIS+ Namespace

NIS+ Backup Directory Structure

NIS+ Backup Files

Restoring Your NIS+ Namespace With nisrestore

Prerequisites to Running nisrestore

nisrestore Syntax

Using nisrestore

Using NIS+ Backup/Restore to Set Up Replicas

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

Replacing NIS+ Server Machines

How to Replace NIS+ Server Machines

22.  Removing NIS+

23.  Information in NIS+ Tables

24.  NIS+ Troubleshooting

A.  NIS+ Error Messages

About NIS+ Error Messages

Common NIS+ Namespace Error Messages

B.  Updates to NIS+ During the Solaris 10 Release

Solaris 10 and 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:

How 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.