The nisbackup command uses the following syntax:
nisbackup [-v][-a] backupdir objects |
Where:
Backupdir is the target directory where the backup files are to be stored. For example, /var/master1_bakup.
Objects are the NIS+ directory objects that you want to back up. For example, org_dir.doc.com. Multiple NIS+ directory objects can be listed separated by spaces.
The nisbackup command takes the following options.
Table 21–1 Options for the nisbackup Command
Option |
Purpose |
---|---|
-v |
Verbose mode. This mode provides additional information |
-a |
All. Backs up all NIS+ directory objects that the server is master of. This includes any sub-domain directory objects that this server is the master for. Note that directory objects of subdomains that have their own master servers will not be backed up. |
The nisbackup command must be run on the master server for the NIS+ directory objects you are backing up.
When specifying NIS+ directory objects to be backed up, you can use full or partially qualified directory names.
When you back up multi-level directories, the backup files for lower level directories are automatically placed in subdirectories of the target backup directory.