Appendix B. NetWorker UNIX Shell Commands

In addition to a graphical user interface (GUI), NetWorker has UNIX style commands.  These commands are entered from a UNIX shell to back up and recover data.  You must have access to a NetWorker server and your system must be configured as a NetWorker client in order to use these commands.

Both the save and recover commands can be run with arguments from the command line.  Refer to the save(1M) and recover(1M) reference pages for more information about saving and recovering data from the command line.

Enter the save command at the system prompt to back up data:

# save -s server pathname

Enter the recover command at the system prompt to recover data:

# recover -s server -c client pathname

Table of Recover Commands

The recover program provides an interface that allows you to browse files and control recovers.  When you enter the recover command, the NetWorker prompt appears.

Table B-1 shows recover program commands to enter at the NetWorker prompt.

Table B-1. NetWorker Recovery Commands

Command

Description

add filename

Add filename to the recover list.

cd dir

Change directory to dir.

changetime

Change the browse time of online index.

delete filename

Delete filename from the recover list.

dest

Verify destination directory for recovered files.

force

Overwrite existing files.

help or ?

Display list of recover program commands.

list

List the files in the recover list.

ls -f (or -lf) filename

List filename with file type information.

ls -l (or -ll) filename

List filename using long format.

ls filename

List filename.

noforce

Do not overwrite existing files.

nsrwatch

Monitor NetWorker server activity.

pwd

Display name of current directory.

quit

Exit the recover program.

recover

Start the recover program when entered at the system prompt; start the recovery when entered at the recover> prompt.

relocate dir

Specify new directory location for recovered files.

verbose

Toggle verbose or quiet mode for recover status messages.

versions filename

Display backup history of filename
filename
can be either a file or a directory.

volumes filename

List volumes needed to recover marked files
filename can be either a file or a directory.