The nisrestore command uses the following syntax:
nisrestore [-fv][-a][-t] backupdir [directory_objects] |
Where:
Backupdir is the directory containing the backup files to be used to restore the NIS+ objects. For example, /var/master1_bakup.
Directory_objects are the NIS+ directory objects that you want to restore. For example, org_dir.doc.com. Multiple NIS+ directory objects can be listed separated by spaces. (If you run nisrestore with the -a option, you do not specify specific directory objects.)
The nisrestore command takes the following options:
Table 15-2 Options for the nisbackup 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. |