The 8 most commonly used NetWorker commands
This short article provides a list of the eight most commonly used NetWorker commands. All of these commands are located in /usr/sbin/nsr with th exception of the
code>recover which is located in /usr/bin/nsr.
- nsrjb — The
nsrjbcommand manages jukeboxes for all NetWorker servers. The
nsrjbcommand, rather than nsrmm, should be used to label, load, and unload the volumes contained within a jukebox.
- nsrmm — The
nsrmmcommand provides a command-line interface to manage the media and devices (tapes, disks, and files) used by NetWoker servers.
- save —
savesaves files, including directories or entire filesystems, to the NetWorker server, see nsr(1m) man page.
- savegrp— The
savegrpcommand runs a group of NetWorker clients through the process of saving their filesystems (using save). The group of clients is selected by naming a NetWorker group. The
savegrpcommand is normally run automatically by nsrd, as specified by each group's nsr_group resource.
- recover —
recoverbrowses the saved file index and recovers selected files from the NetWorker system. The file index is created when files are saved with save. When in interactive mode (the default), the user is presented with a view of the index similar to a UNIX filesystem, and may move through the index to select and recover files or entire directories. In automatic mode (
-aoption), the files specified on the command line are recovered immediately and no browsing takes place.
- scanner — The
scannercommand directly reads NetWorker media, such as backup tapes or disks, to confirm the contents of a volume, to extract a save set from a volume, or to rebuild the NetWorker on-line indexes. When
scanneris invoked with no options or just
-v, the volume on the indicated device is opened for reading, scanned, and a table of contents is generated. The table of contents contains information about each save set found on the volume.
- mminfo — The
mminfocommand reports information about NetWorker's media and save sets. Without any options,
mminfodisplays information about the save sets that completed properly during the last twenty four hours, and are still contained in an on-line file index (browsable save sets). The following information is printed for each save set: the containing volume name, the client's name, the creation date, the size saved on that volume, the save set level, and the save set name.
- nsrinfo — The
nsrinfocommand is used to generate reports about the contents of a client's file index located in /nsr/index. Given a required NetWorker client name and no options,
nsrinfowill produce a report of all names of files and objects, one per line, in the backup name space for that client.