nwrecover is an X Window System application. It is used to recover lost files that have been saved with NetWorker. If you are running in a non-X11 environment, recover(1m) can be used to recover files.
The server's name can be specified with the -s server argument. When no server is specified, nwrecover uses the server selection rules found in nsr(1m). When multiple NetWorker servers are accessible, they can be selected from within the nwrecover command. If path is specified, nwrecover will attempt to initialize the current selection to the given path. The default attempted selection if path is not specified is the current working directory.
If you are recovering files that were saved with Access Control Lists (ACLs), you need to be root or the file owner to recover the file. Files with an ACL have a trailing '+' (e.g., -rw-r--r--+) after the mode bits when viewing file details. See recover(1m) for more information about ACLs.
There are three basic steps to recover a lost file: (1) Browse NetWorker's index in the Recover window to find the lost file, (2) Mark the file for recovery by selecting its checkbox and (3) Start the recovery. In addition, there are recover commands for relocating recovered files (Relocate), finding past versions of a file (Versions), changing the browse time (Change Browse Time), and overwriting or renaming recovered files that are in conflict with existing files (Conflict Resolution).
Opening the Recover window connects the client to its file indexes maintained on the server. The entries in the index represent previously saved files and are organized exactly like the filesystem. The file index is created in the backup index namespace when files are saved with save(1m). If files are saved into an index-storing archive pool using nsrarchive(1m), the file index is created in the archive index namespace. nwrecover offers command for changing the index namespace being browsed (Recover Archived Files). To browse the index for another filesystem, enter the pathname in the Location field.
To browse the index: The tree view of entries shown in the Recover window allows you to browse through your files and directories. You may use the mouse to open a directory and display its contents.
To mark files: After you have located your files by browsing the index, mark the files you want to recover by selecting their checkboxes. Or, highlight a file and use the Mark command from the Selected menu to mark files.
To start the recovery: Select the Start recover command from the File menu. The Recover Options dialog box appears, where you indicate to NetWorker what to do when a conflict occurs between a recovered file and an existing file. You select whether to be prompted for each individual conflict or to select one global resolution for all conflicts. Then you indicate to NetWorker whether to Rename the recover file with a .R extension to preserve both files, to Discard the recover file and preserve the existing file, or to Overwrite the existing file to preserve the recover file as the only copy of the file.
Before starting the recovery, you have the option of relocating the recover files with the Relocate command. Enter the pathname of a new or existing directory in which to place your recovered files.
After you press OK in the Recover Options dialog box, the recover continues, and NetWorker automatically determines the media needed to complete the recovery, prompts the operator to mount the media, and executes the recovery. You can monitor the status of the recovery in the Recover Command window.
The Recover window also offers two commands for browsing the index in the past. Versions shows you the entire backup history for a file. Change Browse Time allows you to change the time at which you are viewing the on-line index.
A complete explanation of the nwrecover command can be found in the NetWorker Administrator's Guide.
The NetWorker Administrator's Guide