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

nisrestore Syntax

The nisrestore command uses the following syntax:


nisrestore [-fv][-a][-t] backupdir [directory_objects]

Where:

The nisrestore command takes the following options.

Table 21–2 Options for the nisrestore Command

Option 

Purpose 

-a

All. Restores all of the NIS+ directory objects contained in the backup directory. 

-f

Forces the restoration without validating that the server is listed in the directory object's serving list. This option must be used when restoring a root master server or if you get an “unable to lookup object” type of error. 

-v

Verbose mode. This mode provides additional information 

-t

This option lists all of the NIS+ directory objects stored in the backup directory. No restoration of objects takes place.